Skip to content

release/ci: Split verify from publish - #49261

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-split-verify
Nov 14, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-split-verify

Conversation

@phlax

@phlax phlax commented Nov 14, 2026

Copy link
Copy Markdown
Member

Verify now runs in its own workflow, on the completion of Envoy/Publish, with its own verify check, instead of as the last job of "Publish & verify". It can be rerun on its own, and dispatched for a completed Envoy/Publish run (publish-run-id), eg to develop the verify jobs from a branch, against the artifacts of that run, without a new build.

A workflow triggered by workflow_run on another workflow_run workflow only sees that run, which GitHub records against the default branch, and nothing records what triggered it. Envoy/Publish saves the id of its request run as an artifact (_load.yml save-request). Envoy/Verify (runs-after) loads the environment from that request run, which toolshed env/load only accepts from a trusted request, and checks that it is the request of the Envoy/Publish run that triggered it: the request's commit must have a check that Envoy/Publish updated, with the app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish run (downloads-run-id, passed to the toolshed run action), and groups its concurrency by that run, since every Envoy/Publish run looks like a run on main.

Release branches (whose config has no verify check) still run the verify jobs, but their result is not reported on a check until their config adds one.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The reporting job can call _finish.yml with a null check when verification runs without a configured check, risking workflow failure or updates to an unrelated check unless reporting is gated on check.action == 'RUN'.

1 open issue
What changed in this PR

Separates artifact verification from publishing so Envoy’s CI can rerun verification against an existing publish run without rebuilding.

Changes:

  • Adds an independently triggered and manually dispatchable verification workflow with a dedicated check.
  • Saves the originating request ID and validates its association with the publish run.
  • Passes the publish run ID through reusable workflows for artifact downloads.
File Description
.github/​workflows/​envoy-verify.yml Adds standalone verification, run-based concurrency, and check reporting.
.github/​workflows/​envoy-publish.yml Removes verification jobs and saves the request ID for downstream use.
.github/​workflows/​_run.yml Forwards the artifact download run ID to the toolshed action.
.github/​workflows/​_publish_verify.yml Passes the artifact source run ID to verification jobs.
.github/​workflows/​_load.yml Saves and loads request IDs and validates publish-to-request association.
.github/​config.yml Separates publish and verify check definitions.

Review effort: Balanced

Comment thread .github/workflows/envoy-verify.yml Resolved
@phlax
phlax requested a balanced review from Copilot and removed request for agrawroh and jwendell November 14, 2026 12:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The privileged workflow_run provenance chain needs human validation with actual GitHub runs across dispatch, reruns, and checkless release branches because it relies on artifact-derived request IDs and mutable check external_ids.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run` workflow
only sees that run, which GitHub records against the default branch, and
nothing records what triggered it. Envoy/Publish saves the id of its
request run as an artifact (`_load.yml` `save-request`). Envoy/Verify
(`runs-after`) loads the environment from that request run, which toolshed
env/load only accepts from a trusted request, and checks that it is the
request of the Envoy/Publish run that triggered it: the request's commit
must have a check that Envoy/Publish updated, with the app token, for that
run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish run
(`downloads-run-id`, passed to the toolshed run action), and groups its
concurrency by that run, since every Envoy/Publish run looks like a run on
main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax merged commit ff74b6e into envoyproxy:main Nov 14, 2026
25 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Signed-off-by: Ryan Northey <[email protected]>
Backport note: the new toolshed action steps use the branch's actions-v0.4.29
(`artifact/download` is unchanged since).

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Signed-off-by: Ryan Northey <[email protected]>
Backport note: the new toolshed action steps use the branch's actions-v0.4.29
(`artifact/download` is unchanged since).

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 16, 2026
…49290)

Since verify was separated from publish (#49261), the `verify` run paths
include `.github/workflows/envoy-publish.yml` and
`.github/workflows/_publish_verify.yml`, but the `release` ones include
no workflows. A PR that changes only those (eg #49287) runs Verify
without the release jobs, so signing is skipped and `verify_distro`
fails: `Artifact not found for name: release.signed`.

`release` now includes the publishing workflows (`_publish_*.yml`,
`envoy-publish.yml`, `envoy-verify.yml`), so it covers every path of
`verify`, and a change to the release jobs runs them. Paths are matched
with `minimatch`.

The request reads the run config from the target branch, so this takes
effect for PRs once it lands.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Signed-off-by: Ryan Northey <[email protected]>
Backport note: the new toolshed action steps use the branch's actions-v0.4.29
(`artifact/download` is unchanged since).

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
Verify now runs in its own workflow, on the completion of Envoy/Publish,
with its own `verify` check, instead of as the last job of "Publish &
verify". It can be rerun on its own, and dispatched for a completed
Envoy/Publish run (`publish-run-id`), eg to develop the verify jobs from
a branch, against the artifacts of that run, without a new build.

A workflow triggered by `workflow_run` on another `workflow_run`
workflow only sees that run, which GitHub records against the default
branch, and nothing records what triggered it. Envoy/Publish saves the
id of its request run as an artifact (`_load.yml` `save-request`).
Envoy/Verify (`runs-after`) loads the environment from that request run,
which toolshed env/load only accepts from a trusted request, and checks
that it is the request of the Envoy/Publish run that triggered it: the
request's commit must have a check that Envoy/Publish updated, with the
app token, for that run.

Envoy/Verify runs its jobs against the artifacts of the Envoy/Publish
run (`downloads-run-id`, passed to the toolshed run action), and groups
its concurrency by that run, since every Envoy/Publish run looks like a
run on main.

Release branches (whose config has no `verify` check) still run the
verify jobs, but their result is not reported on a check until their
config adds one.

Backport note: only the `.github/config.yml` change (the `Envoy/Verify`
check). The workflows run from `main` for every branch, so the branch
workflow changes are left out.

(cherry picked from commit ff74b6e)
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 478df7b)
Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants