Repository navigation
Description
Incident: exact-main CI failed on legacy mempool fanout (2026-11-13)
On exact main squash e690d1cdd3a16d867d6b857774ea62df5a45c8d7, the independent postmerge CI run 43511412634 FAILED, specifically Go checks job 132182324758 in go test ./...:
--- FAIL: TestLabSevenValidatorsCertifiedFinality (5.60s)
performance_lab_test.go:759: mempools did not converge to 24 before timeout:
[24 24 24 24 24 24 22]
This was seven legacy internal/api validator nodes in the existing lab. It does not demonstrate V2 observer/replay divergence, but prevents claiming a fully-green exact-main postmerge result for PR #219. The test's submitTransactions(..., 12) sends 24 accepted ingress requests, then waitForMempools(24, 3*time.Second) checks all 7 nodes. Server.handleBroadcastTransaction schedules asynchronous fanout; broadcastTransaction in internal/api/peer_sync.go posts to each admitted peer and currently records failures without requeue/reconciliation. Logs did not uniquely identify which TX IDs were missing or whether broadcasts failed, were delayed, or were rejected. Root cause not established.
Acceptance
- Instrument bounded, privacy-safe per-TX per-peer fanout acknowledgments and failure/retry counts in the lab, with exact node identity/transaction hash; no private keys or sensitive payloads in artifacts.
- Reproduce under
go test -race -count=20and GitHub-hosted contention with the original strict 3-second mempool convergence requirement, 24 transactions, 7 validators, without increasing timeout, suppressing test, ignoring missing transactions or weakening consensus quorum. - Determine if ingress-accepted peer delivery is transient HTTP error, async scheduling starvation, replay-conflict, or permanent drop. Fix actual reliability invariant with bounded idempotent retries/reconciliation and cancellation if justified; add explicit negative tests for lost/delayed peer fanout and no duplicate ledger execution.
- Verify all protected 5 exact PR-head gates, postmerge 3 exact-main gates, and retain all failed original run references.
- No waiver of P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 mainnet NO-GO or closure based only on reruns.
A diagnostic rerun of only failed jobs on run 43511412634 was requested, not treated as replacement for the failed first attempt. Related #128 (different historical proposer-rotation timeout) and #211 (V2 network lab).
2026-11-13 — Diagnostic evidence, root cause still OPEN
- Exact-main CI run
43511412634original attempt 1 failed strict 7-validator mempool convergence at counts[24 24 24 24 24 24 22]after 3 seconds. Diagnostic rerun attempt 2 succeeded, confirming nondeterministic behavior but NOT establishing root or erasing first attempt. - Draft PR #222 head
28ca8bb3f9a7b11ccc624e30b770698941d9e229adds missing per-node transaction IDs to strict-failure logs and a GitHub-hosted 20-repeatgo test -racefixture with original 3s bound intact. Dedicated stress run 43512689580 completed SUCCESS 20/20. This cannot exclude combined-package runner contention or one-off peer broadcast loss, so P1: 7-validator legacy mempool fanout dropped/delayed 2 tx in exact-main CI (strict 3s gate) #221 remains OPEN pending workload-representative reproduction and bounded fanout reliability fix if needed. - Keep initial failed run permanently linked; never alter timeout or quorum, no mainnet GO.
2026-11-13 — cross-package contention found related 7-validator finality stall
- Draft PR test: strict legacy 7-validator fanout diagnostics and full-suite contention reproducer #223 new CI
43513325696FAILED strict legacy multi-validator conformance while mempools were ALL 24/24: finality remained height0 after 5s, 4 votes/7 at round3 despite same proposal hash, local vote rounds split 0–3. This is separate from first exact-main fanout loss[24 24 24 24 24 24 22]on43511412634attempt1 (attempt2 passed). Root could include both fanout delay and voting-round contention. See P1 CI reliability: investigate timeout in scheduled proposer rotation stress regression #128 for detailed finality-round evidence. Diagnostic 20-repeat isolated race passed, but resource-representative CI revealed a real unresolved liveness failure; retain all logs and maintain original thresholds.
2026-11-13 23:48 CET — NEW conformance failure on diagnostic PR #223
- CI run 43513325696, Go checks successful but Consensus & performance lab job
132188821497failedTestLabSevenValidatorsCertifiedFinalityafter full mempool convergence (all seven nodes had 24 transactions); target height 1 was not reached within the original 5s finality bound. At round 3 each node had only 4/7 votes for the same block (40,000 voting power, quorum false) and no certificate, with local vote rounds varying 0/1/2/3; no safety violation / invalid QC observed. This is separate from the earlier 22/24 fanout issue and is evidence of round skew/liveness under combined CI workload; causality not yet proven. go test -race -count=20 -run '^TestLabSevenValidatorsCertifiedFinality$'succeeded in diagnostic run 43513325575, so isolated success does not disprove contention-specific liveness failure. Preserve both failures and exact SHAa418ca71d5e97c1aa0c924d9d035c2838bf92007. Do not merge until causal fix, original 3s mempool + 5s finality limits, original quorum preserved, exact-head protected CI and main-push verification pass.
2026-11-13 — Exact-head parallel validator tick experiment #223 (results pending)
- Draft PR test: strict legacy 7-validator fanout diagnostics and full-suite contention reproducer #223 new head
dec74cdf136a3dcddad3cab1f0e9bff44e7c7e18: laboratorydriveUntilHeightnow dispatches independent validator automation ticks concurrently and joins all errors before checking finality. This models separate validator event loops instead of artificially serializing seven HTTP servers under CI contention, but does not alter consensus implementation, signed-vote/quorum enforcement, original 3s mempool / 5s finality deadlines, or test acceptance. This is an experiment and cannot itself prove real production liveness. All CI gate results on this SHA pending; retain failed original43513325696and43511412634for root-cause work.
2026-11-13 — Original serial gate retained; side-by-side 20x race and 5x full suite
- Draft PR #223 exact head
bd8b98c217089ab35aab9267ee17ebe9476fd8acpreserves the ORIGINAL strict serial seven-validator certified-finality test and 3s mempool/5s finalized-height wall-time gates. A separate test uses concurrent per-validator automation ticks as a scheduling diagnostic, without changing production consensus code or the original gate. The workflow YAML was accidentally corrupted on intermediate SHA32b02af75eb14a42de365211475b019b3cbee408and restored on the current SHA; intermediate no-job workflow failure is not a protocol result. - Exact-head GitHub diagnostic run 43522874664 now SUCCESS for both 20-repeat race serial/concurrent and five full-suite runs under native package contention. CI, V2 Lab, Devnet Gate, Dependency Lock and Docker Restart all SUCCESS; Security Regression still in progress. The incident was intermittent; the initial observed failures
43511412634(24/24 vs 22/24 mempool) and43513325696(4/7 votes, stalled at round 3) remain documented. No production liveness fix or causal resolution yet. P1: 7-validator legacy mempool fanout dropped/delayed 2 tx in exact-main CI (strict 3s gate) #221 stays OPEN, mainnet NO-GO.
2026-11-14 — diagnostic-only #223 protected merge
- Exact-head
bd8b98c217089ab35aab9267ee17ebe9476fd8acpassed 7/7 required and additional GitHub workflows: CI, V2 Lab, V2 Security Regression, Devnet Gate, Dependency Lock, Docker Restart and Legacy fanout repeat suite (20 race and 5 full-suite repetitions). Protected squash PR #223 merged tomain1d0e17f3c42efd9b151035a18489c37c4c400ebc, with exact-main CI/V2 Lab/Security push workflows still running. This merge adds diagnostics and an extra independent-tick comparison; original strict serial liveness gate remains unchanged. It does NOT fix or explain intermittent mempool or round-rotation failures, and issue P1: 7-validator legacy mempool fanout dropped/delayed 2 tx in exact-main CI (strict 3s gate) #221 stays OPEN. Original failure evidence preserved.
Activity