test(perps): add reusable visible-pipeline probe - #34953
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
# Conflicts: # app/components/UI/Perps/services/PerpsConnectionManager.ts
# Conflicts: # app/components/UI/Perps/hooks/stream/usePerpsLiveOrders.ts # app/components/UI/Perps/hooks/stream/usePerpsLivePositions.ts
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
SmokePerps: Direct changes to Perps stream hooks, connection manager, and homepage section. The StreamUpdateSource rename is a functional change that could affect Perps data delivery behavior. SmokeWalletPlatform: Perps is a section inside the Trending tab. Changes to SmokeConfirmations: Per tag description, when selecting SmokePerps, also select SmokeConfirmations (Add Funds deposits are on-chain transactions). Performance Test Selection: |
|
Closing to keep the Mobile delivery minimal. The dev-only probe is not required for production correctness or Sentry instrumentation; reusable local validation belongs in mm-harness/recipes using the canonical #34948 logs and CDP. The branch remains preserved as investigation history. |
Description
Adds one reusable, development-only, platform-neutral visible-pipeline probe on top of #34948. The same
perps.performancerecipe runs on Android or iOS;--deviceselects the platform.The probe records canonical demand, cache/provider/socket delivery, subscriber, React commit, next-frame, resolved, live, and error boundaries while preserving account/context generations. It requires coherent account + positions + orders, uses the pills feed’s own market delivery, never claims trending live-price readiness, and rejects stale demands or mixed atomic bundles.
Production call sites are compile-time gated with
__DEV__; semantic delivery metadata is requested only for dev validation. No AgenticBridge performance API, wallet address, order/position ID, platform-specific recipe branch, or raw cache payload is added.Dependency chain
Validation
Recipe
perps.performanceremains the single recipe. Lifecycle, source strategy, account, provider, network, and content variant are parameters; platform is not.Jira: https://consensyssoftware.atlassian.net/browse/TAT-3662