Repository navigation
fix(ci): repair deterministic scheduled full-CI failures - #188398
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. |
4585a0b to
58c5bcc
Compare
Register the legitimate Particle provider and its documentation in the existing extension labeler inventory. Co-authored-by: steipete <[email protected]>
The diffs tool now owns its callable-only prompt guidance through registerTool. Drop its obsolete before_prompt_build entry while preserving exact hook coverage. Co-authored-by: steipete <[email protected]>
Include the new worker-hosted Codex app-server E2E in the shared owner and hourly inventory. The existing two-row capacity contract remains enforced. Co-authored-by: steipete <[email protected]>
Keep local helpers and preview types private, remove the retired lifecycle dispatch wrapper and its obsolete tests, and register the two maintained benchmark commands with their documented host compiler. Co-authored-by: steipete <[email protected]>
The swap-result owner now preserves the original error, including its public source location. Require that location after the typed reason while retaining the private-diagnostic checks. Co-authored-by: steipete <[email protected]>
A published backup now registers compensation before source cleanup completes. Verify that the retained transaction restores the previous package version and runtime file after cleanup fails. Co-authored-by: steipete <[email protected]>
Windows does not implement POSIX owner, group, and other permission bits. Keep the metadata cases active there and retain the exact 0600 assertion on POSIX. Co-authored-by: steipete <[email protected]>
Update both exact notification expectations for the requester identity introduced by 8100c60. Preserve message, owner, delivery, and call-count assertions. Co-authored-by: steipete <[email protected]>
Expect an empty refreshed transcript with no initial replay after a destructive rewrite, and projection unavailability at final replay. Preserve rejection of stale replay consumption and owner revocation. Follows the bounded refresh contract from 8bc6317. Co-authored-by: steipete <[email protected]>
Register the two standalone measurement commands documented by their source headers as exact Knip roots. Keep their imports subject to normal reachability analysis. Co-authored-by: steipete <[email protected]>
Keep request preparation on its existing owner and preserve the PluginRuntime method signature. Route the remaining type and test references directly to the request module. Co-authored-by: steipete <[email protected]>
Project the exact methods selected through each supplying lazy runtime binder. Preserve live TTS exports and remove projected edges when their loader, binder, or selector disappears. Co-authored-by: steipete <[email protected]>
58c5bcc to
4cb4f66
Compare
|
Codex review: needs maintainer review before merge. What this changesThis PR updates CI inventories, models lazy TTS consumers, removes unused internal exports, and aligns tests with existing runtime behavior. Example: Scheduled CI inventories node-worker process tests.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs concrete CI inventory and expectation failures still present on main; no introduced correctness defect was found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherRepository CI consumes source files, explicit entrypoints, and test inventories to select validation work and identify unreachable code. flowchart LR
A[Repository source] --> B[CI inventories]
A --> C[Dynamic consumer compiler]
B --> D[Test planner]
C --> E[Knip analysis]
D --> F[CI gate]
E --> F
Technical reviewBest possible solution: Land the focused inventory and expectation repairs through the existing CI gate while leaving unrelated failures with their owners. Do we have a high-confidence way to reproduce the issue? The missing inventory entry deterministically violates the existing exact-inventory assertion; reported scheduled failures also have verified failed run metadata, although no target code was executed during this read-only review. Is this the best way to solve the issue? The patch uses existing inventory and dynamic-consumer owners, removes unreachable internal paths, and preserves production contracts rather than weakening assertions or adding blanket exclusions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f9c462ca7e58. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -30, Tests +10, Config +6, Other +33. Total +19 across 20 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 30, 2026, 10:37 AM ET / 14:37 UTC. |
|
Merged via squash auto-merge.
|
Backport the exact platform guard from main PR #188398 for the Windows FRV handoff lifecycle failures. Windows does not expose POSIX chmod semantics, so the 0600 assertion is only meaningful on non-Windows hosts. Co-authored-by: RomneyDa <[email protected]>
* test(release): skip POSIX mode check on Windows Backport the exact platform guard from main PR #188398 for the Windows FRV handoff lifecycle failures. Windows does not expose POSIX chmod semantics, so the 0600 assertion is only meaningful on non-Windows hosts. Co-authored-by: RomneyDa <[email protected]> * test(gateway): use spelled-word marker in Codex steer live test (#172666) The model intermittently drops trailing characters when echoing the 16-char hex steer marker, failing the exact-match assertion. Spelled NATO words echo intact; the exact equality check is unchanged. Co-authored-by: RomneyDa <[email protected]> * test(release): accept unloaded parent-child refusal The live Codex harness can safely refuse a parent-controlled V2 child either because the child remains controlled by its parent or because the unloaded child must be reached through the parent first. Preserve the refusal proof while accepting both exact runtime messages observed by FRV. Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Repair scheduled full-CI inventory and stale test-expectation failures. Remove dead internal exports, register maintained benchmark entrypoints, and trace real lazy TTS method consumers while preserving the public PluginRuntime methods and upstream Skill Workshop alias. Co-authored-by: steipete <[email protected]> (cherry picked from commit e1f1a79) Co-authored-by: RomneyDa <[email protected]>
…8398) Repair scheduled full-CI inventory and stale test-expectation failures. Remove dead internal exports, register maintained benchmark entrypoints, and trace real lazy TTS method consumers while preserving the public PluginRuntime methods and upstream Skill Workshop alias. Co-authored-by: steipete <[email protected]>
The #188398 backport registered Particle, but this frozen release does not ship that extension. Remove the forward-only label entry so the branch-owned extension inventory remains exact. Co-authored-by: RomneyDa <[email protected]>
The #188398 backport registered the forward-only Codex app-server E2E, but that test is not part of this frozen release. Remove the nonexistent owner so discovery and matrix balancing remain exact. Co-authored-by: RomneyDa <[email protected]>
The #188398 test update expected newer main hydration behavior that this release does not ship. Restore the branch-owned SessionEntryChangedDuringReadError contract for selected replay rewrites. Co-authored-by: RomneyDa <[email protected]>
The #188398 backport carried main-only expectations for cron repair authority, package refusal source locations, and successful native rollback. Restore the contracts implemented by this frozen release. Co-authored-by: RomneyDa <[email protected]>
目的: プラグインがプロバイダーに合わせた発話ガイダンスを組めるよう、 現在有効な一次 TTS プロバイダー・モデル・ペルソナを合成せずに取得する。 変更: api.runtime.tts.prepareSpeechPromptContext を追加する。通常の TTS と同じ ユーザー設定、agent / channel / account 層、ペルソナ binding、 モデル解決を使い、auto オフ・テキスト上書き不許可・一次 binding 不可は ready: false を返す。合成、fallback、credential、音声ファイル、 テキスト書き換えは行わず、プロバイダー設定や秘密情報も返さない。 runtime facade は選択中 registry とプラグインの寿命に束縛する。 検証: tts-prompt-context と registry.runtime-config のテストが通過。 rebase 時のコンフリクト解決 (onto 57fd13e, 元コミット 89d6eb7578c): - 上流 329a56d (openclaw#178002) が resolveReadySpeechProvider を単一呼び出しとして フォールバックループ内のクロージャへ畳み込んだ。本コミットで tts-prompt-context.ts が2つ目の呼び出し元になるため、export した関数として 1か所に戻し、ループ側のクロージャはその呼び出しに置き換えた。 畳み込みで外れていた VoiceModelRef の import も戻した - 上流 b3d00c9 (openclaw#183424) が types-core.ts の TTS 型エイリアスを TtsRuntimeApi[...] の直接参照へ畳んだ。エイリアスは復活させず、 prepareSpeechPromptContext も同じ直接参照の形で追加 rebase 時のコンフリクト解決 (onto 258d034, 元コミット 892cff4dd4d): - 上流 00ebec0 (openclaw#188280) が getResolvedSpeechProviderConfigForVoiceModel の 引数を providerId から provider (SpeechProviderPlugin) へ変えた。export 済みの resolveReadySpeechProvider をその形へ合わせ、ループ側は本コミットの呼び出しを採用 - 上流 e1f1a79 (openclaw#188398) が prepareTtsRequest を runtime-api.ts から外し、 loadTtsRequestRuntime の読み込み先を tts-request.js へ変えて、knip の 動的 consumer 追跡に lazy TTS メソッドを登録した。そのままでは prepareSpeechPromptContext が tts-request.js に無く実行時に解決できないため、 同じ方式で tts-prompt-context.js 専用の lazy loader / binder を足し、 型も typeof import(tts-prompt-context.js) の直接参照にし、 knip-dynamic-consumers.mjs に consumer を登録した。runtime-api.ts からの 再 export は上流の方針どおり置かず、test-support は直接 import する
What Problem This Solves
Fixes the listed deterministic failures observed in scheduled full CI on main.
User Impact
User impact: these inventory and test-expectation repairs address the listed CI failures without changing user-facing behavior; other failing lanes remain separate.
Why This Change Was Made
The stack repairs stale inventories, dead exports, and test expectations from scheduled CI while preserving the intended runtime contracts. It retains the upstream Skill Workshop direct alias from #188395.
16bc9db2d77: repairslabeler-extension-coverage.test.tsby covering Particle; introduced by851a5ea4afe.0b1a0a790ba: repairsboundary-invariants.test.tsby removing the retired diffs prompt-hook inventory; introduced byaacb5e162cf.a0527bdfeaf: repairsci-node-worker-e2e.test.tsby selecting the Codex node app-server process proof; introduced by3a195d3336c.800579e388e: repairs dead-code checks by removing dead exports/wrappers (45893d3ee45,db60454f310,8100c600886,9344233e7a6) and registering maintained Knip entrypoints (2e720d00c70,b53a06bfd93).26fc9ba0164: repairspackage-update-refusal.test.tsto require the preserved public source location; introduced bybd54db00f0d.fa265733535: repairspackage-update-steps.native-transaction.test.tsto require successful rollback after backup publication and source cleanup failure; introduced byca7ef93a998.be70730fcac: repairs the Windows POSIX-mode assertion inupdate-managed-service-handoff-lifecycle.test.tswhile retaining metadata coverage; introduced byeb3d2405454.ada302a3c3a: repairsservice.failure-alert.test.tsandtimer.batch-finalization.test.tsto assert requester job identity; introduced by8100c600886.dcbf8828637: repairsattempt-session-replay-cohort.test.tsto match bounded hydration refresh while rejecting stale replay; introduced by8bc631709922.466788ad796: repairs S15 unused-file findings by registering the maintained Doctor retirement and GitHub readiness benchmark entrypoints; introduced byf61e550d22cand885e57e9f9d.18d60e1babb: repairs the redundant internalprepareTtsRequestruntime re-export by moving type/test consumers to its request owner while preserving the PluginRuntime method and signature; exposed by46fcb7cb861.4cb4f66c4ab: repairs S15 export reachability by tracing each supplying lazy TTS binder and exact selected method, preserving all three live TTS exports; exposed by46fcb7cb861.Evidence
Failing evidence: scheduled CI run 41056382100, head
509d3f0083; the listed signatures also appeared atf980e01150. The retained scheduled run 41063477930, headf80ab2ad1c1a0d01ce5a73c39959c27daf425248, records newer dead-code findings and other independent failures. Direct publication to main was rejected with "push declined due to repository rule violations", so this stack uses the documented PR flow.Prior-head evidence is retained as prior-head evidence: six focused Vitest shards, architecture checks, core typecheck, and the main-push test-lines, max-lines, assertion-safety, test-mock-exports, and test-timeout-race ratchets passed. Independent repair-lane autoreviews were clean. The S15 worker additionally recorded 88 focused tests and scoped typecheck/lint/format passing, plus an independent P0–P2
scoped-cleanreview of its complete six-file candidate.The combined candidate rebases the nine independent repairs onto
63dbee6a514580948082dc20cb930c7e748c019e, drops the superseded Core-rename patch completely, and folds only the three reviewed S15 patches. The benchmark-list overlap retains both exact entrypoint sets. Simplification keeps one dynamic-consumer owner, removes the redundant request barrel path, and preserves negative controls for deleted/redirected consumers. The complete change is 129 added and 110 removed lines across 20 files. No baseline growth, blanket ignores, invented consumers, new owners, or CHANGELOG edits.Current-head evidence: combined Codex autoreview of
63dbee6a514580948082dc20cb930c7e748c019e..4cb4f66c4abreturnedscoped-cleanthrough P2. It assessed the diff and supplied source contracts; project execution and trailer verification were outside that independent review. On this exact combined head, all 74 tests acrosscheck-deadcode-exports.test.ts,tts-runtime-routing.test.ts,tts-request.resources.test.ts, andtts.test.tspassed (86.63s wrapper wall time). The scanner file took 863ms; the cold-runtime facade file took 48.56s including its first-call module preparation. Scoped typecheck, lint, formatting, andgit diff --checkpassed. All twelve task commits carry the exact requested human trailer; changed lines match their reviewed inputs, and the upstream alias files have no branch diff. Full Knip scans, broad suites, and Docker were left to PR CI. Local ClawSweeper is unavailable; the autoreview fallback is used.This stack does not claim every CI job is green. macOS fixture, registry build, and other independently owned failures remain separate lanes; remaining PR failures must be attributed to actual main signatures before any inherited-CI exception.
Requested by @steipete.
Work sessions