Skip to content

fix(ci): keep upgrade recipes compatible with frozen targets - #159996

Merged
roboclaw-bot merged 2 commits into
mainfrom
fix/survivor-frozen-recipe
Sep 28, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
fix/survivor-frozen-recipe

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes upgrade-survivor validation rejecting an older frozen candidate because newer tooling introduces a Tool Search migration specimen that the selected cut does not contain.

User Impact

Internal release-validation correction only; no product-runtime, configuration-schema, or stored-data change. Frozen targets keep their supported recipe coverage, while newer targets must still pass the strict Tool Search migration assertions.

Why This Change Was Made

The Docker harness mounts trusted scripts over the candidate image. The existing frozen-target capability owner now checks the verified selected commit for the Tool Search specimen and forwards a bounded current/absent result through the existing compatibility arguments. Only that newer specimen is omitted when absent from the selected cut; every other recipe step and accepted intent remains unchanged. Ordinary runs remain strict and inherited overrides are reset.

The assertion code is unchanged. Selection does not use version ordering or the observed post-update configuration: the demonstrated older-capability target is version 2026.9.7, while newer tooling is version 2026.9.6. This adaptation requires the existing explicit frozen-target authorization. Manual Package Acceptance now exposes the same existing boolean input as its reusable entrypoint, still defaulting to false. All package, plugin, npm-install, admission and downstream forwarding jobs remain unchanged.

Evidence

  • Both new regressions fail against the original owners: 2.16 s wall.
  • Corrected boundary suite: 2/2 pass, 4.16 s wall, 1.492 s test time. Exercises actual host policy → recipe CLI → coverage, committed-tree identity, uncommitted specimen refusal, wrong-SHA rejection and unchanged non-Tool-Search coverage.
  • Legacy baseline and valid newer migration pass. Unmigrated mode, retained timeout, disabled Tool Search and missing configuration still fail.
  • Existing frozen upgrade-admission group: 22 passed, 85 intentionally unselected; 24.40 s wall. A zero-test selector attempt was excluded from this evidence.
  • Shell/module syntax, formatting and diff-whitespace checks passed. The final caller YAML matches a checked transformation that preserves all jobs and other inputs; a focused workflow regression verifies the default and forwarding contract. Hosted CI will execute that added regression.

This proves the harness/frozen-target compatibility correction, not the exact assertion from the earlier inaccessible remote diagnostic or a completed installed-upgrade acceptance run. The separate systemd stop-policy fixture correction is not included.

Bind the newer Tool Search specimen to the verified selected commit and expose the existing default-off frozen-target input on manual Package Acceptance. Preserve other coverage, strict migration assertions and package admission.

Co-authored-by: RomneyDa <[email protected]>
@roboclaw-bot roboclaw-bot added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 28, 2026 00:52
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: M labels Sep 28, 2026
Update the exact input-count assertion for the reviewed default-off manual workflow opt-in. No production behavior or acceptance guard changes.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 27, 2026, 9:07 PM ET / September 28, 2026, 01:07 UTC.

ClawSweeper review

What this changes

The branch exposes the existing frozen-target opt-in to manual Package Acceptance runs, selects Tool Search recipe coverage from the pinned target commit, and adds admission and regression tests.

Merge readiness

⛔ Blocked before merge - 1 item remains

Current main still includes the Tool Search specimen unconditionally in the upgrade recipe, so this focused release-validation repair remains useful. The inspected patch has no concrete correctness finding.

Priority: P2
Reviewed head: 7c02dcc44dc56e0687e314cfc956b750f8832e88

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and has meaningful boundary regression coverage, with the full installed-upgrade run outside its stated proof scope.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: Repository maintain permission makes the external-contributor proof gate inapplicable. The PR reports focused execution of the host selector and recipe CLI with a stub baseline CLI, but does not claim a completed Docker installed-upgrade run; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository maintain permission makes the external-contributor proof gate inapplicable. The PR reports focused execution of the host selector and recipe CLI with a stub baseline CLI, but does not claim a completed Docker installed-upgrade run; no stored-data contract changes.
Evidence reviewed 9 items Current-main behavior: The current recipe includes the Tool Search step and has no frozen-target filter.
Current-main frozen-target owner: The existing capability resolver has no Tool Search recipe decision.
Introduced selection: The patch defaults to strict coverage and checks the specimen in the verified selected commit before marking it absent.
Findings None None.
Security None None.

