feat(flow): add 10x10 ETH-to-SOL epoch stress test - #65
Conversation
8e6a8f4 to
a09e7ce
Compare
|
Verified: new flow catches Solana epoch OOM error, replicated from frontend testing https://github.com/Wire-Network/wire-platform-build-system/actions/runs/31613002567
This reproduces the known runtime symptom cleanly. It does not prove whether the underlying cause is heap design, stored-data growth, or validator configuration—but it proves the Solana program fails during loaded epoch settlement and blocks the swaps. |
|
Addressed the orchestration feedback in 7a46293. The separate per-step AbortController existed only to let a timed-out step fail without aborting the phase in collect mode, and the new failure-mode enum existed only to enable that collect-all behavior. That was scenario-specific behavior and did not justify expanding shared cluster-tool orchestration. The redesign now:
This removes 311 net lines while preserving the stress flow goal and the terminal evidence needed to diagnose epoch settlement failures. Focused source typecheck, ESLint, and diff checks pass. |
jglanz
left a comment
There was a problem hiding this comment.
I suspect the changes from removing the FailureMode enum created some runtime errors that need to be solved (rerun e2e-tests) based on these critiques from OMC
1. The terminal diagnostic can't run after the failures it exists to diagnose. The orchestration engine aborts on first phase failure, so TerminalDiagnostics is skipped exactly when StressActors/ConcurrentRequests fail — making the ACTOR_PROVISIONING_FAILED and REQUEST_SUBMISSION_FAILED checks unreachable dead code, contradicting the "preserve stress diagnostics after failures" commit.
2. SwapUserIdentities was re-implemented line-for-line (identity derivation verified byte-equivalent) instead of reused — dropping the keygen report records the harness version emits. Both lanes found this independently.
|
@jglanz Addressed both requested changes in
Also added indexed identity regression coverage. Focused TypeScript, ESLint/Prettier, 13 Jest tests, and |
Summary
Adds the opt-in
flow-swap-epoch-stressFlowScenario for concurrent Ethereum-to-Solana settlement and post-load epoch liveness.Behavior
SwapUserIdentitiestooling.ProgramFailedToCompleteevidence through a tested cluster-tool helper.The companion Wire-Network/wire-platform-build-system#26 keeps this long-running flow opt-in.
Review state
Jon's two requested changes are addressed in
94a081f5: the flow now reuses shared identities and removes unreachable aggregate failure checks. GitHub CI is green. Re-review and a live E2E rerun remain outstanding.Execution