Skip to content

fix(release): stabilize beta validation and completion - #114396

Merged
steipete merged 7 commits into
mainfrom
fix/forward-port-2026.7.2-beta.5-release-gates
Jul 27, 2026
Merged

steipete merged 7 commits into
mainfrom
fix/forward-port-2026.7.2-beta.5-release-gates

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves release validation failures that blocked the 2026.7.2 beta train: stale generated docs mapping, non-canonical auth fixtures, a provider-test timeout, cross-test secrets state leakage, and the SHA-pinned validation helper crashing after a successful run.

Why This Change Was Made

This forward-ports the release-branch fixes to main, preserving main's stronger locked-profile assertion while moving the secrets regression onto the canonical isolated test-state helper. The release helper now returns the completed workflow object it already fetched, so successful validation can proceed to evidence verification and cleanup.

AI-assisted: yes.

User Impact

No direct runtime product behavior changes. Release operators get deterministic beta validation and successful SHA-helper completion instead of false failures and leaked temporary refs.

Evidence

  • PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs src/secrets/runtime.auth-migration-isolation.test.ts
  • CI=true PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs run --config test/vitest/vitest.secrets.config.ts — 69 files, 710 tests
  • PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs extensions/migrate-hermes/secrets.test.ts
  • PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs extensions/openai/video-generation-provider.test.ts
  • PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs extensions/xai/stream.test.ts
  • PATH="/opt/homebrew/opt/node@24/bin:$PATH" /opt/homebrew/opt/node@24/bin/node scripts/run-vitest.mjs test/scripts/full-release-validation-at-sha.test.ts — 14 tests
  • git diff --check
  • Autoreview: clean, no accepted/actionable findings

@steipete
steipete requested a review from a team as a code owner July 27, 2026 06:59
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts extensions: openai plugin: migrate-hermes extensions: xai size: M maintainer Maintainer-authored PR labels Jul 27, 2026
@steipete steipete self-assigned this Jul 27, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the docs Improvements or additions to documentation label Jul 27, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 27, 2026, 3:28 AM ET / 07:28 UTC.

ClawSweeper review

What this changes

This PR forwards beta-release validation fixes to main, updating auth-store test fixtures and isolation, extending an xAI test timeout, refreshing generated documentation metadata, and returning the completed workflow result from the SHA validation helper.

Merge readiness

⛔ Blocked until real behavior proof is added - 4 items remain

Keep this PR open for the release owner’s normal merge decision. The focused patch plausibly repairs the completed-workflow object flow and refreshes tests onto the canonical auth-store path, but the requested live SHA-helper proof remains intentionally deferred until after landing; the protected maintainer label also requires explicit human handling rather than cleanup automation.

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

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and its automated validation is credible, but the required real release-workflow evidence is still absent.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR supplies focused automated-test commands and a source-level regression assertion, but no direct after-fix completed SHA-helper run; the author states that redacted real workflow proof will occur after landing and before beta publication. Any posted evidence should redact tokens, private endpoints, IP addresses, and other release-sensitive data. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR supplies focused automated-test commands and a source-level regression assertion, but no direct after-fix completed SHA-helper run; the author states that redacted real workflow proof will occur after landing and before beta publication. Any posted evidence should redact tokens, private endpoints, IP addresses, and other release-sensitive data. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 4 items PR intent and focused proof: The PR body identifies a prior success-then-crash path in the SHA-pinned helper and lists focused release-helper, secrets, migration, OpenAI, and xAI test commands; it does not include direct after-fix live workflow output.
Completed-run repair: The submitted diff changes the successful completion branch from returning no value to returning the fetched completed workflow object, matching the stated need for later evidence verification and cleanup to receive that object.
Release-owner workflow context: The PR discussion states that a live SHA-helper run is deliberately scheduled after landing against the actual rebased beta candidate because running it before merge would execute unlanded workflow code and duplicate the serialized release matrix; it explicitly says this is not a waiver of the beta-validation gate.
Findings None None.
Security None None.

How this fits together

The release-validation helper dispatches and waits for a SHA-pinned GitHub workflow, then uses the completed workflow record to verify release evidence and clean up temporary state. Its regression tests sit alongside auth-profile storage and provider test suites that must remain isolated while release validation runs.

flowchart LR
  A[Release candidate SHA] --> B[SHA validation helper]
  B --> C[GitHub workflow run]
  C --> D[Completed workflow result]
  D --> E[Evidence verification]
  E --> F[Temporary-state cleanup]
Loading

Decision needed

Question Recommendation
Should this beta-recovery PR be allowed to land before its live SHA-helper validation, with the release train remaining blocked until that redacted post-land validation succeeds? Accept the post-land validation sequence: Merge after the exact head and required checks are accepted, then require the planned redacted workflow proof before unblocking beta publication.

Why: The patch’s test evidence supports the source-level return-value repair, but the author intentionally defers the only real workflow proof to avoid running unlanded workflow code and duplicating the serialized release matrix; that sequencing is a release-owner policy choice.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR supplies focused automated-test commands and a source-level regression assertion, but no direct after-fix completed SHA-helper run; the author states that redacted real workflow proof will occur after landing and before beta publication. Any posted evidence should redact tokens, private endpoints, IP addresses, and other release-sensitive data. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - The SHA-helper controls release validation evidence and cleanup; despite the targeted code change, the PR has no direct after-fix live completed-workflow proof yet. The author’s stated post-land proof plan is a release-owner workflow choice that needs explicit maintainer acceptance before merge.
  • Resolve merge risk (P1) - Several required hosted checks were still running in the supplied state, so merge readiness should be refreshed against the exact head.