How this fits together

Package Acceptance selects a release candidate and runs upgrade checks in Docker. The upgrade-survivor harness prepares baseline configuration, then checks which settings survive or migrate after the candidate is installed.

flowchart LR
A[Package Acceptance input] --> B[Selected target commit]
B --> C{Tool Search specimen present?}
C -->|Yes| D[Full config recipe]
C -->|No| E[Compatible config recipe]
D --> F[Docker upgrade checks]
E --> F
F --> G[Migration assertions]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Tests +190, Config +5, Other +21. Total +216 across 8 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 191 1 +190
Docs 0 0 0 0
Config 1 5 0 +5
Generated 0 0 0 0
Other 4 24 3 +21
Total 8 220 4 +216

Review metrics

Metric Value Why it matters
Manual release input 1 boolean exposed, default false Direct Package Acceptance dispatches can now use the existing frozen-target omission contract explicitly.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/lib/frozen-target-compat.sh. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep the capability decision in the verified frozen-target source owner, with strict migration assertions for targets that contain the specimen and an explicit default-off omission for older cuts.

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

Yes, at source level: current main always includes the Tool Search step, while a verified older target can lack its committed specimen. This read-only review did not run Docker.

Is this the best way to solve the issue?

Yes; the existing frozen-source verifier is the narrow decision owner, and unqualified runs remain strict.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This is a bounded release-validation repair with no demonstrated product-runtime impact.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Repository maintain permission makes the external-contributor proof gate inapplicable. The PR reports focused execution of the host selector and recipe CLI with a stub baseline CLI, but does not claim a completed Docker installed-upgrade run; no stored-data contract changes.

Label justifications:

  • P2: This is a bounded release-validation repair with no demonstrated product-runtime impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Repository maintain permission makes the external-contributor proof gate inapplicable. The PR reports focused execution of the host selector and recipe CLI with a stub baseline CLI, but does not claim a completed Docker installed-upgrade run; no stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • roboclaw-bot: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Maintainer reconciliation for exact head 7c02dcc44dc56e0687e314cfc956b750f8832e88:

I read the completed ClawSweeper review. Its substantive assessment identifies no correctness or security finding and explicitly states that no stored-data contract changes. The generated data-model checklist is not applicable to this patch: no updater/runtime, database schema, user configuration schema, migration/backfill implementation, or persisted operator state changes. The modified compatibility owner selects synthetic test-recipe coverage from a verified commit; the manual input only exposes the existing default-off authorization and preserves the downstream package/plugin/admission jobs.

The existing migration assertions are byte-unchanged. Newer targets retain the strict rejection of unmigrated mode, retained timeout, disabled Tool Search and missing configuration; unsupported frozen-target coverage is omitted only through the existing authorized, exact-source contract. All nine selected Node jobs passed on this head, including the workflow input/forwarding and frozen-source boundary coverage. Remaining enforced static checks are still running; no aggregate CI pass is claimed yet.

The installed-upgrade proof for PR159479 remains a separate open release requirement. Landing this harness repair does not waive it or claim the inaccessible diagnostic assertion was conclusively identified. No duplicate review is requested.

@roboclaw-bot
roboclaw-bot merged commit 7c2fd96 into main Sep 28, 2026
106 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/survivor-frozen-recipe branch September 28, 2026 01:14
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 28, 2026
…w#159996)

Bind upgrade-survivor Tool Search recipe coverage to the verified frozen target and expose the existing default-off manual Package Acceptance opt-in. Preserve all applicable migration assertions, package/plugin admission and other recipe coverage.

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: M 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