Skip to content

fix(ci): run Anthropic compaction in full release checks - #164092

Merged
steipete merged 1 commit into
mainfrom
codex/frv-anthropic-compaction
Oct 3, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/frv-anthropic-compaction

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Full release validation selected the Anthropic server-compaction live test without enabling its dedicated opt-in, so the A–K shard could finish with no passing evidence for that file.

User Impact

Full-profile release checks now exercise the existing bounded Anthropic compaction probe. Product defaults are unchanged; Comfy service configuration and Apple runner prerequisites remain separate qualification gaps.

Why This Change Was Made

Enable the existing opt-in only in the full-profile A–K command and strengthen its existing workflow contract assertion. The probe keeps its original model, 50,000-token threshold, three-dense-turn maximum, five-minute request limit, and fifteen-minute test limit. File selection and passing-assertion enforcement remain unchanged.

Evidence

  • The updated workflow assertion failed against the original command for the missing flag, then passed after the repair (77 ms case; 6.11 s Vitest). All three existing Anthropic settings tests also passed.
  • One real selected-file run with Anthropic SDK 0.128.0 passed: compaction capture, request-side replay, and exact durable-marker recall; one test passed with zero skips. The case took 40.046 s, Vitest 64.97 s, and the complete wrapper 70.219 s. The wrapper and isolated state were fully cleaned up.
  • Selected changed checks, workflow validation, dependency guards, root test types, formatting, and independent review passed. Root types and dependency pins were rechecked after the final dependency reconciliation.
  • Exact-head CI passed. Its changed-node test job completed in 87 s including setup.
  • The whole-file cost probe (pnpm test test/scripts/package-acceptance-workflow.test.ts --maxWorkers=1) was stopped after 447.50 s in unrelated frozen-admission fixtures, with no observed assertion failure. The complete 568-case file was not run to completion; focused regression and settings proof completed in 225.85 s including cold setup.

This repairs the compaction opt-in; it does not claim the complete full-release campaign is green.

Full release A-K validation selects the server compaction probe but did not enable its dedicated live gate, leaving the file without passing evidence. Enable the existing bounded probe in the full-only row and verify its workflow command and profile. Plugin defaults, compaction limits, and report guards stay unchanged.
@steipete steipete added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 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.

@steipete
steipete marked this pull request as ready for review October 3, 2026 06:35
@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 Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 3, 2026, 2:40 AM ET / 06:40 UTC.

ClawSweeper review

What this changes

The PR enables the existing Anthropic compaction probe in full release checks and strengthens the workflow assertion for its command and profile.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused repair: fetched main still omits the required compaction opt-in. No introduced correctness or security defect was found, and the member-authored PR is protected from automatic cleanup.

Priority: P2
Reviewed head: 0e00f677f84a0803b16ba41fd68f186de8ef5f20

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with a meaningful workflow regression assertion and reported live validation; no actionable patch defect was found.
Proof confidence 🌊 off-meta tidepool Not applicable: The member-authored PR is exempt from the external-contributor proof gate. Its captured body additionally reports a real selected-file run through the existing Anthropic wrapper, observing compaction capture, replay, and exact marker recall; complete release-campaign success is not claimed. 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: The member-authored PR is exempt from the external-contributor proof gate. Its captured body additionally reports a real selected-file run through the existing Anthropic wrapper, observing compaction capture, replay, and exact marker recall; complete release-campaign success is not claimed. No stored-data contract changes.
Evidence reviewed 7 items Pinned introduction and merge result: The introduced change adds the existing environment flag to the full-only A–K row and updates its existing assertion. The verified test-merge comparison contains the same changes, without removing base-only behavior.
Still necessary on fetched main: Fetched main’s full-only A–K command still runs the shard without OPENCLAW_LIVE_ANTHROPIC_COMPACTION=1. No merged replacement is established by the supplied context.
Existing bounded opt-in: Without the flag, settings disable the complete probe. Enabling it requires live mode and an Anthropic API key, while retaining the 50,000-token threshold, three dense turns, five-minute request deadline, and fifteen-minute test deadline.
Findings None None.
Security None None.

How this fits together

Release validation selects named groups of live tests against a candidate build. The A–K plugin group runs Anthropic’s compaction probe, and its report feeds the release evidence checks.

