Skip to content

fix(ci): register run-attempt-state.test.ts in its vitest lane (main is red) - #123363

Merged
steipete merged 1 commit into
mainfrom
fix/register-run-attempt-state-lane
Aug 13, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/register-run-attempt-state-lane

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

CI on main (and every open PR) fails checks-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") reports extensions/codex/src/app-server/run-attempt-state.test.ts as 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 in test/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

  • Repro: main CI run (checks-node-compact-large-4) fails with + ["extensions/codex/src/app-server/run-attempt-state.test.ts"]; same failure on rebased PR heads.
  • Post-fix, the audit no longer reports the file (verified locally; remaining local-only contract noise is a macOS artifact absent on Linux CI).

#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.
@clawsweeper

clawsweeper Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 13, 2026 23:02
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 13, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 13, 2026
@clawsweeper

clawsweeper Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 13, 2026, 7:06 PM ET / 23:06 UTC.

ClawSweeper review

What this changes

Registers the new Codex app-server state test in the Vitest lane that owns its run-attempt test siblings.

Regression provenance

Possible regression — suspected (known regression link). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep 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 maintainer label also requires explicit maintainer handling.

Priority: P2
Reviewed head: 6067c7b8b02cf6e6fea29c79eee5f4a8fa1ddbcb

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The submitted change is focused and plausible, but independent source and exact-head validation were unavailable in this review environment.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored CI-only repair is exempt from the external-contributor real-behavior-proof gate; exact-head CI remains the relevant validation.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored CI-only repair is exempt from the external-contributor real-behavior-proof gate; exact-head CI remains the relevant validation.
Evidence reviewed 3 items Submitted patch: The supplied PR diff adds only extensions/codex/src/app-server/run-attempt-state.test.ts to the adjacent run-attempt Vitest lane.
Related merged change: The provided GitHub context identifies merged PR #123345 as introducing the referenced test, which makes this lane-registration repair directly related.
Inspection limitation: Read-only shell inspection could not start: the environment returned bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted for both policy and source commands. No local source, history, or exact-head test claim is made.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

  • Resolve merge risk (P1) - Exact-head confirmation is still needed: local inspection and the reported ownership-audit reproduction could not be independently checked in this review environment.
  • Complete next step (P2) - The protected maintainer label and unavailable local inspection make this a maintainer validation path rather than an automated repair candidate.
Agent review details

Security

None.

PR surface

Tests +1. Total +1 across 1 file.

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

Review metrics

Metric Value Why it matters
Production versus test-support delta production 0, test support +1 The patch changes only CI test-lane ownership and does not expand runtime behavior.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    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.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best 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.

Labels

Label changes:

  • add P2: The reported ownership-audit failure disrupts repository validation broadly, while the proposed repair is small and CI-scoped.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored CI-only repair is exempt from the external-contributor real-behavior-proof gate; exact-head CI remains the relevant validation.

Label justifications:

  • P2: The reported ownership-audit failure disrupts repository validation broadly, while the proposed repair is small and CI-scoped.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored CI-only repair is exempt from the external-contributor real-behavior-proof gate; exact-head CI remains the relevant validation.

Evidence

What I checked:

Likely related people:

  • steipete: The supplied history attributes the merged related test addition and this corrective PR to steipete. (role: recent area contributor; confidence: medium; commits: e04dfd26e237, 6067c7b8b02c; files: extensions/codex/src/app-server/run-attempt-state.test.ts, test/vitest/vitest.extension-codex-app-server-attempt-extra.config.ts)

Rank-up moves

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

  • Confirm the ownership audit and its full-suite CI shard pass on the current PR head.

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 d9d9702 into main Aug 13, 2026
162 of 163 checks passed
@steipete
steipete deleted the fix/register-run-attempt-state-lane branch August 13, 2026 23:13
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

steipete added a commit that referenced this pull request Aug 14, 2026
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.
steipete added a commit that referenced this pull request Aug 14, 2026
…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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
…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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
…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.
pacocartones added a commit to pacocartones/openclaw that referenced this pull request Aug 28, 2026
`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.
pacocartones added a commit to pacocartones/openclaw that referenced this pull request Aug 28, 2026
`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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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