Skip to content

fix(ci): restore services typecheck headroom - #148885

Merged
steipete merged 1 commit into
mainfrom
codex/ci-services-type-headroom-2582
Sep 15, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/ci-services-type-headroom-2582

Conversation

@steipete

@steipete steipete commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Related: #148868, #148861.

What Problem This Solves

Fixes CI rejecting unrelated pull requests when the services test type-check group exceeds its 700-root budget.

User Impact

No runtime behavior changes. This restores type-check headroom while preserving every test, the 700-root early guard, and the 720-root hard limit.

Why This Change Was Made

Move the complete 83-test secrets family into the existing agents-tools group, alongside security, sandbox, and execution-safety tests. Services drops from 702 to 619 roots; agents-tools rises from 433 to 516. Graph identities, ordering, stripe assignments, compiler concurrency, and CI jobs stay unchanged.

Evidence

The existing partition regression reproduced services: 702 test roots exceeds the 700 limit on main aa0f68eca546. After the move, all 24 tests in tsgo-core-test-shards.test.ts passed, including exact coverage, partitioning, consuming-graph selection, and compiler cancellation. Both affected compiler groups passed with the repository's native type-check wrapper. The changed-file gate and formatting checks passed. Independent review through P2 found no actionable issues.

Exact-head CI completed successfully, including the required CI gate. Fresh ClawSweeper review found no actionable issues.

@steipete steipete self-assigned this Sep 15, 2026
@clawsweeper

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

@steipete
steipete marked this pull request as ready for review September 15, 2026 07:46
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Sep 15, 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 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 3:52 AM ET / 07:52 UTC.

ClawSweeper review

What this changes

Moves secrets tests from the services compiler group into the existing agents-tools group and updates the CI documentation to restore type-check headroom.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused repair for the services type-check partition overflow on current main. No actionable patch defects were found, and the earlier infrastructure repair does not supersede it.

Priority: P2
Reviewed head: ca1fef45226740d3f7523b48d4a4ee8c0f1cd472

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused partition repair with existing regression coverage, independently checked root counts, and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies a maintainer-authored CI-only repair, so external-contributor runtime proof is not required; reported validation directly covers the inventory guard and both affected compiler groups.
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-only repair, so external-contributor runtime proof is not required; reported validation directly covers the inventory guard and both affected compiler groups.
Evidence reviewed 7 items Introduced change preserves the existing compiler contract: Both configurations extend the same shard configuration. The identical secrets .test.ts and .test.tsx patterns move together; compiler options, cache identities, registry ordering, and execution code remain unchanged.
Headroom independently checked: Read-only filesystem glob expansion found 619 services test roots, 516 agents-tools roots, and 83 secrets tests. This confirms the reported redistribution; it was not a compiler execution.
Existing regression guard covers the defect: The existing test expands the real TypeScript configurations and requires every canonical test root exactly once with a 700-root limit. The production boundary retains its 720-root limit, and changed-test selection continues to include every consuming graph.
Findings None None.
Security None None.

How this fits together

OpenClaw divides its test sources into bounded compiler groups for CI type checking. Shared inventory guards enforce complete coverage and group-size limits before the compiler runner processes those groups.

flowchart LR
  A[Test source files] --> B[Compiler group configurations]
  B --> C[Coverage and size guards]
  C --> D[Existing CI stripes]
  D --> E[Bounded compiler processes]
  E --> F[Type-check result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0, Docs 0. Total 0 across 3 files.

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

Review metrics

Metric Value Why it matters
Compiler-group headroom Services 702 → 619; agents-tools 433 → 516; early limit remains 700 The redistribution restores room for growth without weakening the guard or adding compiler groups.

Technical review

Best possible solution:

Retain the existing compiler groups and coverage guards while redistributing the complete secrets test family into available capacity.

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

Yes, the existing configuration-inventory regression directly checks the 700-root limit, and the inspected pre-fix assignment totals 702 services roots. This review verified source and glob counts without running the test.

Is this the best way to solve the issue?

Yes. Moving one complete test family between groups with identical inherited compiler settings is a narrow repair that preserves coverage, limits, and scheduling.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This bounded CI partition repair restores validation for unrelated changes without affecting product 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-only repair, so external-contributor runtime proof is not required; reported validation directly covers the inventory guard and both affected compiler groups.

Label justifications:

  • P2: This bounded CI partition repair restores validation for unrelated changes without affecting product 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-only repair, so external-contributor runtime proof is not required; reported validation directly covers the inventory guard and both affected compiler groups.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; 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 1c7d93d into main Sep 15, 2026
180 checks passed
@steipete
steipete deleted the codex/ci-services-type-headroom-2582 branch September 15, 2026 08:05
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 15, 2026
* commit '0945dabbe487213e95e84a72ad1aae3659e0e000': (115 commits)
  fix: omit automation service aliases from squash coauthors (#148883)
  test: restore services typecheck shard headroom (#148885)
  perf(trajectory): avoid native probes for truncation records (#148870)
  improve(gateway): load cron only when reload requests it (#143500)
  fix: resolve issue #146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run (#148174)
  refactor(theme): share nonvirtual ANSI color lookup (#148717)
  perf(gateway): scope exact session row topology reads (#148836)
  improve(memory): reduce vector replacement overhead (#148201)
  fix(i18n): keep HTTP headers out of native translations (#147119)
  refactor(plugins): share source-root display formatting (#148646)
  fix(cron): reject blank script paths before mutations (#148787)
  refactor(config): share audit positional scanning (#148643)
  fix(test): restore infrastructure typecheck shard headroom (#148861)
  fix(release): harden package validation fallbacks (#148729)
  refactor(config): share leaf and descendant unset pruning (#148216)
  test: reuse prepared runtime for pristine preflight (#148858)
  fix(ui): settle global model drafts across agent switches (#148843)
  fix(queue): avoid repeated scans when cancelling backlogs (#148754)
  fix(logging): orphaned \\\\?\\ path markers corrupt redacted Windows diagnostics (#147542)
  refactor(hooks): share optional reply metadata projection (#148641)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation 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