Skip to content

Add bounded concurrent API requests with shared accounting - #297

Merged
0thernet merged 2 commits into
mainfrom
codex/memory-api-parallel-waves-20261001
Oct 1, 2026
Merged

0thernet merged 2 commits into
mainfrom
codex/memory-api-parallel-waves-20261001

Conversation

@0thernet

@0thernet 0thernet commented Oct 1, 2026

Copy link
Copy Markdown
Member

Outcome

The memory benchmark transport can now send up to four independent API requests together under one shared spending ledger. A finite plan reserves each group before sending, preserves dependency checkpoints and waits for in-flight requests to finish before stopping on a failure.

Interrupted groups retain unknown charges until an explicit, reviewed accounting closure. Closure cannot resume the run, retry a request or turn a captured response into an accepted result. Existing campaign runners continue to use the serial transport unless an experiment selects the new API.

Contract impact

Adds versioned benchmark-only plan, journal, checkpoint and batch-accounting records with bounded sizes, plus their cost registry and usage guide. Existing serial request, capture, budget and ledger formats are unchanged. The library, stored Oh data and packaged entry points are unchanged.

Verification

  • 84 focused tests, 2,744 assertions passed, including 478 invented requests with equal serial/concurrent results and cost accounting across 120 groups and 24 sessions.
  • Script and strict fixture typechecks passed; 52 cost surfaces validated; independent AI source review found no remaining issues.
  • Package dry-run inspected: 560 files, 14.51 MB unpacked. No credentials or private research data included.
  • Required CI aggregate on the final head and base; results will be recorded here.

Tests use invented responses. This change makes no provider-quality, throughput or benchmark-performance claim.

@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
oh-beam-reader-runtime Ready Ready Preview Oct 1, 2026 3:41pm UTC
oh-vercel-wasm Ready Ready Preview Oct 1, 2026 3:41pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
oh-computer Ignored Ignored Preview Oct 1, 2026 3:41pm UTC

Request Review

@0thernet
0thernet merged commit 7ed066f into main Oct 1, 2026
20 checks passed
@0thernet
0thernet deleted the codex/memory-api-parallel-waves-20261001 branch October 1, 2026 15:47

This branch was successfully deployed

3 active (1 outdated) deployments
Preview – oh-vercel-wasm — af96b27d Deployed Oct 1, 2026 by vercel[bot]
Preview – oh-beam-reader-runtime — af96b27d Deployed Oct 1, 2026 by vercel[bot]
Preview – oh-computer — afa47b74 Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant