Skip to content

Keep eight Private Cloud compact-block batches in flight - #60

Merged
tzarebczan merged 1 commit into
mainfrom
codex/private-cloud-sixteen
Nov 19, 2026
Merged

tzarebczan merged 1 commit into
mainfrom
codex/private-cloud-sixteen

Conversation

@tzarebczan

Copy link
Copy Markdown
Owner

Summary

Private Cloud compact-block prefetch already asks for eight batches. The 256 MiB reservation only let four of those batches start, so the web client kept eight posts in flight against a gateway that allows sixteen.

This raises the reservation to 512 MiB only when the transport is private-cloud and the prefetch width is eight. Each batch is two 500-block posts, which fills the sixteen block permits. Combined transparent scans stay at four batches and the ordinary 256 MiB cap. Other transports keep the existing cap.

Test plan

  • node --test packages/sdk/test/prefetch.test.ts (includes the eight-range reservation case)

The prefetch count was already eight, and the 256 MiB reservation
stopped the fifth batch from starting. Eight batches are two 500-block
posts each, which fills the gateway's 16 block permits. Combined
transparent scans stay at four batches and the ordinary cap.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T18:41:49.302566Z f285736 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tzarebczan
tzarebczan merged commit 34b1d1a into main Nov 19, 2026
8 checks passed
@tzarebczan
tzarebczan deleted the codex/private-cloud-sixteen branch November 19, 2026 19:03
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