Repository navigation
fix(ci): register run-attempt-state.test.ts in its vitest lane (main is red) - #123363
Conversation
#123345 added extensions/codex/src/app-server/run-attempt-state.test.ts without a lane owner; the full-suite ownership audit (test/vitest-projects-config.test.ts) fails on main and every PR. Register it beside its run-attempt siblings in the attempt-extra lane.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 13, 2026, 7:06 PM ET / 23:06 UTC. ClawSweeper reviewWhat this changesRegisters the new Codex app-server state test in the Vitest lane that owns its run-attempt test siblings. Regression provenancePossible regression — suspected (known regression link). No predecessor PR is attributed. Merge readinessKeep open: the PR is a narrowly scoped repair for a reported red-main CI audit, but local read-only inspection could not run because the sandbox failed during command startup. Its Priority: P2 Review scores
Verification
How this fits togetherThe full-suite test ownership audit assigns every normal test file to one Vitest project. This registration lets the Codex app-server test be discovered and executed by its intended CI shard. flowchart LR
A[Codex app-server test] --> B[Vitest lane configuration]
B --> C[Full-suite ownership audit]
C --> D[CI test shard]
D --> E[Main and PR validation]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +1. Total +1 across 1 file. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land only after the exact PR head shows the ownership audit and its full-suite shard passing, confirming that this is the sole missing lane registration. Do we have a high-confidence way to reproduce the issue? No: the PR describes a deterministic ownership-audit failure, but this review environment could not execute read-only repository commands to verify it on current main or the PR head. Is this the best way to solve the issue? Unclear: registering the test beside its run-attempt siblings is plausible from the supplied diff, but the owning configuration and audit contract could not be inspected locally. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 28092cb1fcbb. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…23387) * feat(skills): resolve explicit $skill references on every channel Explicit $skill-name references from authorized senders now resolve on all channels, not only WebChat/Control UI, and explicitly referenced skills are always invoked: disable-model-invocation keeps a skill out of model-initiated selection but no longer blocks user-initiated explicit references. Hidden skills carry their SKILL.md path in the injected instruction since the model cannot discover them from the available-skills prompt. Part of #123367 * fix(ci): dedupe run-attempt-state vitest lane ownership Main is red on the full-suite ownership audit from the #123235 x #123363 double-registration race. Keep run-attempt-state.test.ts beside its run-attempt siblings in the extra lane and heal the audit here per the land-onto-red-main policy.
…law#123363) openclaw#123345 added extensions/codex/src/app-server/run-attempt-state.test.ts without a lane owner; the full-suite ownership audit (test/vitest-projects-config.test.ts) fails on main and every PR. Register it beside its run-attempt siblings in the attempt-extra lane.
…enclaw#123387) * feat(skills): resolve explicit $skill references on every channel Explicit $skill-name references from authorized senders now resolve on all channels, not only WebChat/Control UI, and explicitly referenced skills are always invoked: disable-model-invocation keeps a skill out of model-initiated selection but no longer blocks user-initiated explicit references. Hidden skills carry their SKILL.md path in the injected instruction since the model cannot discover them from the available-skills prompt. Part of openclaw#123367 * fix(ci): dedupe run-attempt-state vitest lane ownership Main is red on the full-suite ownership audit from the openclaw#123235 x openclaw#123363 double-registration race. Keep run-attempt-state.test.ts beside its run-attempt siblings in the extra lane and heal the audit here per the land-onto-red-main policy.
`checks-node-compact-large-4` failed in `test/vitest-projects-config.test.ts > covers each normal full-suite test file exactly once`, reporting `extensions/codex/src/app-server/run-attempt-state.test.ts` registered in two lanes. Neither that test nor the vitest configs are touched by this PR, and the same shard failed identically on an unrelated PR of mine on the same run. It reproduces locally on a clean checkout of the previous merge base. The duplicate registration entered with `d9d97024002` (openclaw#123363) and was removed from `vitest.extension-codex-app-server-attempt-extra.config.ts` in `d2dad76ecde` (openclaw#123349), which is on main now. No change to this PR's diff.
`checks-node-compact-large-4` failed in `test/vitest-projects-config.test.ts > covers each normal full-suite test file exactly once`, reporting `extensions/codex/src/app-server/run-attempt-state.test.ts` registered in two lanes. Neither that test nor the vitest configs are touched by this PR, and the same shard failed identically on an unrelated PR of mine on the same run. It reproduces locally on a clean checkout of the previous merge base. The duplicate registration entered with `d9d97024002` (openclaw#123363) and was removed from `vitest.extension-codex-app-server-attempt-extra.config.ts` in `d2dad76ecde` (openclaw#123349), which is on main now. No change to this PR's diff.
What Problem This Solves
CI on
main(and every open PR) failschecks-node-compact-large-4: the full-suite test-file ownership audit (test/vitest-projects-config.test.ts"covers each normal full-suite test file exactly once") reportsextensions/codex/src/app-server/run-attempt-state.test.tsas uncovered. The file landed in #123345 (e04dfd26e23) without being registered in any vitest lane.Why This Change Was Made
Smallest correct fix for red main per repo policy: register the file beside its
run-attempt-*siblings intest/vitest/vitest.extension-codex-app-server-attempt-extra.config.ts(one line).User Impact
Unblocks CI for main and all open PRs; the new codex test actually runs in full suites.
Evidence
+ ["extensions/codex/src/app-server/run-attempt-state.test.ts"]; same failure on rebased PR heads.