Agent review details

Security

None.

PR surface

Tests +30, Other 0. Total +30 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 5 114 84 +30
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 6 115 85 +30

Review metrics

Metric Value Why it matters
Release-helper contract 1 return-value change, 1 regression assertion added The helper’s success path now provides the completed workflow record required by downstream verification and cleanup.

Stored data model

Persistent data-model change detected: serialized state: extensions/migrate-hermes/secrets.test.ts, serialized state: extensions/openai/video-generation-provider.test.ts. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Merge-risk options

Maintainer options:

  1. Gate beta publication on post-land proof (recommended)
    Accept the targeted code repair only with the release train still blocked until redacted live output proves completed workflow verification and cleanup on the landed helper.
  2. Hold for a pre-merge proof design
    Pause this PR if maintainers do not accept post-land validation as the first safe real-workflow execution path.

Technical review

Best possible solution:

Land only if the release owner accepts the post-land validation sequence, then capture redacted evidence that the landed helper receives a successful completed workflow, verifies evidence, and completes cleanup before beta publication proceeds.

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

No high-confidence live reproduction is attached. The source-level path is clear from the successful workflow branch previously returning no completed-run object, but the required end-to-end release workflow evidence is deferred until post-land.

Is this the best way to solve the issue?

Unclear: returning the already-fetched completed workflow object is the narrowest apparent repair, but whether post-land live validation is the best proof sequence requires release-owner approval.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🧂 unranked krab, so this older rating label is no longer current.

Label justifications:

  • P2: The change addresses beta-release operator automation failures without changing normal end-user runtime behavior.
  • merge-risk: 🚨 automation: A regression in the SHA validation helper can block release evidence verification or leave temporary release state behind.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR supplies focused automated-test commands and a source-level regression assertion, but no direct after-fix completed SHA-helper run; the author states that redacted real workflow proof will occur after landing and before beta publication. Any posted evidence should redact tokens, private endpoints, IP addresses, and other release-sensitive data. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • PR intent and focused proof: The PR body identifies a prior success-then-crash path in the SHA-pinned helper and lists focused release-helper, secrets, migration, OpenAI, and xAI test commands; it does not include direct after-fix live workflow output. (scripts/full-release-validation-at-sha.mjs:299, c009a70a671b)
  • Completed-run repair: The submitted diff changes the successful completion branch from returning no value to returning the fetched completed workflow object, matching the stated need for later evidence verification and cleanup to receive that object. (scripts/full-release-validation-at-sha.mjs:299, 3904aed246f6)
  • Release-owner workflow context: The PR discussion states that a live SHA-helper run is deliberately scheduled after landing against the actual rebased beta candidate because running it before merge would execute unlanded workflow code and duplicate the serialized release matrix; it explicitly says this is not a waiver of the beta-validation gate. (c009a70a671b)
  • Hosted checks: The supplied check state shows security, dependency, lint, type, boundary, and several compact-node checks succeeding on the rebased head, while several compact-node checks remain in progress. (c009a70a671b)

Likely related people:

  • steipete: Authored the focused commits, including the completed-run return change, and documented the beta-release workflow decision in the PR discussion. (role: release-validation contributor and release-workflow decision caller; confidence: medium; commits: 3904aed246f6, c009a70a671b; files: scripts/full-release-validation-at-sha.mjs, test/scripts/full-release-validation-at-sha.test.ts)

Rank-up moves

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

  • Obtain explicit release-owner acceptance of the post-land proof sequence.
  • After landing, attach redacted terminal, workflow, or live-output evidence that shows a completed run is verified and cleanup completes before beta publication.
  • Refresh required checks against the exact merge head.

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-27T07:11:49.064Z sha 72331415d0582ba345673b8d65ade1a0c1891061 :: needs real behavior proof before merge. :: none

@steipete
steipete force-pushed the fix/forward-port-2026.7.2-beta.5-release-gates branch from 7233141 to c009a70 Compare July 27, 2026 07:23
@steipete

Copy link
Copy Markdown
Contributor Author

ClawSweeper rank-up moves addressed:

  • Rebased the PR onto current main (eec2c0cc26c) and pushed exact head c009a70a671 for fresh hosted CI.
  • The live SHA-helper proof will run immediately after this lands, against the actual rebased release/2026.7.2 beta candidate and the landed main helper. Dispatching it before merge would execute unlanded workflow code and duplicate the serialized release matrix. The beta publish remains blocked on that real post-land validation; the focused helper regression and prior observed success-then-undefined crash cover the source-level defect here.

This is an explicit release-owner workflow choice for the current beta recovery, not a waiver of the beta validation gate.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 27, 2026
@steipete
steipete merged commit 3c67fcc into main Jul 27, 2026
124 of 126 checks passed
@steipete
steipete deleted the fix/forward-port-2026.7.2-beta.5-release-gates branch July 27, 2026 07:42
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 28, 2026
* test(release): fix rebased validation gates

* test(migrate-hermes): use canonical auth store fixture

* test(secrets): reset runtime state before migration isolation

* test(secrets): reload singleton graph for migration isolation

* test(secrets): isolate auth migration state

* fix(release): return completed validation run

* docs: refresh docs map after forward-port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: openai extensions: xai 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. plugin: migrate-hermes rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant