Skip to content

fix(qa): update evidence lanes fail before upgrading - #117388

Merged
RomneyDa merged 1 commit into
mainfrom
fix/qa-update-lane-contracts
Aug 1, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/qa-update-lane-contracts

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes two issues where maturity update scenarios failed before exercising an upgrade: self-upgrade was not explicitly allowed, and the published-baseline restart lane enabled baseline mode without naming a baseline package.

Why This Change Was Made

The evidence workflow now supplies the existing self-upgrade opt-in contract. The published-baseline Docker plan now defaults its required survivor baseline to openclaw@latest while preserving an explicit caller override.

User Impact

Operators can run both update evidence lanes without reconstructing undocumented environment contracts.

Evidence

Production delta: none; this changes QA workflow and test harness surfaces only.

AI-assisted: yes. Agent transcript omitted unless requested.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: XS maintainer Maintainer-authored PR labels Aug 1, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review August 1, 2026 11:58
@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 Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 9:13 AM ET / 13:13 UTC.

ClawSweeper review

What this changes

The PR enables the existing self-upgrade opt-in for QA profile evidence and supplies a default published baseline package for the Docker update-restart lane while retaining caller overrides.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for maintainer review. The current main branch still contains both pre-upgrade blockers, while the branch supplies their existing execution contracts and regression coverage; the patch has no concrete correctness or security finding, but it is behind main and exact-head CI is still running.

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

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused patch matches the current owner contracts and includes targeted regression coverage; exact-head integration remains the material merge check.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored QA-only PR is exempt from the external-contributor real-behavior-proof gate; its body nonetheless reports focused suites and a Testbox changed-file gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored QA-only PR is exempt from the external-contributor real-behavior-proof gate; its body nonetheless reports focused suites and a Testbox changed-file gate.
Evidence reviewed 6 items Self-upgrade prerequisite remains on current main: The package self-upgrade Docker entrypoint exits before any upgrade when the existing self-upgrade opt-in is not set; the PR adds that opt-in to the QA profile workflow.
Published restart lane requires a baseline: The upgrade-survivor wrapper rejects published-baseline runs with an empty baseline specification; the PR supplies a default openclaw@latest baseline on both supported launch paths.
Branch applies the established contracts at both entry points: The PR head sets the self-upgrade permission in the evidence workflow and adds the published baseline plus an override-preserving default to the Docker-plan and QA fixture lanes.
Findings None None.
Security None None.

How this fits together

QA profile evidence invokes scenario producers that launch Docker-based upgrade checks and collect evidence artifacts. The update lanes require explicit safety and baseline inputs before they can reach the actual upgrade-and-restart behavior.

flowchart LR
  A[QA profile workflow] --> B[QA scenario producer]
  B --> C[Safety opt-in check]
  B --> D[Docker update lane]
  D --> E[Published baseline selection]
  E --> F[Upgrade and restart proof]
  F --> G[QA evidence artifacts]
Loading

Decision needed

Question Recommendation
After this branch is rebased onto current main and its exact-head checks finish, should the repository accept these two QA execution-contract defaults? Rebase and merge after green checks: Keep the two existing-contract fixes and merge once the rebased head passes the remaining QA and required checks.

Why: This is a maintainer-authored, maintainer-labeled automation change; code review supports the direction, but the current integration and CI state require an explicit maintainer merge decision.

Before merge

  • Resolve merge risk (P1) - The branch is behind current main, so maintainers should review the clean three-way integration after a rebase and wait for the remaining exact-head checks before merge.
  • Resolve merge risk (P1) - This modifies QA automation contracts; an incorrect environment handoff would make evidence lanes fail before exercising the behavior they are intended to prove.
Agent review details

Security

None.

PR surface

Tests +12, Config +1, Other 0. Total +13 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 13 1 +12
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 1 1 1 0
Total 6 15 2 +13

Review metrics

Metric Value Why it matters
QA execution contracts 1 safety opt-in enabled; 1 published-baseline default added Both additions unblock evidence lanes before they perform their intended upgrade behavior, while preserving an explicit baseline override.

Stored data model

Persistent data-model change detected: migration/backfill/repair: test/scripts/docker-e2e-plan.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Rebase and verify the exact head (recommended)
    Rebase the branch onto current main and require the remaining exact-head checks to finish successfully so the workflow and Docker-plan contracts are verified together.
  2. Accept the existing QA evidence
    A maintainer may merge without a separate lane rerun if the completed exact-head CI confirms the same focused workflow and Docker-plan coverage described in the PR.

Technical review

Best possible solution:

Rebase onto current main, retain the explicit opt-in and override-preserving baseline default, then merge after the exact-head QA and required checks demonstrate that both update lanes reach their intended upgrade path.

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

Yes—source inspection gives a high-confidence path: run either update evidence lane without its required environment contract and it exits before performing the upgrade. The branch’s focused tests cover the restored defaults and caller override.

Is this the best way to solve the issue?

