Repository navigation
feat(server): add prefix cache to paged concurrency (qwen AR) - #655
Merged
Merged
Conversation
Graffioh
force-pushed
the
codex/paged-prefix-cache-ar
branch
3 times, most recently
from
August 25, 2026 08:07
aeaeb5b to
8aaa6ae
Compare
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@Graffioh I have started the AI code review. It will take a few minutes to complete. |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 25 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Graffioh
marked this pull request as ready for review
August 25, 2026 15:03
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 26 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 10 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Graffioh
force-pushed
the
codex/paged-prefix-cache-ar
branch
from
August 26, 2026 13:03
ca218d5 to
99129bb
Compare
davide221
pushed a commit
to Graffioh/lucebox-hub
that referenced
this pull request
Sep 12, 2026
Resolve the prefix-cache, scheduler, engine, and slot-manager overlap with Luce-Org#665, Luce-Org#720, Luce-Org#598, and Luce-Org#625/Luce-Org#642: - reserve_inline_snap() takes restore_source_slot (from Luce-Org#665) ahead of the resident-byte estimator; the restore source is never the eviction or budget victim and the free-slot path skips it. The Luce-Org#665 tests are ported to the reservation API. - The scheduler builds the prefix plan and admits with it inside the admit-first flow from Luce-Org#720; every non-admitted outcome and a failed SSE header send cancel the capture transaction. - pending_capture and seed_restored_prefix() move to the shared SeqSlotManager; the Qwen aliases stay. - The engine keeps its out-of-line constructor and initialises pool_. - The new flag is documented in server/README.md.
Rebased onto main after Luce-Org#665, Luce-Org#598, Luce-Org#625/Luce-Org#642, and Luce-Org#720. Original commits by Graffioh (8aaa6ae, 0493354, 171015f, 99129bb); rebase resolution by mrciffa: - reserve_inline_snap() takes restore_source_slot ahead of the resident byte estimator; the restore source is never the eviction or budget victim and the free-slot path skips it. The Luce-Org#665 tests are ported to the reservation API. - The scheduler builds the prefix plan and admits with it inside the admit-first flow; every non-admitted outcome and a failed SSE header send cancel the capture transaction. - pending_capture and seed_restored_prefix() live in the shared SeqSlotManager. - The engine keeps its out-of-line constructor and initialises pool_. - The new flag is documented in server/README.md.
davide221
force-pushed
the
codex/paged-prefix-cache-ar
branch
from
September 12, 2026 18:52
4daa228 to
3a981ce
Compare
davide221
pushed a commit
to Graffioh/lucebox-hub
that referenced
this pull request
Sep 12, 2026
Rebased onto main after Luce-Org#720 and Luce-Org#655. Original commit by Graffioh (9938ab1); rebase resolution by mrciffa: the scheduler's admit-first block keeps main's structure and its capacity-exceeded and failed outcomes use the error envelope, and the deferred-admission shutdown reply sends the envelope without an SSE preamble (no bytes are on the wire before admission).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Correctness review
The pre-draft review fixed these lifecycle hazards:
Verification
Draft gates
This PR targets main as the AR ownership/mechanism base. Open speculative concurrency PRs #642 and #654 overlap in SeqEngine, Qwen, scheduler, and target-graph files; they should consume this opaque prefix-store boundary during their rebase rather than duplicate snapshot ownership.