Skip to content

improve: speed up Code Mode budget test - #119699

Merged
steipete merged 1 commit into
mainfrom
codex/test-code-mode-budget-perf
Aug 5, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/test-code-mode-budget-perf

Conversation

@steipete

@steipete steipete commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Code Mode headless budget test spent most of its runtime crossing the worker bridge 129 times sequentially, making one unchanged cumulative-budget assertion cost roughly 10 extra seconds in CI.

Why This Change Was Made

The test still issues and asserts all 129 tool calls, but batches them into groups of 16. That preserves the production default pending-call cap while exercising the cumulative 200-call cron budget across multiple worker legs.

User Impact

No user-visible behavior changes. The same coverage completes substantially faster.

Evidence

  • Before: src/agents/code-mode-headless.test.ts completed 65 tests in 17.35s in CI run 31029017326.
  • After: the same 65 tests completed in 7.66s in CI run 31030954873.
  • The complete compact-large count/topology ledger remained unchanged.
  • Autoreview: clean, no accepted/actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS maintainer Maintainer-authored PR labels Aug 5, 2026
@steipete steipete self-assigned this Aug 5, 2026
@steipete
steipete merged commit 9b02ea3 into main Aug 5, 2026
99 checks passed
@steipete
steipete deleted the codex/test-code-mode-budget-perf branch August 5, 2026 18:20
@steipete

steipete commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 5, 2026
…cope

* origin/main: (70 commits)
  fix(clickclack): preserve MIME extension for unnamed uploads (openclaw#119646)
  fix(memory): keep post-ready RPCs responsive (openclaw#119710)
  fix(browser): preserve locale, timezone, and device overrides (openclaw#119695)
  fix(agents): stop messaging dedupe from dropping final replies that quote a short tool send (openclaw#118178)
  test(agents): batch code mode budget proof (openclaw#119699)
  fix(memory): keep gateway RPCs responsive during startup (openclaw#119676)
  improve(ui): trail transient session status beside row actions (openclaw#119560)
  refactor(msteams): consolidate channel action target resolution (openclaw#119632)
  fix: tail context answers the current user message (openclaw#117364)
  fix(whatsapp): exercise descriptor-safe credential persistence (openclaw#119621)
  fix(diagnostics-otel): route OTLP endpoints by signal (openclaw#101655)
  refactor(skills): consolidate workshop transcript and record normalization (openclaw#119643)
  fix(video): harden DashScope task and media lifecycle (openclaw#117303)
  refactor(transcripts): consolidate persistence and export ownership (openclaw#119634)
  fix: preserve ClickClack discussion state contracts (openclaw#118851)
  fix(matrix): retire shared E2EE clients safely (openclaw#119570)
  refactor(cron): unify catch-up persistence and payload encoding (openclaw#119636)
  refactor(ui): centralize composer attachment and capability controls (openclaw#119650)
  refactor(daemon): consolidate managed service lifecycle ownership (openclaw#119647)
  fix(browser): honor explicit navigation timeouts across browser drivers (openclaw#119654)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant