Skip to content

test(ci): register run-attempt native-config and subscription tests - #151349

Merged
steipete merged 1 commit into
mainfrom
fix/register-run-attempt-native-config-tests-20260918
Sep 18, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/register-run-attempt-native-config-tests-20260918

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Main is red on checks-node-compact-small-39: test/vitest-projects-config.test.ts > covers each normal full-suite test file exactly once reports two unowned files, extensions/codex/src/app-server/run-attempt.native-config.test.ts and run-attempt.subscription.test.ts, both added by #151001 without a shard registration. Every PR whose merge ref includes #151001 fails this job (observed on #151316, run 35302457312).

User Impact

CI only. Registers the two files in the extension database-workers shard next to their run-attempt.* siblings so the ownership audit passes and the tests actually run in the full suite.

Evidence

node scripts/run-vitest.mjs test/vitest-projects-config.test.ts: 246 passed (fails before the change with the two paths listed as missing).

#151001 added run-attempt.native-config.test.ts and run-attempt.subscription.test.ts without a shard owner, so test/vitest-projects-config.test.ts (full-suite ownership audit) fails on every merge ref (checks-node-compact-small-39). Register both next to their run-attempt siblings in the extension database-workers shard.
@clawsweeper

clawsweeper Bot commented Sep 18, 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.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 18, 2026
@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 Sep 18, 2026
@clawsweeper

clawsweeper Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 17, 2026, 11:35 PM ET / September 18, 2026, 03:35 UTC.

ClawSweeper review

What this changes

Registers two existing Codex regression suites in the isolated database-worker test project so the full test suite includes them.

Merge readiness

✅ Ready for maintainer review

This remains a useful, narrowly scoped CI repair: current main still lacks both registrations, and the existing ownership audit supports the change. No actionable patch defects were found.

Priority: P2
Reviewed head: 9b68f5000cf5709dd5ba863175df8dbefc5fc7c3

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair using the existing owner, supported by relevant audit coverage and no identified correctness defects.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies a maintainer-authored CI repair, exempt from external-contributor runtime proof; the reported ownership-audit pass directly addresses the changed routing contract.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies a maintainer-authored CI repair, exempt from external-contributor runtime proof; the reported ownership-audit pass directly addresses the changed routing contract.
Evidence reviewed 7 items Verified introduced change: The pinned base-to-head diff adds only the native-config and subscription test paths to the existing inventory; git diff --check passed.
Still necessary on current main: The fetched main inventory omits both paths, although both test files exist at that revision. The latest release tree, v2026.9.4, contains neither test file, so this addresses subsequent development rather than a demonstrated shipped runtime defect.
Existing execution owner: The database-worker project consumes this inventory with pool forks and isolation enabled. Other extension projects exclude the shared inventory; the Codex support project already excludes run-attempt suites. The full extensions shard includes the database-worker project.
Findings None None.
Security None None.

How this fits together

OpenClaw’s test configuration assigns test files to execution projects. The shared database-worker inventory routes database-dependent tests into isolated processes and prevents other projects from running them twice.

flowchart LR
  A[Existing regression tests] --> B[Shared test inventory]
  B --> C[Isolated database-worker project]
  B --> D[Other projects exclude these tests]
  C --> E[Full test suite]
  D --> F[Exactly-once ownership audit]
  E --> F
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +2. Total +2 across 1 file.

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

Review metrics

None.

Technical review

Best possible solution:

Keep both suites under the existing isolated database-worker owner and retain the exactly-once audit as the registration guard.

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

Yes, from source: both files exist on current main but lack a full-suite owner, which the ownership audit rejects. This review did not execute the tests.

Is this the best way to solve the issue?

Yes. Adding the missing entries to the shared inventory restores the existing execution contract without weakening the audit or introducing another routing mechanism.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 22379777ae87.

Labels

Label changes:

  • add P2: This repairs a bounded test-discovery defect 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 supplied repository state identifies a maintainer-authored CI repair, exempt from external-contributor runtime proof; the reported ownership-audit pass directly addresses the changed routing contract.

Label justifications:

  • P2: This repairs a bounded test-discovery defect 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 supplied repository state identifies a maintainer-authored CI repair, exempt from external-contributor runtime proof; the reported ownership-audit pass directly addresses the changed routing contract.

Evidence

What I checked:

Likely related people:

  • steipete: 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 f5c0aa3 into main Sep 18, 2026
149 checks passed
@steipete
steipete deleted the fix/register-run-attempt-native-config-tests-20260918 branch September 18, 2026 03:55
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 18, 2026
…penclaw#151349)

openclaw#151001 added run-attempt.native-config.test.ts and run-attempt.subscription.test.ts without a shard owner, so test/vitest-projects-config.test.ts (full-suite ownership audit) fails on every merge ref (checks-node-compact-small-39). Register both next to their run-attempt siblings in the extension database-workers shard.
@steipete

Copy link
Copy Markdown
Contributor Author

Heads-up from the update campaign session: the two Codex tests from #151001 are registered on main since #151339 (70916d0), in the same shard next to their run-attempt.* siblings, together with the planner fix that this registration otherwise trips (ci-node-test-plan worker policy; class #93). This PR can close as superseded; not closing it from here since it belongs to your session.

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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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