fix(pr): preserve scoped caches and share GitHub read budgets - #626
Merged
Merged
Conversation
Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit f4600d77dd7c2fa9f10e8f4500882e427fcc7e26)
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com> (cherry picked from commit d612d12b8bb278af97b0029f8d48b2403a5f9ee6)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This branch was successfully deployed
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.
Completing a turn or changing one PR previously cleared unrelated persisted reads, and hostless versus explicit GitHub references duplicated detail reads. This scopes invalidation to the affected project or PR, canonicalizes cache references, recovers compatible legacy snapshots, and includes CLI reads in the shared GitHub budget with a bounded quota probe and interactive reserve.
Preserves Pylon’s environment-specific cache fence, selected-environment RPC routing, old-server capability fallback, projected PR authority, and existing conservative GraphQL observation accounting. No cross-environment account router is introduced. Upstream’s router hedging changes and routed-account service tests are inapplicable to Pylon’s absent router; optional server-local credential pinning and scoped quota primitives retain their host checks. Forgejo-only snapshot behavior is not applicable to Pylon’s currently supported providers.
Sources and credit: Bilal Bakr / Julius Marminge,
f4600d77dd7c2fa9f10e8f4500882e427fcc7e26(#11888); maria / maria-rcks,d612d12b8bb278af97b0029f8d48b2403a5f9ee6(#12168). Original authors and cherry-pick provenance preserved.Validation: 177 focused backend tests (six files) passed after adapting two test fixtures; 266 tests across PR detail logic, service, checkpoint and rollback paths passed. Server/web scoped typechecks and changed-file lint passed (existing warnings). Direct adversarial self-review covers host/environment isolation, mutation/turn invalidation, persisted TTL/revision behavior, reserve exhaustion and CLI credential host boundaries. No delegated review per maintainer instruction. No visual layout changes; cache behavior is covered by focused tests. Final-head CI required before merge.
Part of #625; parent inventory #598. Frozen head/cursor unchanged. No migration, release or installation.
Implemented and reviewed directly with Codex (GPT-6-Astra).
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.