Yes—the patch uses the existing opt-in and published-baseline contracts at their launch owners, rather than adding a new policy path or downstream workaround.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded QA evidence-lane regression that affects automation reliability rather than production runtime behavior.
  • merge-risk: 🚨 automation: The PR changes CI workflow environment handoff and Docker test-plan commands, so an incorrect merge could stop update evidence before it runs.
  • 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 maintainer-authored QA-only PR is exempt from the external-contributor real-behavior-proof gate; its body nonetheless reports focused suites and a Testbox changed-file gate.

Evidence

What I checked:

  • Self-upgrade prerequisite remains on current main: The package self-upgrade Docker entrypoint exits before any upgrade when the existing self-upgrade opt-in is not set; the PR adds that opt-in to the QA profile workflow. (scripts/e2e/update-run-package-self-upgrade-docker.sh:14, 20ac22f647a4)
  • Published restart lane requires a baseline: The upgrade-survivor wrapper rejects published-baseline runs with an empty baseline specification; the PR supplies a default openclaw@latest baseline on both supported launch paths. (scripts/e2e/upgrade-survivor-docker.sh:106, 20ac22f647a4)
  • Branch applies the established contracts at both entry points: The PR head sets the self-upgrade permission in the evidence workflow and adds the published baseline plus an override-preserving default to the Docker-plan and QA fixture lanes. (scripts/lib/docker-e2e-scenarios.mjs:22, 65ab3158d34a)
  • Regression coverage tests default and override behavior: The branch asserts the workflow opt-in, default published baseline, mandatory published-baseline flag, and explicit baseline override rather than relying on the command strings alone. (test/e2e/qa-lab/runtime/docker-e2e-lane.fixture.test.ts:62, 65ab3158d34a)
  • Feature-history routing: Blame attributes the QA lane and workflow block to joshavant’s current-main change, while Peter Steinberger most recently refactored the shared Docker scenario helper that this PR edits. (test/e2e/qa-lab/runtime/docker-e2e-lane.fixture.ts:80, 97f8f25f0b9a)
  • Current integration state: GitHub context reports the PR as cleanly mergeable but behind main, with the earlier compact checks passed and multiple exact-head checks still in progress after the force-push. (65ab3158d34a)

Likely related people:

  • Peter Steinberger: Recent current-main work refactored the Docker E2E scenario helper that provides the update-restart command edited here. (role: recent shared-helper contributor; confidence: high; commits: b5a59e0a7d94; files: scripts/lib/docker-e2e-scenarios.mjs, test/scripts/docker-e2e-plan.test.ts)
  • joshavant: Current-line blame attributes the existing update-restart fixture and QA profile workflow block to this contributor’s change. (role: QA lane and workflow origin contributor; confidence: medium; commits: 97f8f25f0b9a; files: test/e2e/qa-lab/runtime/docker-e2e-lane.fixture.ts, .github/workflows/qa-profile-evidence.yml)

Rank-up moves

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

  • Rebase onto current main and wait for the currently running exact-head checks.
  • Confirm the rebased evidence workflow reaches both update scenarios before merging.

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-08-01T12:34:09.305Z sha a49681d :: needs maintainer review before merge. :: none

@RomneyDa RomneyDa self-assigned this Aug 1, 2026
@RomneyDa
RomneyDa force-pushed the fix/qa-update-lane-contracts branch from a49681d to 65ab315 Compare August 1, 2026 13:07
@RomneyDa
RomneyDa merged commit 40e1ce6 into main Aug 1, 2026
104 checks passed
@RomneyDa
RomneyDa deleted the fix/qa-update-lane-contracts branch August 1, 2026 13:28
pull Bot pushed a commit to NickHood1984/openclaw that referenced this pull request Aug 1, 2026
* origin/main:
  docs: generate docs map at publish time (openclaw#117398)
  refactor(plugins): move plugin contributions into the registry bundle (openclaw#117372)
  fix(tui): keep PTY progress and lifecycle truthful (openclaw#117402)
  test(xai): type realtime sent item payloads
  fix(qa): preserve Slack fallback evidence (openclaw#117420)
  fix(qa): satisfy update lane execution contracts (openclaw#117388)
  fix(qa): Matrix replies disappear after final replacement (openclaw#117390)
  test(xai): prove rejected tool call continuation
  fix(xai): complete rejected realtime tool calls
  test(xai): add live tool argument probe
  test(xai): cover rejected realtime tool arguments
  fix(xai): validate realtime tool arguments before dispatch
  fix(xai): skip tool call when rawArgs JSON parse fails instead of silently falling back to empty args
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main:
  docs: generate docs map at publish time (openclaw#117398)
  refactor(plugins): move plugin contributions into the registry bundle (openclaw#117372)
  fix(tui): keep PTY progress and lifecycle truthful (openclaw#117402)
  test(xai): type realtime sent item payloads
  fix(qa): preserve Slack fallback evidence (openclaw#117420)
  fix(qa): satisfy update lane execution contracts (openclaw#117388)
  fix(qa): Matrix replies disappear after final replacement (openclaw#117390)
  test(xai): prove rejected tool call continuation
  fix(xai): complete rejected realtime tool calls
  test(xai): add live tool argument probe
  test(xai): cover rejected realtime tool arguments
  fix(xai): validate realtime tool arguments before dispatch
  fix(xai): skip tool call when rawArgs JSON parse fails instead of silently falling back to empty args
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: XS 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