flowchart LR
 A[Release candidate] --> B[Full release profile]
 B --> C[A–K plugin tests]
 C --> D[Compaction opt-in]
 D --> E[Live Anthropic probe]
 E --> F[Passing file evidence]
 F --> G[Release validation result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +10, Config 0. Total +10 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 11 1 +10
Docs 0 0 0 0
Config 1 1 1 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 12 2 +10

Review metrics

None.

Technical review

Best possible solution:

Use the existing bounded probe in full release validation while retaining its current file-evidence enforcement and product defaults.

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

Yes, from source: fetched main omits the flag that enables the selected compaction test, causing the complete probe to skip. This review did not execute the workflow.

Is this the best way to solve the issue?

Yes. Enabling the existing opt-in at the full-profile command is the narrow repair, and the updated assertion protects the release wiring without duplicating compaction logic.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 3381c042de97.

Labels

Label changes:

  • add P2: This repairs a bounded release-validation coverage gap without changing shipped runtime behavior.
  • 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: The member-authored PR is exempt from the external-contributor proof gate. Its captured body additionally reports a real selected-file run through the existing Anthropic wrapper, observing compaction capture, replay, and exact marker recall; complete release-campaign success is not claimed. No stored-data contract changes.

Label justifications:

  • P2: This repairs a bounded release-validation coverage gap without changing shipped runtime behavior.
  • 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: The member-authored PR is exempt from the external-contributor proof gate. Its captured body additionally reports a real selected-file run through the existing Anthropic wrapper, observing compaction capture, replay, and exact marker recall; complete release-campaign success is not claimed. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduction and merge result: The introduced change adds the existing environment flag to the full-only A–K row and updates its existing assertion. The verified test-merge comparison contains the same changes, without removing base-only behavior. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4768, 9da143425e86)
  • Still necessary on fetched main: Fetched main’s full-only A–K command still runs the shard without OPENCLAW_LIVE_ANTHROPIC_COMPACTION=1. No merged replacement is established by the supplied context. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4768, 3381c042de97)
  • Existing bounded opt-in: Without the flag, settings disable the complete probe. Enabling it requires live mode and an Anthropic API key, while retaining the 50,000-token threshold, three dense turns, five-minute request deadline, and fifteen-minute test deadline. (extensions/anthropic/server-compaction-live.test-support.ts:30, 0e00f677f84a)
  • Environment propagation and evidence enforcement: The shard selects Anthropic files, inherits the command environment, and rejects selected files without passing assertions. The test:live entrypoint preserves the inherited flag and enables general live mode. (scripts/test-live-shard.mts:719, 0e00f677f84a)
  • Regression and reported live validation: The captured PR body reports the strengthened assertion failing before the repair and passing afterward, plus a real selected-file Anthropic run with compaction capture, request replay, exact marker recall, one pass, and zero skips. The full workflow-test file was stopped after 447.50 seconds; neither the author nor this review claims a completed full-release campaign. (test/scripts/package-acceptance-workflow.test.ts:10646, 0e00f677f84a)
  • Feature-history routing: Available history connects Peter Steinberger to the existing compaction probe and Dallin Romney to recent A–K runner preparation and release-provider maintenance. These are routing signals; introduction attribution remains subject to parent verification. (extensions/anthropic/server-compaction.live.test.ts:16, 25d4807b383c)

Likely related people:

  • Peter Steinberger: Raw commit 25d4807 adds extensions/anthropic/server-compaction.live.test.ts:16 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 25d4807b383c; files: extensions/anthropic/server-compaction.live.test.ts)
  • Dallin Romney: 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.

@steipete
steipete merged commit 32bf9d4 into main Oct 3, 2026
149 of 150 checks passed
@steipete
steipete deleted the codex/frv-anthropic-compaction branch October 3, 2026 07:32
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
…4092)

Full release A-K validation selects the server compaction probe but did not enable its dedicated live gate, leaving the file without passing evidence. Enable the existing bounded probe in the full-only row and verify its workflow command and profile. Plugin defaults, compaction limits, and report guards stay unchanged.

Co-authored-by: Peter Steinberger <[email protected]>
RomneyDa added a commit that referenced this pull request Oct 7, 2026
* fix(ios): retry release setup-code across post-boot host stalls

