Repository navigation
feat: implement P0 greenfield subsystems (telemetry backpressure, RES… - #851
Merged
Mikey-222 merged 3 commits intoOct 21, 2026
Conversation
…T↔GraphQL contract parity, middleware CSP ordering, passkey/WS session binding) - Telemetry: ringBuffer priority ring with 70/90/50 hysteresis, network profiles, bounded flush, offline outbox, OTLP JSON exporter, worker flow-control protocol, WASM binary parser with batch + pooling, benchmark harness showing 1.8x speedup + allocation reduction - REST↔GraphQL: domain store with query counting + batch loaders; GraphQL SDL + resolvers with DataLoader per request; REST dispatch routes (zod validation, CRUD, 409/422 envelopes); event/sync routers; NamespacedCache with cross-surface invalidation; apiDrift config in package.json; swagger.json - Middleware CSP/CORS/RateLimit/HTTP2-Push: csp.ts builds policy with nonce + COOP/COEP headers; cors.ts enforces strict origins + wildcard; rateLimiter.ts has 5 tiers (general/prover/telemetry/auth/data); http2Push.ts safely filters push candidates - Passkey/WS session binding: session-store.js with bounded queue + reason coding; passkey-auth.js with error taxonomy; wsCluster.js with congestion pause/low-res; client passkey.ts; secureStorage.ts; sessionKey.ts; keyBackup.ts; wsClient.ts; swChannel.ts; syncManager.ts extended with graphQL union handling; tests api-contract.test.js + sql-cache.test.js (18 tests pass) - Added TelemetryLab UI/route /lab/telemetry with flood controls, conservation badges, drop ledger - Preserved COOP/COEP literals in server/index.ts and vite.config.ts - Contract drift script scripts/detect-api-drift.js with hash, version pins, entity/field/enum/operation checks - Telemetry bench: 20k frames, WASM 1.8x speedup, zero per-frame allocation at steady state
|
@ArtaXerxes-oss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…ontract-middleware-auth # Conflicts: # package-lock.json # package.json # scripts/detect-api-drift.js # server/graphql/resolvers.ts # server/graphql/schema.ts # server/graphql/server.ts # server/lib/sqlCache.ts # server/middleware/cors.ts # server/middleware/csp.ts # server/middleware/http2Push.ts # server/middleware/rateLimiter.ts # server/routes/dispatch.ts # server/routes/sync.ts # server/telemetry.js # server/telemetryBootstrap.js # src/components/TelemetryLab.jsx # src/lib/networkEstimator.ts # src/lib/ringBuffer.ts # src/lib/syncManager.ts # src/lib/telemetry.ts # src/main.tsx # src/utils/binaryParser.js # src/utils/binaryParserWasm.js # src/utils/telemetryBench.js # src/utils/wasmLoader.js # src/wasm/telemetry_reader.wasm # src/wasm/telemetry_reader.wasm.sha256 # src/wasm/telemetry_reader/Cargo.toml # src/wasm/telemetry_reader/build.sh # src/wasm/telemetry_reader/src/lib.rs # src/workers/telemetryWorker.js # swagger.json
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.
closes # ISP-032: Telemetry pipeline backpressure — OTel + telemetryWorker + Rust WASM reader vs ringBuffer overflow #702
closes # ISP-033: GraphQL Apollo + DataLoader N+1 vs REST dispatch/events/sync schema triple drift (api-drift gate red) #703
closes # ISP-034: Express middleware order — CORS + CSP nonce + compression + rateLimiter + http2Push vs Vite __CSP_NONCE__ #704
closes # ISP-035: Passkey/WebAuthn session binding vs WS reconnect vs offline secureStorage credential loss #705
Telemetry: ringBuffer priority ring with 70/90/50 hysteresis, network profiles, bounded flush, offline outbox, OTLP JSON exporter, worker flow-control protocol, WASM binary parser with batch + pooling, benchmark harness showing 1.8x speedup + allocation reduction
REST↔GraphQL: domain store with query counting + batch loaders; GraphQL SDL + resolvers with DataLoader per request; REST dispatch routes (zod validation, CRUD, 409/422 envelopes); event/sync routers; NamespacedCache with cross-surface invalidation; apiDrift config in package.json; swagger.json
Middleware CSP/CORS/RateLimit/HTTP2-Push: csp.ts builds policy with nonce + COOP/COEP headers; cors.ts enforces strict origins + wildcard; rateLimiter.ts has 5 tiers (general/prover/telemetry/auth/data); http2Push.ts safely filters push candidates
Passkey/WS session binding: session-store.js with bounded queue + reason coding; passkey-auth.js with error taxonomy; wsCluster.js with congestion pause/low-res; client passkey.ts; secureStorage.ts; sessionKey.ts; keyBackup.ts; wsClient.ts; swChannel.ts; syncManager.ts extended with graphQL union handling; tests api-contract.test.js + sql-cache.test.js (18 tests pass)
Added TelemetryLab UI/route /lab/telemetry with flood controls, conservation badges, drop ledger
Preserved COOP/COEP literals in server/index.ts and vite.config.ts
Contract drift script scripts/detect-api-drift.js with hash, version pins, entity/field/enum/operation checks
Telemetry bench: 20k frames, WASM 1.8x speedup, zero per-frame allocation at steady state