Skip to content

feat: add PQL manifest support for persisted operations#2635

Merged
StarpTech merged 40 commits into
mainfrom
dustin/eng-9107-router-control-plane-implement-persisted-query-list-pql
Mar 27, 2026
Merged

feat: add PQL manifest support for persisted operations#2635
StarpTech merged 40 commits into
mainfrom
dustin/eng-9107-router-control-plane-implement-persisted-query-list-pql

Merge branch 'main' into dustin/eng-9107-router-control-plane-impleme…

c2a946e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 27, 2026 in 1s

63.87% (target 30.00%)

View this Pull Request on Codecov

63.87% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 71.45791% with 139 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.87%. Comparing base (9a303d1) to head (c2a946e).

Files with missing lines Patch % Lines
...internal/persistedoperation/pqlmanifest/fetcher.go 57.14% 18 Missing and 12 partials ⚠️
...r/internal/persistedoperation/pqlmanifest/store.go 53.33% 23 Missing and 5 partials ⚠️
router/core/router.go 50.00% 20 Missing and 3 partials ⚠️
.../persistedoperation/operationstorage/cdn/client.go 56.86% 16 Missing and 6 partials ⚠️
...l/persistedoperation/operationstorage/s3/client.go 0.00% 11 Missing ⚠️
...es/persisted-operation/deletePersistedOperation.ts 77.77% 6 Missing ⚠️
.../internal/persistedoperation/pqlmanifest/poller.go 86.36% 3 Missing and 3 partials ⚠️
.../persisted-operation/publishPersistedOperations.ts 82.14% 5 Missing ⚠️
router/core/graph_server.go 87.87% 2 Missing and 2 partials ⚠️
router/internal/persistedoperation/client.go 85.71% 1 Missing and 1 partial ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2635      +/-   ##
==========================================
+ Coverage   63.10%   63.87%   +0.76%     
==========================================
  Files         245      554     +309     
  Lines       26273    70000   +43727     
  Branches        0     4665    +4665     
==========================================
+ Hits        16580    44709   +28129     
- Misses       8352    23888   +15536     
- Partials     1341     1403      +62     
Files with missing lines Coverage Δ
.../src/core/bufservices/persisted-operation/utils.ts 100.00% <100.00%> (ø)
...lane/src/core/repositories/OperationsRepository.ts 91.60% <100.00%> (ø)
router/core/cache_warmup.go 87.98% <100.00%> (ø)
router/core/cache_warmup_manifest.go 100.00% <100.00%> (ø)
router/core/graphql_prehandler.go 84.64% <100.00%> (-0.03%) ⬇️
router/core/operation_processor.go 85.01% <100.00%> (+0.05%) ⬆️
router/pkg/authentication/oidc_discovery_client.go 72.72% <100.00%> (+1.29%) ⬆️
router/pkg/config/config.go 80.51% <ø> (ø)
router/internal/persistedoperation/client.go 91.07% <85.71%> (-2.12%) ⬇️
...l/persistedoperation/operationstorage/fs/client.go 54.83% <0.00%> (-3.79%) ⬇️
... and 9 more

... and 312 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.