chore(entity-caching): benchmark suite and dev tooling (6/6)#2954
chore(entity-caching): benchmark suite and dev tooling (6/6)#2954SkArchon wants to merge 8 commits into
Conversation
…tooling Extracted from jensneuse/entity-caching-v2 (PR #2777) — supporting material, stacked on entity-caching-3-playground-studio. - benchmark: k6 cache-demo scenarios, fixtures, response-equivalence verification, Redis/pprof capture scripts, suite runner + tests - docs/entity-caching: configuration, directives, analytics + RFC, engineering brief, demo guide, REQUEST_SCOPED.md, and the self-contained pre-release testing kit (docker-compose, Yoga subgraph, smoke-test scripts) - cli/cachegraph-cachedemo: composition fixtures for the cache demo - root Makefile targets and .gitignore entries for the demo/benchmark stacks - CLAUDE.md session notes and PLAN.md working plan (PLAN.md likely should be dropped before merge) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Unreferenced wgc compose working directory; duplicates demo/config-cache-only.json and the subgraph SDLs in demo/pkg/subgraphs — demo/Makefile's compose-cache target is the canonical compose path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Keeps the working plan with the rest of the entity caching docs instead of at the repo root. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Removes docs/entity-caching (incl. the PR-checkout-based pre-release testing kit and PLAN.md) and docs/REQUEST_SCOPED.md. The kit is tied to PR #2777's source branch and becomes obsolete once the feature ships; the remaining docs can be reintroduced separately if wanted. Pre-existing files under docs/ are untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…on PR composition/CLAUDE.md, AGENTS.md, and COMPOSITION_CONVENTIONS.md are agent/dev working notes, not feature code — relocated from the composition+proto PR to keep that diff reviewable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…xport destination Moved here from the router PR — this is a general tracing optimization, not entity caching. Motivated by benchmarking the cache demo: with tracing enabled by default, no graph token, and only the auto-inserted Cosmo Cloud exporter, the router records 100%-sampled spans and runs the BatchSpanProcessor for an export that goes nowhere (~60% of allocations at 50 sustained VUs were OTel span work). Keeping the NeverSample placeholder provider makes IsRecording() false and short-circuits all span work. Recording still happens when a graph token is set, a custom exporter endpoint is configured, or a test memory exporter is installed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
composition-go was removed on main (#2830); the compose path is wgc from the workspace (consuming composition's built dist). Also reflect the router-tests/entitycaching package rename. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## milinda/entity-caching-3-playground-studio #2954 +/- ##
==============================================================================
- Coverage 46.22% 44.89% -1.34%
==============================================================================
Files 1121 1101 -20
Lines 158932 154457 -4475
Branches 11122 10123 -999
==============================================================================
- Hits 73464 69341 -4123
+ Misses 83515 83158 -357
- Partials 1953 1958 +5
🚀 New features to boost your workflow:
|
Router image scan failed❌ Security vulnerabilities found in image: Please check the security vulnerabilities found in the PR. If you believe this is a false positive, please add the vulnerability to the |
Part 6 of 6 — split out from #2777. Stacked on the playground/studio PR.
What's included
Makefiletargets and.gitignoreentries for the demo/benchmark stacksCLAUDE.mdsession notes and composition meta-docs (composition/CLAUDE.md,AGENTS.md,COMPOSITION_CONVENTIONS.md)🤖 Generated with Claude Code