Cold Simulator boot stalls the macOS runner (Gateway and harness both
show 5-60s event-loop gaps at near-zero CPU while RSS is paged out), so a
single 30s device.pair.setupCode call can time out before the socket even
reaches hello-ok. Retry transport timeouts on a fresh connection
(30s/60s/60s); setupCode is safe to reissue since an unused bootstrap
token expires. Record attempt count in proof evidence and diagnostics.

* test(state): drain agent database log queues before reading repair logs

Startup index repair logs from SQLite worker threads whose async file
transports the parent flushLogger cannot drain; close the agent databases
first so every repair record is on disk before asserting.

(cherry picked from commit 13d17b4, test hunk only)

* fix: OpenRouter release checks reject mandatory thinking models (#163417)

* fix(test): preserve OpenRouter live thinking capabilities

Carry mandatory-thinking maps and effort-selector metadata through live model selection and the generated Gateway config. This prevents OpenRouter MiniMax sweeps requested at off from inventing the unsupported minimal level.

Keep the existing clamp and exact max/Ultra guards. Move the selection owner into the adjacent live helper to shrink the oversized suite, and cover absent and empty effort selectors through config serialization.

Validation: both regressions failed with minimal before the repair; 35 focused cases pass afterward (26.64s wall). Selected changed guards, gateway-root test types, typed lint, dead-export checks, and independent review through P2 pass. Live Testbox proof did not start because its lease stayed queued; the unused lease was stopped.

* fix(test): use relative private SDK import in live helper

The extracted helper is classified as core by the SDK subpath guard, so its private llm facade import must stay relative. Resolve the same facade without changing runtime implementation or guard policy.

CI 36988570623 reproduced the violation on merge 582077b1cf82a4941f38de1576f77b88afa3c833. The exact guard fails before this correction and passes afterward. The 35 focused reasoning/config cases, gateway-root test types, typed lint, diff checks, and fresh independent review through P2 pass. Prior live Gateway proof at 5986302 remains valid for the unchanged runtime implementation.

(cherry picked from commit b2b095b)

* ci(release): pin reachable OpenCode/OpenRouter Docker live models

High-signal selection in the Docker OpenCode/OpenRouter lane picks
opencode-go/deepseek-v4-flash, a Global-region route the release workspace
rejects with HTTP 400 (FRV 37546666206 and 37557935725). Pin the refs the
native OpenCode Go and Docker lanes already proved reachable.

* test(opencode): fall back to a discovered free tool model

The pinned free Zen model was absent or lacked reasoning/tool metadata in
the release live run (FRV 37546666206 and 37557935725). Without an explicit
OPENCLAW_LIVE_OPENCODE_MODEL override, select another discovered free
reasoning/tool-capable model so free-catalog churn does not fail the
round-trip proof.

* fix(ci): enable Anthropic compaction in full live checks (#164092)

Full release A-K validation selects the server compaction probe but did not enable its dedicated live gate, leaving the file without passing evidence. Enable the existing bounded probe in the full-only row and verify its workflow command and profile. Plugin defaults, compaction limits, and report guards stay unchanged.

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 32bf9d4)

* fix(ci): native release suites miss required inputs (#164359)

* ci: forward native live provider credentials

Carry existing provider and QA inputs through release and scheduled callers into their owning native live matrix rows. Keep the existing Discord smoke token out of generic profile hydration and preserve provider defaults and live coverage.

* ci: correct native speech credential scopes

Forward ElevenLabs to the Mistral live shard and move Seed Speech to media-audio. Derive expected credential scopes from actual consumer files and the canonical live shard selector.

(cherry picked from commit f1b983f)

* fix(release): budget full package/update migrations Docker chunk

Full candidates run update-channel-switch plus four published-upgrade-survivor
baselines (2026.6.34, 8.35, 9.7, 9.8). All are weight-3 npm lanes and serialize
at npm limit 5, so the chunk exceeded its 60m job timeout in FRV run
37559852628 (job 112596297171: four lanes passed in 48m, the 9.8 survivor was
cut off at 609s) and in 2 of the 5 earlier full candidates. Budget 150m from
measured hosted lane times.

* test(opencode): keep fallback live model typed as openai-completions

* test(opencode): drop redundant boolean conversion

---------

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

Labels

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) 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