Skip to content

fix(ci): validate frozen release candidates faithfully - #116357

Merged
RomneyDa merged 1 commit into
mainfrom
fix/frozen-candidate-release-validation
Jul 30, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/frozen-candidate-release-validation

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where the Full Release Validation could reject an otherwise frozen release candidate because trusted release infrastructure either ran legacy live-only QA scenarios with a mock provider or treated legacy statusless QA cells as failures. It also ran public installer smoke against the moving npm beta channel, rather than the unpublished candidate artifact.

Why This Change Was Made

The trusted harness now selects only the legacy QA tier eligible for the mock provider, derives a passing status only when an older result omitted that derived field and its runtime evidence is passable, and keeps public installer smoke selectable for post-publish verification instead of pre-publish candidate gating. Package-backed Docker checks remain in the frozen-candidate matrix.

User Impact

Release operators get validation evidence for the actual candidate SHA rather than failures caused by newer public beta packages or incompatible trusted-harness assumptions. The public installer lanes remain available for an explicit post-publish run.

Evidence

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: S maintainer Maintainer-authored PR labels Jul 30, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 6:47 AM ET / 10:47 UTC.

ClawSweeper review

What this changes

The branch removes public npm installer smoke from frozen-candidate release matrices, keeps it selectable separately, restricts legacy mock QA to the standard tier, and accepts older passing runtime-pair cells that lack a serialized status.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open for release-owner review. The patch is a focused correction to candidate-validation selection, but it deliberately changes which package-install paths gate a frozen release candidate and needs explicit confirmation that the retained candidate checks plus an explicit post-publish installer run meet the release contract.

Priority: P2
Reviewed head: a6a8ddedde475711be1b97ddcb9f8106cc47f409
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused, regression-tested, and free of a concrete line-level defect, with one release-policy confirmation still needed before merge.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored automation PR is outside the external-contributor proof gate; the PR body supplies focused test and boundary-check results as supplemental evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored automation PR is outside the external-contributor proof gate; the PR body supplies focused test and boundary-check results as supplemental evidence.
Evidence reviewed 6 items Mock-runtime fallback: The fallback for an older candidate without runtime-pair lanes now selects only the standard tier, with an in-code explanation that live-only scenarios require a live provider and cannot run in the mock core lane.
Legacy report compatibility is narrow: A missing cell status is accepted only when the field is absent and the existing runtime evidence projects a passing status; an explicit failing status still cannot pass.
Installer lanes leave candidate chunks: The OpenAI and Anthropic public-installer lanes move into exported public installer lanes, while the frozen release-path chunk list retains package-update checks instead of the installer smoke lanes.
Findings None None.
Security None None.

How this fits together

Full Release Validation plans Docker lanes and runtime-pair QA around a frozen candidate SHA and package artifact. Its results determine whether release operators can trust candidate evidence before publication and which smoke checks run after publication.

flowchart LR
  Candidate["Frozen release candidate"] --> Matrix["Release workflow matrix"]
  Matrix --> Docker["Candidate Docker lanes"]
  Matrix --> QA["Runtime-pair QA"]
  Docker --> Evidence["Release evidence"]
  QA --> Evidence
  Evidence --> Publish["Release operator decision"]
  Publish --> PostPublish["Public installer smoke"]
Loading

Decision needed

Question Recommendation
Do the retained package-update lanes cover every pre-publish candidate-installable contract, and where is the mandatory post-publish invocation of the two public installer smoke lanes defined? Confirm the split: Confirm that candidate package-update lanes are sufficient before publish and name the post-publish workflow or command that runs both public installer lanes.

Why: The code makes a deliberate release-gating boundary change; source alone cannot establish which validation obligations release owners intend to require before versus after publication.

Before merge

  • Resolve merge risk (P1) - Merging intentionally removes two public installer smoke lanes from frozen-candidate gating; if package-update coverage does not exercise every required candidate-installable path or no post-publish job invokes the exported lanes, releases could lose coverage without an obvious workflow failure.
Agent review details

Security

None.

PR surface

Tests +5, Config +1, Other +16. Total +22 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 34 29 +5
Docs 0 0 0 0
Config 1 4 3 +1
Generated 0 0 0 0
Other 6 48 32 +16
Total 11 86 64 +22

Review metrics

None.

Stored data model

Persistent data-model change detected: vector/embedding metadata: scripts/plan-release-workflow-matrix.mjs. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Confirm release coverage (recommended)
    Approve the candidate-versus-post-publish split only after naming the retained pre-publish coverage and the explicit post-publish installer-smoke invocation.
  2. Keep installer smoke in the candidate gate
    Restore the affected installer lanes to the frozen-candidate matrix if release policy requires public installer verification before publish.

Technical review

Best possible solution:

