Repository navigation
fix(code-index): reserve callable rewarm dispatch time - #4747
Closed
ScriptedAlchemy wants to merge 1 commit into
Closed
ScriptedAlchemy wants to merge 1 commit into
ScriptedAlchemy wants to merge 1 commit into
Conversation
|
ScriptedAlchemy
added a commit
that referenced
this pull request
Nov 4, 2026
Retain the original strict read-amplification and equal-work assertions. Publish actual summary lineage for each 64-row batch through the guarded production authority before measurement; raw messages without that lineage must not be dropped. Apply exact Bazel rustfmt output for the recent fixes. Consolidate #4747's complete callable rewarm source as a second parent, without modifying its two files. The draft source remains unverified.
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.
Superseded by #4742. Commit e28de398 includes this PR's complete head
b484bc84as its second parent and retains both source files byte-exact. The source branch remains intact. This closes duplicate review scope only; the imported draft source is not claimed validated, fixed for #4558, or merged into master. #4558 remains open.Root cause
Refs #4558. The earlier merged #4709 reserves response-settlement time for project graph reads, but a separate callable graph path still spends almost all of its remaining request budget waiting for a released engine during seed classification and then again for the catalog. The first
tracedecay_callers/graph navigation after a release can consequently reach the enclosing MCP dispatch timeout before returning an unavailable/retryable state.Change
rewarm_wait_budgetpolicy from project graph reads; expose it only within the crate.Unavailableresult promptly instead of blocking through the dispatch deadline.Regression coverage
Adds
slow_callable_rewarm_reserves_time_for_seed_and_catalog_readsto exercise the shared budget with a 10-second outer deadline, a measured 17-second cold warm, and a short 2-second warm. The existinga_callers_request_after_park_waits_for_the_graph_to_rewarmintegration journey covers the short/ready case, but was not run on this branch.Validation and limitations
The exact two-file commit diff was independently read against master
02e6467. Rust/Bazel build, formatting and tests could not be executed in this tool environment; there is no claimed test pass or verified 6,219-file timing improvement. Hosted current-head CI, compile and actual release-to-first-call integration are required. No authorization, deadline, integrity, or admission limits are increased.This is partial progress on #4558. The callable API currently maps the rejected wait to typed
Unavailable, not a dedicatedRewarming { retry_after_millis }response. The original 6,219-file release/10-second MCP reproduction and, if needed, precise retry-after propagation remain outstanding. Keep #4558 open.The larger unrelated integration PR #4742 and release PR #4744 are untouched; the separate PR-repair automation owns CI, repairs, and merge.