Repository navigation
fix(release): harden frozen target validation - #108296
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 076b7b9f00
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| allow_frozen_target_scenario_omissions: | ||
| description: Trusted opt-in to omit survivor scenarios absent from a canonical frozen target | ||
| required: false | ||
| default: false | ||
| type: boolean |
There was a problem hiding this comment.
Declare the opt-in for workflow_call callers
This adds allow_frozen_target_scenario_omissions only under workflow_dispatch, but openclaw-release-checks.yml now passes the same key when it calls this workflow as a reusable workflow from the live and Docker release-check jobs. Since on.workflow_call.inputs does not declare it (checked the reusable input block below), GitHub rejects those release-check jobs as an unknown reusable-workflow input before the new frozen-target validation can run. Mirror this input under workflow_call.inputs as well.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd2cf60cf9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if [[ -n "${TARGET_CONTEXT_REF// }" ]]; then | ||
| args+=(-f allow_frozen_target_scenario_omissions=true) | ||
| fi |
There was a problem hiding this comment.
Pass the omission opt-in for direct frozen refs
When Full Release Validation is dispatched directly with a historical tag or release ref (the workflow input supports branch/tag/SHA, and this workflow already special-cases $TARGET_REF historical tags for the CI child), TARGET_CONTEXT_REF stays empty, so this branch does not pass allow_frozen_target_scenario_omissions to OpenClaw Release Checks. The new Docker scheduler now fails closed whenever current reported-issue survivor scenarios are filtered out by that frozen target, so documented direct tag/release-branch validations can still fail even though they are the same trusted frozen-target case; include direct canonical frozen refs in this opt-in or expose/pass an explicit input.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd2cf60cf9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -3,6 +3,7 @@ | |||
| // lane plan. It intentionally does not define scenario commands. | |||
| import { existsSync, readFileSync } from "node:fs"; | |||
| import { resolve } from "node:path"; | |||
| import ts from "typescript"; | |||
There was a problem hiding this comment.
Install dependencies before loading the planner
When prepare_docker_e2e_image runs, the Plan Docker E2E images step has only checked out the selected ref and .release-harness; its Setup Node environment step is later and conditional on steps.plan.outputs.needs_package, so a clean Actions runner has no node_modules yet. This new top-level typescript import therefore makes node .release-harness/scripts/test-docker-all.mjs --plan-json fail with module resolution before any Docker release/OpenWebUI image planning can complete; move the dependency-free parsing into the workflow after setup or ensure setup/install runs before every harness planner invocation.
Useful? React with 👍 / 👎.
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
fd2cf60 to
6ecd42a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ecd42aecb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml | ||
| with: | ||
| advisory: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }} | ||
| allow_frozen_target_scenario_omissions: ${{ inputs.allow_frozen_target_scenario_omissions }} |
There was a problem hiding this comment.
Forward the frozen omission opt-in through package acceptance
When release checks are run with allow_frozen_target_scenario_omissions set, these direct live/Docker jobs get the opt-in, but package_acceptance_release_checks below still passes the soak published_upgrade_survivor_scenarios: ... 'reported-issues' into Package Acceptance, whose docker_acceptance job calls openclaw-live-and-e2e-checks-reusable.yml without any matching input (checked .github/workflows/package-acceptance.yml:793-816). For a frozen target missing any current survivor scenario, that child planner hits the new fail-closed omission check and fails package acceptance, so full/stable release validation remains blocked; add and forward the same opt-in through Package Acceptance as well.
Useful? React with 👍 / 👎.
|
Land-ready at exact head Proof:
No known proof gaps for this workflow/tooling-only change. Contributor credit remains preserved in every follow-up commit. |
|
Merged via squash.
|
* fix(release): harden frozen scenario planning Co-authored-by: Dallin Romney <[email protected]> * fix(release): omit unsupported scenario-only lanes Co-authored-by: Dallin Romney <[email protected]> * fix(release): fail closed on malformed target scenarios Co-authored-by: Dallin Romney <[email protected]> * fix(release): report unsupported frozen lanes Co-authored-by: Dallin Romney <[email protected]> * fix(release): defer frozen survivor inspection Co-authored-by: Dallin Romney <[email protected]> * fix(release): report partial survivor omissions Co-authored-by: Dallin Romney <[email protected]> * fix(ci): fetch shard fallback from workflow commit Co-authored-by: Dallin Romney <[email protected]> * fix(release): gate frozen scenario omissions Co-authored-by: Dallin Romney <[email protected]> * test(release): auto-clean frozen target temp dirs Co-authored-by: Dallin Romney <[email protected]> * fix(ci): satisfy frozen validation workflow lint Co-authored-by: Dallin Romney <[email protected]> --------- Co-authored-by: Dallin Romney <[email protected]>
* fix(release): harden frozen scenario planning Co-authored-by: Dallin Romney <[email protected]> * fix(release): omit unsupported scenario-only lanes Co-authored-by: Dallin Romney <[email protected]> * fix(release): fail closed on malformed target scenarios Co-authored-by: Dallin Romney <[email protected]> * fix(release): report unsupported frozen lanes Co-authored-by: Dallin Romney <[email protected]> * fix(release): defer frozen survivor inspection Co-authored-by: Dallin Romney <[email protected]> * fix(release): report partial survivor omissions Co-authored-by: Dallin Romney <[email protected]> * fix(ci): fetch shard fallback from workflow commit Co-authored-by: Dallin Romney <[email protected]> * fix(release): gate frozen scenario omissions Co-authored-by: Dallin Romney <[email protected]> * test(release): auto-clean frozen target temp dirs Co-authored-by: Dallin Romney <[email protected]> * fix(ci): satisfy frozen validation workflow lint Co-authored-by: Dallin Romney <[email protected]> --------- Co-authored-by: Dallin Romney <[email protected]>
What Problem This Solves
Follow-up to #108189. The frozen-target validation path can still false-green when an older target omits requested upgrade-survivor scenarios, exposes a malformed scenario declaration, or lacks a scenario-only lane. The current CI shard fallback also derives its runner from caller context instead of the workflow commit that defines the job.
Why This Change Was Made
User Impact
Release validation remains compatible with older supported targets, but candidate-controlled omissions and malformed target contracts can no longer silently turn required release proof green.
Evidence