fix(graphile): isolate plugin caches by owner - #1751
Draft
Zetazzz wants to merge 2 commits into
Draft
Conversation
Zetazzz
force-pushed
the
agent/graphile-build-cache-ownership
branch
from
September 6, 2026 01:51
90e84a2 to
a15ec5d
Compare
Zetazzz
force-pushed
the
test/performance-harness-core
branch
2 times, most recently
from
September 7, 2026 03:22
658736e to
f7c63ec
Compare
Zetazzz
force-pushed
the
agent/graphile-build-cache-ownership
branch
from
September 9, 2026 04:03
a15ec5d to
9f64a8c
Compare
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.
Plugin discovery state now belongs to its exact Graphile build, codec, or PostgreSQL pool. Concurrent builds and pools using the same database names cannot share mutable billing, agent, i18n, search, or BM25 discovery state.
API compatibility: two-argument
getLlmBillingConfigcalls remain supported with the client as their default owner; internal metering supplies the build explicitly. Cache statistics require an explicit owner. The deprecated typedbm25IndexStoreexport remains for caller-supplied configuration, but automatic discovery never populates it or reads an implicit build-level store.bm25ExtensionDetectedis removed; migration guidance is in the package READMEs.Rebased onto current
main. Deferred overlapping-owner tests cover billing and agent discovery, plus owner-specific invalidation and compatibility.Validation: 5 focused suites / 18 tests and affected CJS/ESM builds passed. Full CI passed all 17 jobs on
9f64a8c668519ba3d12fc3af82499755333cb2c1, including real database search coverage.Refs constructive-io/constructive-planning#1693 (F08).