Keep frozen-candidate validation tied to the candidate artifact, retain package-backed candidate checks, and make the post-publish public-installer smoke invocation explicit in the release procedure or workflow.

Do we have a high-confidence way to reproduce the issue?

No high-confidence independent replay was performed in this read-only review. The supplied failed release run and the planner/workflow paths make the reported mismatch source-reproducible, but the after-fix frozen-candidate run is not attached here.

Is this the best way to solve the issue?

Unclear: the implementation is narrow and avoids validating a moving npm beta as though it were the frozen candidate, but release owners must confirm the replacement candidate coverage and the post-publish installer path before it is the best solution.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against f1ee2a3098f6.

Labels

Label justifications:

  • P2: This affects release-operator validation fidelity and can alter release confidence, but the supplied evidence does not show a current end-user outage.
  • merge-risk: 🚨 automation: The patch changes release workflow lane selection and legacy QA-result acceptance, so a successful CI run alone cannot confirm the intended release-coverage boundary.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored automation PR is outside the external-contributor proof gate; the PR body supplies focused test and boundary-check results as supplemental evidence.

Evidence

What I checked:

  • Mock-runtime fallback: The fallback for an older candidate without runtime-pair lanes now selects only the standard tier, with an in-code explanation that live-only scenarios require a live provider and cannot run in the mock core lane. (.github/workflows/openclaw-release-checks.yml:1273, a6a8ddedde47)
  • Legacy report compatibility is narrow: A missing cell status is accepted only when the field is absent and the existing runtime evidence projects a passing status; an explicit failing status still cannot pass. (scripts/validate-qa-runtime-pair-summary.mjs:100, a6a8ddedde47)
  • Installer lanes leave candidate chunks: The OpenAI and Anthropic public-installer lanes move into exported public installer lanes, while the frozen release-path chunk list retains package-update checks instead of the installer smoke lanes. (scripts/lib/docker-e2e-scenarios.mjs:784, a6a8ddedde47)
  • Explicit selection remains available: The Docker planner includes public installer lanes in name lookup and general plan resolution, preserving a selectable path outside the release matrix. (scripts/lib/docker-e2e-plan.mjs:529, a6a8ddedde47)
  • Focused regression coverage: The branch updates workflow, matrix, planner, Docker-boundary, and runtime-pair summary tests to assert the changed boundary and legacy-status behavior. (test/scripts/release-workflow-matrix-plan.test.ts:79, a6a8ddedde47)
  • Prior review continuity: The previous completed ClawSweeper cycle found no line-level defect and asked release owners to confirm that the retained candidate paths and the post-publish installer invocation cover the intended contract; the current head retains that decision surface. (b4a62b92e498)

Likely related people:

  • RomneyDa: Authored the current focused release-validation change and the supplied PR evidence identifies the intended candidate-versus-post-publish boundary. (role: recent release-validation contributor; confidence: medium; commits: a6a8ddedde47; files: scripts/lib/docker-e2e-scenarios.mjs, .github/workflows/openclaw-release-checks.yml, scripts/validate-qa-runtime-pair-summary.mjs)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Have release owners confirm the exact pre-publish candidate coverage and the explicit post-publish public-installer smoke path.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-07-30T10:31:09.905Z sha b4a62b9 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the fix/frozen-candidate-release-validation branch from b4a62b9 to a6a8dde Compare July 30, 2026 10:42
@RomneyDa
RomneyDa merged commit c854a04 into main Jul 30, 2026
104 checks passed
@RomneyDa
RomneyDa deleted the fix/frozen-candidate-release-validation branch July 30, 2026 10:57
vincentkoc added a commit that referenced this pull request Jul 30, 2026
* origin/main: (99 commits)
  docs(automation): rename scheduled-tasks feature wording to Automations (#114855)
  feat(ui): finish cron -> Automations rename in visible strings (#114853)
  feat(cli): add openclaw automations alias and reword cron display prose (#114854)
  feat(agents): rename scheduler agent tool cron -> automations (#114841)
  fix(tui): preserve session state across switches and reconnects (#116399)
  feat(agents): report CLI command outcomes in channel progress
  fix(cli): preserve explicit option intent (#116389)
  fix(release): trust update restart harness (#116301)
  test(reef): remove false-green live guard smoke (#116393)
  test(comfy): evaluate live guards after setup (#116388)
  fix(heartbeat): serialize wake lifecycle state (#116351)
  test: remove redundant extension boundary wrapper (#116385)
  fix(test): bound Testbox agentic and extension suites (#115696)
  fix(ui): show the correct Threads page size (#116349)
  test(discord): align progress timing expectations (#116377)
  feat(ui): add composable skill references (#116330)
  fix(qa): prevent Slack cleanup from stalling profile runs (#116361)
  fix(ci): validate frozen release candidates faithfully (#116357)
  improve(ci): fail_fast option for release validation, off by default (#116352)
  fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant