Skip to content

fix(ci): keep native release verification bounded and complete - #133180

Merged
steipete merged 1 commit into
mainfrom
codex/frv-live-isolation
Aug 30, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/frv-live-isolation

Conversation

@steipete

@steipete steipete commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The native-agent release lane timed out during the Workshop history evaluation, then exposed a second gate failure once the evaluation completed: an intentionally opt-in compaction test was selected but never enabled.

Why This Change Was Made

The Workshop fixture configured OpenAI but left every plugin eligible for activation. A fresh Linux trace spent 171.6 seconds loading 81 plugins before its first provider request. Canvas registration alone materialized unrelated runtime code for 96.4 seconds. Scope this fixture to OpenAI, matching the sibling experience-review fixture; Workshop is a built-in tool. Keep its real provider requests, proposal persistence, completion, clustering and abstention assertions and 240-second deadline unchanged.

Enable the existing bounded OpenAI repeated-compaction test in stable/full native-agent release runs, and explicitly leave full-context stress mode off. Register its existing opt-in with the manual shard validator so disabled manual runs remain valid, while an enabled test that skips still fails. The release lane now exercises two real compactions and durable-marker recall instead of skipping this coverage.

User Impact

Release/test tooling only. No production runtime, model, timeout, provider retry, HOME isolation or public configuration changes. No test files are removed from the shard. The separate 922k context stress profile remains a manual opt-in.

Evidence

  • Original failure: https://github.com/openclaw/openclaw/actions/runs/33297367062/job/99219353927. History timed out twice with the original 240-second deadline.
  • Same-class fresh Linux 4-CPU/16-GB/Node 24.19 probes, identical phase instrumentation and sourcePerformance builds: original test 197.263s, fixed test 23.894s; plugin-registry work 171.589s to 0.686s. Only OpenAI imported after the change. Both real reviews and all assertions passed.
  • Full 26-file native-agent shard with bounded compaction enabled: 85 passed, 25 existing skips; strict per-file pass-evidence gate passed. Vitest 158.93s; Testbox command 185.75s. Compaction passed in 15.13s after two compactions and exact marker recall. No diagnostic instrumentation in this full-shard run.
  • Opt-in and workflow regressions failed before their fixes. Full owner suites: 240 passed; focused immutable-payload follow-up: 2 passed. Workflow validation passed.
  • Managed Codex P0–P2 review: scoped-clean, no actionable findings. Full six-file changed gate passed, including core/scripts/test-root types and required lints. Exact-head CI passed at 7dbc1aa0204330f9794568ead9c77237c5413a69.
  • Production runtime LOC: 0. Tooling +4 lines records the existing manual opt-in; workflow line replacement enables more release coverage. Test/documentation additions explain and protect those contracts.

The general cold source-plugin startup cost, including Canvas's eager runtime access and Jiti resolution, remains a named performance follow-up. This fixture change does not claim to repair production startup.

ClawSweeper had acknowledged the PR and started its review at the final landing check; no published findings or Rank-up moves were available. Independent managed Codex review and exact-head required CI are green.

Post-merge review follow-through: the published ClawSweeper review has no actionable findings. Its exact-head CI rank-up was satisfied before merge. Its request to inspect a later bot comment is also satisfied: the only later note visible at the landing check was the review-start placeholder, with no findings or Rank-up moves. The now-published review introduces no additional code or proof request.

@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Aug 30, 2026
@steipete
steipete marked this pull request as ready for review August 30, 2026 07:59
@steipete
steipete merged commit 49bcc61 into main Aug 30, 2026
247 checks passed
@steipete
steipete deleted the codex/frv-live-isolation branch August 30, 2026 08:12
@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 Aug 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 4:11 AM ET / 08:11 UTC.

ClawSweeper review

What this changes

The PR enables bounded OpenAI compaction coverage in stable/full native-agent release runs, limits the Workshop history live fixture to OpenAI, and tests the shard validator and workflow contract.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: the central release-lane change is not on current main, and the introduced workflow, validator, and regression tests form a coherent bounded fix. No blocking correctness or security finding was identified; exact-head CI and the omitted later bot comment remain landing checks.

Priority: P2
Reviewed head: 7dbc1aa0204330f9794568ead9c77237c5413a69

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch cleanly wires an existing bounded test through its release and validation owners with focused coverage; normal landing checks remain.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer PR is exempt from the external-contributor proof gate; its supplied body nevertheless maps the changed workflow and shard-runner path to a provider-backed native-agent shard that completed bounded compaction and marker-recall assertions.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer PR is exempt from the external-contributor proof gate; its supplied body nevertheless maps the changed workflow and shard-runner path to a provider-backed native-agent shard that completed bounded compaction and marker-recall assertions.
Evidence reviewed 7 items Workflow owner and current-main gap: The branch sets the compaction opt-in only on the stable/full native-agent matrix entry; current main retains the prior command without that opt-in, so the requested coverage is not already implemented there.
Enabled opt-in cannot silently skip: The shard validator treats an optional test as skippable only when its opt-in is disabled, then requires at least one enabled passing assertion for every selected file.
Bounded compaction behavior: The live test selects a 48k bounded profile unless full-context mode is truthy, requires two compactions, and verifies durable-marker recall after compaction.
Findings None None.
Security None None.

How this fits together

The reusable release workflow launches native live-test shards through a shard runner that selects tests, applies opt-ins, and validates per-file pass evidence. The changed tests exercise provider-backed agent compaction and Workshop review behavior before release verification completes.

flowchart LR
  A[Release workflow] --> B[Native agent shard]
  B --> C[Shard runner]
  C --> D[Opt-in test selection]
  D --> E[Provider-backed live tests]
  E --> F[Per-file pass validation]
  F --> G[Release verification result]
Loading

Before merge

  • Resolve merge risk (P1) - The supplied snapshot omits the body of the later ClawSweeper comment, so any existing Rank-up moves must be checked before landing.
  • Complete next step (P2) - No repair lane is needed: this active maintainer-labelled PR has no actionable finding; complete the normal exact-head checks and review the omitted bot note.
Agent review details

Security

None.

PR surface

Tests +28, Docs +2, Config 0, Other +4. Total +34 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 34 6 +28
Docs 1 2 0 +2
Config 1 1 1 0
Generated 0 0 0 0
Other 1 4 0 +4
Total 6 41 7 +34

Review metrics

Metric Value Why it matters
Production versus test LOC production tooling +4/-0; workflow +1/-1; tests +34/-6; docs +2/-0 The only production growth registers an existing opt-in; the workflow replacement activates bounded coverage and the remaining changes protect that contract.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land the direct workflow-and-validator repair after exact-head checks complete, retaining the explicit bounded compaction mode and strict per-file pass evidence.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land the direct workflow-and-validator repair after exact-head checks complete, retaining the explicit bounded compaction mode and strict per-file pass evidence.

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

Yes, at source level: the native-agent shard selects the compaction live test, and before this mapping and workflow opt-in it could be skipped. The supplied body records a real provider-backed after-fix run; this read-only review did not rerun it.

Is this the best way to solve the issue?

Yes. This is the best fix because it enables the existing bounded test at the release-workflow owner and makes the shard owner reject an enabled skipped test, rather than changing agent runtime limits or weakening the release gate.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This is a bounded release-verification reliability repair with no production-runtime or user-setting change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool 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: This maintainer PR is exempt from the external-contributor proof gate; its supplied body nevertheless maps the changed workflow and shard-runner path to a provider-backed native-agent shard that completed bounded compaction and marker-recall assertions.

Label justifications:

  • P2: This is a bounded release-verification reliability repair with no production-runtime or user-setting change.
  • 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 PR is exempt from the external-contributor proof gate; its supplied body nevertheless maps the changed workflow and shard-runner path to a provider-backed native-agent shard that completed bounded compaction and marker-recall assertions.

Evidence

What I checked:

Likely related people:

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

Rank-up moves

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

  • Complete the exact-head CI run.
  • Review the later ClawSweeper comment omitted from the supplied snapshot and address any Rank-up moves before landing.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR 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