This is a draft made with AIT - feat(graphql): migrate shimmer to orchestrion instrumentation#7757
This is a draft made with AIT - feat(graphql): migrate shimmer to orchestrion instrumentation#7757
Conversation
Replaces shimmer-based graphql instrumentation with orchestrion's tracingChannel approach. All 219 tests passing. - graphql.js: switch from addHook/shimmer to orchestrion channels - rewriter/instrumentations/graphql.js: orchestrion config for execute, parse, validate, resolveField across graphql versions - execute.js: use tracePromise with asyncEnd lifecycle - parse.js: use traceSync with document/source caching via WeakMap - validate.js: use traceSync with error tag on validation failures - resolve.js: use bindStart/end with field info from exeContext - state.js: shared WeakMap state for cross-plugin span coordination Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7757 +/- ##
==========================================
- Coverage 80.40% 80.20% -0.20%
==========================================
Files 741 742 +1
Lines 32110 32094 -16
==========================================
- Hits 25819 25742 -77
- Misses 6291 6352 +61
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.97 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.0 | 81.15 kB | 815.98 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
|
✨ Fix all issues with BitsAI or with Cursor
|
BenchmarksBenchmark execution time: 2026-03-12 02:34:13 Comparing candidate commit c7691b3 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 229 metrics, 31 unstable metrics. |
Replaces shimmer-based graphql instrumentation with orchestrion's tracingChannel approach. All 219 tests passing.
What does this PR do?
Motivation
Additional Notes