Repository navigation
fix(test): bound Testbox agentic and extension suites - #115696
Conversation
b33eb36 to
46298d7
Compare
cffcadb to
4d436b6
Compare
7001b86 to
254a644
Compare
254a644 to
56a6034
Compare
b5a0fd2 to
1ae902b
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 7:17 AM ET / 11:17 UTC. ClawSweeper reviewWhat this changesThe branch marks delegated remote Testbox full-suite runs and expands the agentic and extension aggregate Vitest shards into their existing project-level process plans only for that remote path. Merge readinessKeep this PR open for maintainer review. The remote-only split is narrowly scoped and has focused planner coverage, but it changes the full Testbox execution topology; the available evidence does not demonstrate an exact-head serial Testbox full-suite completion with the expanded plan. Priority: P2 Review scores
Verification
How this fits togetherThe PR gate sends the repository’s full test suite to a remote Testbox. The full-suite planner converts the environment and test-shard configuration into serial Vitest process plans, which determine coverage, process lifetime, and whether the remote gate completes. flowchart LR
A[PR gate] --> B[Remote Testbox environment]
B --> C[Full-suite planner]
C --> D{Remote bounded mode}
D -->|enabled| E[Project-level test plans]
D -->|disabled| F[Aggregate shard plans]
E --> G[Serial Vitest processes]
F --> G
G --> H[Full-suite result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +20, Other +7. Total +27 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the remote-only bounded topology if an exact-head serial Testbox full-suite run records the expanded plan, completes within the configured lease, and shows the intended project coverage; otherwise narrow the planner condition based on the observed missing or failing path. Do we have a high-confidence way to reproduce the issue? Unclear: the remote planner path and its conditional expansion are source-reproducible, and the PR body reports prior worker exhaustion, but the supplied evidence does not include a completed exact-head serial Testbox full-suite reproduction. Is this the best way to solve the issue? Unclear: limiting the change to the two named remote aggregate shards is a plausible bounded fix, but an end-to-end Testbox completion and coverage result is needed before calling it the best solution. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 7a9d2c3e72a2. LabelsLabel 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
HistoryReview history (6 earlier review cycles)
|
1ae902b to
56908d1
Compare
f89aa1e to
54d66dd
Compare
54d66dd to
8c8ed85
Compare
8c8ed85 to
9824e36
Compare
|
ClawSweeper rank-up evidence:
I am not repeating the unchanged 97-minute full run: the single failed surface was isolated, fixed on |
|
Merged via squash.
|
* origin/main: (99 commits) docs(automation): rename scheduled-tasks feature wording to Automations (#114855) feat(ui): finish cron -> Automations rename in visible strings (#114853) feat(cli): add openclaw automations alias and reword cron display prose (#114854) feat(agents): rename scheduler agent tool cron -> automations (#114841) fix(tui): preserve session state across switches and reconnects (#116399) feat(agents): report CLI command outcomes in channel progress fix(cli): preserve explicit option intent (#116389) fix(release): trust update restart harness (#116301) test(reef): remove false-green live guard smoke (#116393) test(comfy): evaluate live guards after setup (#116388) fix(heartbeat): serialize wake lifecycle state (#116351) test: remove redundant extension boundary wrapper (#116385) fix(test): bound Testbox agentic and extension suites (#115696) fix(ui): show the correct Threads page size (#116349) test(discord): align progress timing expectations (#116377) feat(ui): add composable skill references (#116330) fix(qa): prevent Slack cleanup from stalling profile runs (#116361) fix(ci): validate frozen release candidates faithfully (#116357) improve(ci): fail_fast option for release validation, off by default (#116352) fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels ...
* fix(test): split Testbox extension processes * fix(test): split Testbox agentic processes
What Problem This Solves
Fixes remote Testbox full-test failures caused by long-lived aggregate Vitest workers retaining module state until they exhaust memory.
Two independent failures reproduced the same topology bug:
agents-coreworker climbed to 4.019 GiB and exited immediately aftermodels-config.providers.stepfun.test.ts.Why This Change Was Made
The PR gate marks its delegated full-suite command with
OPENCLAW_TESTBOX_REMOTE_RUN=1. The full-suite planner uses that marker to expand only the two proven memory-heavy aggregate shards,agenticandextensions, into their existing project-level plans.That activates the existing bounded process topology without changing ordinary CI:
agents-coreuses its existing six process chunks of 104-105 files;The existing 8 GiB aggregate extension heap floor remains as a fallback outside this remote path.
User Impact
No product behavior changes. Maintainers get a full Testbox gate that can complete agentic and extension coverage instead of losing a worker to cumulative retained state.
Evidence
agents-corereached 4.019 GiB and exited unexpectedly after 7m28s: https://github.com/openclaw/openclaw/actions/runs/30462930063agents-coreinto six 104-105-file processes.git diff --checkpasses.