Repository navigation
fix(ci): frozen 2026.8.33 validation fails on inherited test clock - #159594
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 27, 2026, 6:57 AM ET / 10:57 UTC (Revision 2). ClawSweeper reviewWhat this changesAdds a trusted CI action that adjusts one frozen candidate's session-state timer test before Node validation, plus a guard test and tooling registration. Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open. Current main has the timer-test repair, but the immutable 2026.8.33 candidate still has the older test, and current main lacks a compatibility step for its validation. The exact-target CI job reached the new action and its previously failing Node shard passed. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation checks a pinned release candidate using the current CI workflow and a separate trusted harness. Node shards run the candidate's tests and report qualification results. flowchart LR
A[Full Release Validation] --> B[Candidate revision]
B --> C{Exact frozen candidate?}
C -->|Yes| D[Trusted test correction]
C -->|No| E[Node test shard]
D --> E
E --> F[Qualification result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +95, Config +163, Other +2. Total +260 across 5 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Qualify the unchanged candidate runtime with a narrowly attested correction to its obsolete test-only clock setup. Do we have a high-confidence way to reproduce the issue? Yes. The frozen source retains the old timer drain, and the earlier exact-target CI job failed in the affected shard; I did not rerun the candidate locally. Is this the best way to solve the issue? Yes. The correction runs in trusted CI, checks the exact candidate and source shape, and leaves the release commit and runtime unchanged. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 320c54c57c9d. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
+Land-ready evidence for
ClawSweeper rank-up moves are addressed. Stored-data compatibility proof is intentionally skipped: this changes only transient test bytes in an Actions workspace and adds no schema, migration, serialization, persistence, or upgrade contract. The broader frozen-target CI matrix is still draining with no failures; the changed/failing path is already terminal green. |
|
Merged via squash.
|
* commit '69809d7a94277d01be964bd1cbbb7aa0ebc58c9b': (219 commits) perf(agents): serialize large model requests once (#159574) refactor(cli): share capability agent-selection test cases (#159616) fix(workers): restore installation type checks (#159629) test(channels,qa,providers): remove low-value tests (batch d065) (#159627) test(doctor): run isolated migration cases concurrently (#159609) feat(apple): show agent identities in native chat (#159528) chore(i18n): refresh native locales (#159635) fix(gateway): keep node provisioning's installation contract after overlapped preparation fix(models): keep shared catalog requests alive for remaining callers (#157191) feat: let agents query online people and device activity (#159117) perf(gateway): first cloud dispatch prepares worker artifacts one after another (#159520) refactor(android): deslop Android app third pass (#159589) test(qa-lab,openshell,slack,reef,team-reports): remove low-value tests (batch d064) (#159607) fix: align process liveness checks (#151107) thanks @ekinnee fix: sessions model default does not clear the override (#159587) fix(ios): preserve typing during reentrant SwiftUI updates fix(ci): frozen 2026.8.33 validation fails on inherited test clock (#159594) perf(gateway): avoid duplicate recipient row lookup (#159595) refactor(gateway): deslop gateway fourth pass (#158786) test(agents): split subagent task-settlement test support under the line cap (#159584) ...
* commit '69809d7a94277d01be964bd1cbbb7aa0ebc58c9b': (219 commits) perf(agents): serialize large model requests once (#159574) refactor(cli): share capability agent-selection test cases (#159616) fix(workers): restore installation type checks (#159629) test(channels,qa,providers): remove low-value tests (batch d065) (#159627) test(doctor): run isolated migration cases concurrently (#159609) feat(apple): show agent identities in native chat (#159528) chore(i18n): refresh native locales (#159635) fix(gateway): keep node provisioning's installation contract after overlapped preparation fix(models): keep shared catalog requests alive for remaining callers (#157191) feat: let agents query online people and device activity (#159117) perf(gateway): first cloud dispatch prepares worker artifacts one after another (#159520) refactor(android): deslop Android app third pass (#159589) test(qa-lab,openshell,slack,reef,team-reports): remove low-value tests (batch d064) (#159607) fix: align process liveness checks (#151107) thanks @ekinnee fix: sessions model default does not clear the override (#159587) fix(ios): preserve typing during reentrant SwiftUI updates fix(ci): frozen 2026.8.33 validation fails on inherited test clock (#159594) perf(gateway): avoid duplicate recipient row lookup (#159595) refactor(gateway): deslop gateway fourth pass (#158786) test(agents): split subagent task-settlement test support under the line cap (#159584) ...
…penclaw#159594) * fix(ci): repair frozen 2026.8.33 test clock * test(ci): exercise frozen compat CLI boundary
+## What Problem This Solves
Fixes: the unchanged 2026.8.33 release candidate's fresh full-CI qualification fails when a session-state test inherits a pending heartbeat deadline from an earlier fake-clock origin.
User Impact
User impact: no product or candidate bytes change; release CI can revalidate the already-passing
v2026.8.33candidate without dropping the affected test file.Why This Change Was Made
The frozen candidate predates the test-only clock repair from
bdf5d9939abf8262a247e73a1fa8b6c202bd77e8, while current trusted workflow tooling still executes the candidate-owned test bytes. This adds an exact-SHA compatibility action forf773aa06a1a93b36b050f1a3f4b57d3d91311541that replays only that upstream test repair before Node shards run.The action verifies the checked-out SHA, requires every attested source fragment exactly once (plus three repeated drains), and fails closed on drift. Other candidates and current
mainare unaffected.ClawSweeper's stored-data-model prompt does not apply: this changes only transient CI test bytes in an Actions workspace. It adds no schema, migration, serialized state, persistence, or upgrade contract.
Root cause: a fixed 21-second pre-drain does not exhaust deadlines created under a previous fake-clock origin. Architectural owner: frozen-target CI compatibility tooling. Canonical repair: carry forward the already-landed test-only regression fix while keeping the release candidate/runtime immutable. Removed paths: none. Product LOC delta: 0; release-tooling/config delta: +165; regression-test delta: +95.
Evidence
f773aa06a1a9: 2 failures, 26 passes insrc/sessions/session-state-events.test.ts.prior clock=falseandprior clock=truecases.OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs test/scripts/frozen-node-test-compat.test.ts: 2/2 passed; 2.42 s single-worker wall (/usr/bin/time -p).pnpm deadcode:dependencies: passed after registering the composite action's CLI entry.node scripts/check-changed.mjs -- .github/actions/frozen-node-test-compat/action.yml .github/actions/frozen-node-test-compat/apply.mjs .github/workflows/ci.yml test/scripts/frozen-node-test-compat.test.ts: passed.checks-node-bundle-infra-small-runtime-9shard passed in 230 s CI wall (10:45:11–10:49:01 UTC).