Skip to content

P1 CI reliability: investigate timeout in scheduled proposer rotation stress regression #128

Open

Description

@the-code-learner

Evidence / reproducibility

Post-merge V2 Security Regression on main b9202e2704639b5284b679e9ce7b8d3e3616e74b failed, run 42661632394 job 129314418005, specifically go test ./internal/api -run '^TestConsensusAutomationAdvancesRoundAndRotatesProposerAfterTimeout$' -count=50 -timeout=5m.

Log at 2026-11-09T17:11:42Z:

--- FAIL: TestConsensusAutomationAdvancesRoundAndRotatesProposerAfterTimeout (8.09s)
    server_test.go:1969: condition was not met before timeout

Source test uses two HTTP-connected consensus peers, 20ms interval, 150ms round timeout, then generic waitFor with a hardcoded 8 second deadline and no consensus/round diagnostics. Earlier post-merge CI and V2 Lab on same SHA passed, and exact PR-head Security Regression passed. Do not infer a harmless flake or conceal the failure with a rerun; determine whether this is scheduler jitter or a genuine liveness regression.

Acceptance

  • Add deterministic diagnostic evidence on timeout (both node heights, rounds/artifacts, peer progress and relevant pending state) to distinguish liveness regression from scheduling/load.
  • Reproduce with exact stress command and race variant, ideally bounded worker CPU contention; record failures with full logs.
  • Fix actual root cause; any timeout adjustment must be justified and retain meaningful liveness coverage, not skip/soften the test.
  • Five exact-head PR CI gates + three postmerge push workflows and issue update.

This issue does not grant mainnet GO; parent #42 and P0 #54/#55 remain independent NO-GO blockers.

2026-11-10 — Draft PR #155 (P1 peer status admission resource bounds)

2026-11-10 — P0 certified minimum context merge, P1 PR base refresh

2026-11-10 — P1 peer status JSON merged on refreshed main

2026-11-10 — PR #158 CI reproduces seven-validator scheduler sweep test timing interference

  • Initial head 67b18c8d42d903f979b90654ee6899207a0482b4 in PR #158 had CI FAILURE run 42863561780, job 129995793442, stage go test ./internal/api -run '^TestLab' -count=1 -timeout=90s: TestLabSevenValidatorsLastProposerNeedsFollowingSweepForQuorum failed after 3.91s, validator 0 did not sign after next sweep. Source review: the test runs seven manual sequential HTTP-backed validator ticks, tests sweep ordering (NOT round timeouts), but inherits 1s round timeout; on busy CI it can legitimately reach round 7 before checking round 6 next sweep. Corrective commit 505281a32df1cc6f86d0b5c4b50e95fcc6f5c056 isolates only this synthetic sweep-order test from its irrelevant one-second automatic timer via in-test config ConsensusRoundTimeout=0; keeps all expected signed-vote, QC safety and finality checks, 5s lab gate unchanged, separate strict 8s timeout regression unchanged. Adds full status/consensus/round diagnostics for future recurrence. New head five workflows need fresh completion before merge. This is a reproduced test timing interference, NOT proven historical 8.09s proposer rotation root, no production consensus timeout change or TPS claim.

  • 2026-11-10 CI follow-up: PR #158 final head 505281a32df1cc6f86d0b5c4b50e95fcc6f5c056 corrected the synthetic last-proposer manual sweep test's inherited round-timeout interference, without altering any production consensus timeout or the separate scheduled-rotation liveness regression. All 5 exact-head workflows SUCCESS (CI 42864231107, Lab 42864231166, Lock 42864231182, Devnet 42864232356, Security 42864231103) after real 180-second rechecks. Protected squash merged main f83b34d1695a029241f56860511ac3c08a4ded5d, after separate real 180-second wait, 3/3 main push workflows COMPLETED/SUCCESS on unchanged main f83b34d1695a029241f56860511ac3c08a4ded5d (CI 42865155824, Lab 42865156292, Security 42865155585). Original 8s intermittent liveness failure root cause still not proven; P1 CI reliability: investigate timeout in scheduled proposer rotation stress regression #128 remains OPEN. P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42/P0 GO blocker: deploy and audit independent monotonic finalized-checkpoint witnesses #54/P0: independently operated witness publication, monotonic freshness and multi-host adversarial recovery gate #55 remain NO-GO.

2026-11-10 — Draft PR #161 saturates peer sync height delta without sign inversion

2026-11-10 — Draft PR #165: terminate peer block sync at MaxUint64 without overflow

2026-11-10 PR #166 draft — strictly one JSON document per peer recovery response

2026-11-10 — Draft PR #167 constant-memory peer recovery JSON tail scan

2026-11-13 — GitHub-first targets, tracked in #208

Execution target update (2026-11-13): preserve the original strict 8-second liveness deadline, collect diagnostics and contend under repeatable isolated GitHub runners (#208). Container/cross-runner tests are evidence, not proof of historical timeout root. Keep OPEN until cause identified or demonstrably excluded with credible reproduction.

2026-11-13 — independent CI reproduced strict 7-validator liveness stall

  • Draft diagnostic PR #223 exact head a418ca71d5e97c1aa0c924d9d035c2838bf92007: normal CI run 43513325696 FAILED in Consensus & performance lab job 132188821497, strict go test ./internal/api -run '^TestLab' -count=1 -timeout=90s, specifically TestLabSevenValidatorsCertifiedFinality. Full 24/24 mempools at all 7 nodes, yet height0 after 5-second finality deadline. At round 3 all nodes reported same proposal block hash but only 4 votes / 40000 voting power (below 5/7 quorum), local signed votes split across rounds 0–3 and round ages varied ~73ms–1.3s. This corroborates unsynchronized round progression / unpropagated votes under CI resource contention but root cause not proved. Existing 8-second and 5-second strict gates must stay unchanged. Keep P1 OPEN, audit voting/rebroadcast/future-round buffering before fix; link P1: 7-validator legacy mempool fanout dropped/delayed 2 tx in exact-main CI (strict 3s gate) #221 because exact-main earlier failed mempool fanout instead.

Activity

  1. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    Investigated exact main push failure on b9202e2704639b5284b679e9ce7b8d3e3616e74b, run 42661632394 job 129314418005: go test ./internal/api -run '^TestConsensusAutomationAdvancesRoundAndRotatesProposerAfterTimeout$' -count=50 failed once after 8.09s at server_test.go:1969 (waitFor generic 8-second timeout), despite prior smoke/race steps passing. Opened draft PR #129 head 08748b3dd7a5b824bd0c92a0f98de7ef491b2d25 preserving exact 8s budget and 25ms polling, adding BOTH node statuses, consensus views, round states and latest artifacts on timeout to diagnose true liveness root. CI in progress, no timeout increase, issue remains OPEN until root fix and stress verification. Do not downgrade postmerge failure to green on account of unrelated successful #127 tests.

  2. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 diagnostic PR #130 protected merge main aa026a8b0a80f161a576cb559cd8c86c317d030a: after original #129 405 due expected required checks on base update, recreated same diagnostic-only change from new main, 5/5 exact-head PR workflows success; after 180-second sleep protected merge, three push checks CI 42705117285, V2 Lab 42705117382 and Security Regression 42705117231 ALL SUCCESS. Diagnostic retains strict 8-second deadline and prints two-node status/consensus/round/artefacts on timeout. Earlier failed run 42661632394 remains valid evidence of intermittent liveness test failure. Issue #128 stays OPEN until root cause reliably diagnosed, fixed and stress verified; do NOT call it resolved from a successful later run.

  3. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 — Additional source-level investigative finding while #133 P0 CI runs (NOT yet proven the root cause of the earlier 8.09s liveness failure):

    • internal/api/peer_transport.go httpPeerTransport.postJSON currently treats HTTP 409 Conflict as success for all POSTs. PostProposal and PostVote share this generic helper.
    • internal/api/server.go statusForError maps ErrConsensusRoundMismatch, ErrConsensusHeightMismatch, ErrConflictingProposal, ErrConflictingVote, etc. to 409.
    • internal/api/peer_sync.go broadcastProposal / broadcastVote only record a peer replication incident if transport returns non-nil error. Therefore a rejected consensus proposal/vote due to round drift is currently silently treated as successful delivery and omits the very diagnostic needed to distinguish scheduling lag from liveness regression.
    • This is a concrete observability/correctness defect but no proof yet that it caused run 42661632394. Proposed follow-up: narrow consensus-message transport success to HTTP 202 Accepted (or the agreed explicit success status) while preserving separately intended idempotent 409 semantics of transactions; add fake HTTP peer tests asserting round-mismatch 409 appears as error and replication incident without changing timeouts. Then reproduce -count=50 and -race -count=12 under bounded load on exact-head CI; inspect diagnostics for root cause.

    Do not mark #128 completed or relax the 8-second liveness budget on this evidence alone. P0 #42/#54/#55 independent mainnet NO-GO.

  4. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 — Follow-up implementation in draft PR #134 at head df0703695546e75d7cf4d9a2549953c379da59ad, based on P0 #133 merged main 9a15707c11c77efabb45dd59fcf93f622d03ee6d. Consensus PostProposal/PostVote now propagate peer HTTP 409 errors instead of silently reporting delivery, which allows existing broadcastProposal / broadcastVote replication-incident hooks to record round/height/conflict rejections. Existing idempotent non-consensus HTTP 409 semantics preserved. Added signed-header HTTP regression with 409/202/500 responses. Five exact-head PR gates running; no merge or success claim yet. This addresses a verified observability defect, NOT a proven causal root of historical 8s proposer timeout; keep issue #128 OPEN until reproducible stress+race evidence explains liveness. Mainnet P0 issues #42/#54/#55 still NO-GO.

  5. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 — PR #134 MERGED, protected squash on main: 9e4b347b7aefdeefe4df24b2e7d9bfbcafeff339. Final PR head 92b965bb35e4182d1a33e8f55980a0183ade2445: all 5 exact-head PR workflows completed SUCCESS: CI 42720044067, V2 Lab 42720044042, Dependency Lock 42720044171, Devnet Gate 42720043977, Security Regression 42720043788. The first proposed workflow edit accidentally had JavaScript String.replace substitution of $' in a Go regex, causing a workflow syntax failure on obsolete head 79acc377; this was corrected from the unchanged valid main workflow via replacement callback, full YAML re-fetched and all five gates rerun on the final head. No bypass.

    Postmerge main 3/3 push workflows SUCCESS:

    Concrete fix: httpPeerTransport.PostProposal and PostVote now surface 409 status errors, enabling existing broadcastProposal/broadcastVote peer replication incidents (http_status_409) for rejected heights/rounds/conflicts; transactions preserve previous idempotent conflict policy. New TestHTTPPeerTransportReportsConsensusConflicts (signed request proof, synthetic HTTP 409/202/500), run -race -count=10 in V2 Security Regression, and existing strict proposer rotation stress -count=50 and -race -count=12 both passed.

    Keep issue #128 OPEN: This is a verified transport diagnostics/correctness improvement, NOT proof of the root cause or a demonstrated liveness fix for the original 8-second failure in run 42661632394. Still need reproducible liveness evidence with both nodes' rounds/proposals/votes, error distribution under CPU contention, and root-cause remediation. No timeout relaxation, skip, manual TPS benchmarking, or P0 mainnet GO claims; #42/#54/#55 still NO-GO.

  6. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — Concrete liveness/WAL churn mitigation in draft PR #135, head 4012bb663ea4a45057763e915d826946baa17427. Pre-change maybeRebroadcastProposal / maybeRebroadcastVote used last artifacts at the height without verifying CurrentRound, re-sending stale round proposals/votes and repeatedly writing ConsensusAction replay marks after a timeout. This can flood newly observable HTTP 409 round-conflict incidents (#134), adds per-tick durable WAL I/O under load, and is inapplicable to a QC for the newer round. New guard only retries current-round artifacts, preserving persisted history and current-round recovery; deterministic two-validator test exercises round0 replay, round1 stale suppression and fresh round1 vote replay, with -race -count=12 step added to Security Regression. No timeout/QC/validator rule changes. Current PR head has CI, Lab, Lock, Devnet SUCCESS; Security Regression pending. Do not mark #128 solved until the historical 8.09s failure can be reproduced/explained, and do not claim measurable TPS increase or mainnet GO.

  7. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — PR #135 MERGED protected squash into main 89fd5c4987905fcb5e6ec39e0b1d26e7190a88a3: only current-round proposals and votes are rebroadcast, so obsolete-round artifacts do not induce repeated HTTP 409 rejections and MarkConsensusActionReplayed fsynced WAL churn after timeout. Deterministic 2-validator TestConsensusAutomationOnlyRebroadcastsActiveRoundArtifacts confirms an initially unfinalized round-0 proposal/vote can retry, but are no longer replayed after advancing to round 1; a new round-1 local vote remains replayable, and no QC is accepted without >2/3 voting power. Dedicated -race -count=12 regression included. Exact PR head 4012bb663ea4a45057763e915d826946baa17427 passed 5/5: CI 42727207535, Lab 42727207268, Dependency 42727207300, Devnet 42727207082, Security 42727206963. All 3/3 postmerge main push workflows SUCCESS: CI 42727744577, Lab 42727744493, Security 42727744475. Actual 180-second test wait completed 2026-11-10T00:21:16Z, postmerge 180-second wait completed 00:25:10Z; SHA and checks verified. Issue #128 remains OPEN: causal root of historical intermittent 8.09s liveness failure is not yet demonstrated by these tests; more bounded CPU contention/repro/log evidence needed. No timeout extension, manual TPS benchmark or mainnet GO.

  8. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — Source-level P1 peer admission/liveness gap identified; draft PR #139, exact head 14fec839c797911390612f9531092ada49f40823, 5 CI gates currently running. When RequirePeerIdentity/validator pin is configured but EnablePeerSync=false, a failed first status/admission request is cached as unreachable; admittedPeerURLs previously never retries the endpoint, so a transient outage permanently prevents consensus/transaction broadcast to a recovered peer. It could also use stale Admitted=true history when Reachable=false. PR #139 requires both Reachable and Admitted, and adds rate-limited 2s authenticated re-probe only for unreachable peers; reachable wrong-key/chain peers stay denied; atomic retry slot under peerMu avoids 12 simultaneous stampedes. Tests cover outage -> verified recovery and wrong bound-validator rejection under -race -count10. Parent issue #128 remains OPEN: this precise bug is not yet demonstrated as root cause of historic 8.09s scheduled proposer rotation CI failure. No timeout change or TPS claim; P0 mainnet NO-GO.

  9. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — Draft PR #139 refinement on latest head 8cfb4e8d921727c384a97cbaed47103348168ab2 (all five exact-head checks freshly queued). Source-level issue remains: a signed peer status probe that fails once was permanently cached unreachable when EnablePeerSync=false. Initial retry implementation synchronously re-probed and risked blocking the consensus loop on another 5-second HTTP timeout. Revised solution now uses Server.runAsync (existing Close/WaitGroup lifecycle barrier), with a per-peer in-flight reservation under peerMu, two-second post-request backoff and mandatory fresh signed/validator-pinned status verification. The old Admitted=true flag from a now-unreachable peer cannot bypass Reachable check. Regression holds retry HTTP response open and proves 12 concurrent callers do not block or stampede; only one status attempt runs even if the timestamp ages during in-flight I/O; wrong validator stays rejected. A previous head encountered only Go gofmt alignment, corrected from exact CI diff on new head; no bypass/rerun success claim. Keep #128 OPEN until causal root of the old 8s liveness failure is proven; don't relax consensus timeout or claim TPS improvement, mainnet NO-GO.

  10. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — PR #139 MERGED (pending final 3/3 postmerge confirmation). Protected squash commit on main 2530455f2f2e32e3e4476a2eddbfde75e7fea7fb. Exact PR head 8cfb4e8d921727c384a97cbaed47103348168ab2 had 5/5 completed SUCCESS: CI 42795645755, V2 Lab 42795645614, Dependency Lock 42795645913, Devnet Gate 42795646061, Security Regression 42795645999. Actual final-head 180s timer completed UTC 10:04:52 before rechecking main, exact PR head and all five gate results and merging via expected-head SHA. Earlier heads were revised due direct retry blocking the consensus loop and a CI gofmt mismatch; exact fresh full checks rerun, never bypassed.

    Concrete fix: when periodic peer sync is disabled, initially failed identity-bound peer status previously stayed unreachable forever. A signed, validator-bound status probe can now re-run asynchronously only for unreachable peers, with 2s post-I/O backoff, single-flight per endpoint under peerMu, tracked Server.runAsync lifecycle and no blocking of consensus/transaction senders. Broadcasting requires BOTH Reachable && Admitted; cached previously-admitted but unreachable peers cannot be reused. Reachable mismatched validator identities remain denied. Race-repeated deterministic blocked-HTTP, 12-concurrent-callers, fresh signed recovery, wrong-key and stale-admission tests. Issue #128 remains OPEN until the old 8s proposer rotation failure has a proven causal root and adversarial replication evidence. No BFT timeout change, TPS claim or mainnet GO.

  11. the-code-learner commented on Nov 10, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-10 — PR #139 postmerge 3/3 CONFIRMED SUCCESS after actual 180s sleep. Protected main 2530455f2f2e32e3e4476a2eddbfde75e7fea7fb, current main rechecked equal with zero open PRs. Three main push checks completed SUCCESS on that exact SHA: CI 42796235817, V2 Lab 42796235646, V2 Security Regression 42796235814. Actual postmerge timer finished 10:09:07Z; exact SHA and workflow conclusions rechecked afterwards. PR head 8cfb4e8d921727c384a97cbaed47103348168ab2 all five gate checks SUCCESS as in prior comment. Safe bounded asynchronous single-flight admission recovery and no cached unreachable-admitted privilege reuse are now implemented and verified. #128 remains OPEN: no reproducible causal determination of the original 8.09s proposer rotation stress failure; new improvements are not conclusive liveness root-cause resolution. No timeout relaxation, benchmark/TPS claim, or mainnet GO.

  12. 58 remaining items

  13. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — Genuine postmerge liveness/performance lab failure on protected main 2bb249772c627017d83afdf959f7e4cec28cd357 after PR #198 (5/5 exact-head tests GREEN). Exact-main push CI run 43421020342 FAILED, Consensus & performance lab job 131870736501, strict BenchmarkLabConsensusFinality7Validators 5s target height2 missed during sample: nodes 0,1,2,3,4,6 at height2, node5 stuck height1 with 32 mempool transactions, round5 and many HTTP 409 proposal/vote messages. Postmerge Lab 43421020287 and Security Regression 43421020408 succeeded => 2/3, main RED, not hideable by rerun. Investigation identifies lab harness transport mismatch: newLabCluster wraps real HTTP transport with labFaultTransport but wrapper lacked certifiedBlockDeliveryTransport.PostCertifiedBlock, so production broadcaster's type assertion falls back to bare PostBlock (no QC signatures), which a lagging replica cannot import without local quorum when peer sync disabled. PR #199 exact initial head 8c5d56ec69da836cd1b12075546e980c7426e44a adds proper signed certified-block forwarding through same partition/delay/duplicate injection and byte accounting plus compile-time interface assertion and -race count20 regression; 5 workflow runs started CI 43421622761, Lab 43421622757, Dependency 43421622901, Devnet 43421622769, Security 43421622753; at 12:02Z Lock SUCCESS, others running. Actual premerge sleep180 began 12:01:07Z due 12:04:07Z. No benchmark timeout increase, test skip or mainnet GO claim. Keep #128 and #92 OPEN, #42/#54/#55 P0 OPEN NO-GO.

  14. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 12:09 UTC — PR #199 FIX for genuine seven-validator benchmark liveness failure now MERGED protected expected-head squash into main 207e8afe5e26489f0ef62c59625dd879561c6b74, exact PR head 8c5d56ec69da836cd1b12075546e980c7426e44a. ALL FIVE exact-head workflow gates COMPLETED/SUCCESS: CI 43421622761 (including previously failing BenchmarkLabConsensusFinality7Validators under ORIGINAL 5s deadline), V2 Lab 43421622757, Dependency Lock 43421622901, Devnet Gate 43421622769, Security Regression 43421622753 (new lab signed-transport -race count20 passed). Genuine premerge sleep180 at 12:01:07→12:04:07 and second at 12:04:46→12:07:46 both verified. Root-cause: labFaultTransport did not implement signed certified block delivery interface, so lab exposed bare-block fallback with no signed QC under peer sync disabled, leaving one of seven replicas at height1. New wrapper implements PostCertifiedBlock through actual base transport while preserving fault injection, duplicate deliveries and bytes accounting; compile-time interface assertion, test for blocked/duplicate/healed path. On exact-main SHA, push workflow run IDs CI 43422649266, Lab 43422649294, Security 43422649178 started in_progress as of 12:08:58Z. Separate postmerge real sleep180 started 12:08:29Z, marker /tmp/zephyr_pr199_post_done due 12:11:29. Exact-main 3/3 NOT YET VERIFIED; do not hide the original CI run 43421020342 failure or call current main green before 3/3. #128 remains OPEN for real external multi-host fault and prolonged liveness evidence, #92 remains OPEN for measured TPS; P0 #42/#54/#55 public mainnet NO-GO.

  15. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 12:14 UTC — PR #199 FULL VERIFIED protected main green after addressing real prior seven-validator benchmark failure. Exact final PR head 8c5d56ec69da836cd1b12075546e980c7426e44a 5/5 completed SUCCESS: CI 43421622761 (including strict original 5s BenchmarkLabConsensusFinality7Validators), V2 Lab 43421622757, Dependency Lock 43421622901, Devnet 43421622769, Security Regression 43421622753 (new lab adapter test -race count20 passed). Protected expected-head squash merged main 207e8afe5e26489f0ef62c59625dd879561c6b74. Independently fetched public GitHub Actions API confirmed three exact-main event=push workflow runs ALL completed SUCCESS: CI 43422649266, V2 Lab 43422649294, V2 Security Regression 43422649178 at 2026-11-13T12:13:50Z. Real premerge sleep180 #1 12:01:07→12:04:07 and #2 12:04:46→12:07:46 both verified. Real postmerge sleep180 #1 12:08:29→12:11:29 verified; second started 12:11:57 and marker /tmp/zephyr_pr199_post2_done due 12:14:57 (not yet claimed). Prior CI RED on main 2bb24977 run 43421020342 stays recorded; do not call it transient network. Root cause was labFaultTransport interface mismatch forcing bare-block fallback instead of signed certified delivery. #128 remains OPEN until independently run 3+ real-host/provider BFT partition/recovery stress and signoff. P0 #42/#54/#55 mainnet NO-GO; #92 TPS benchmarks still unverified on production hardware.

  16. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #200 OPEN, current exact head 29b3999dccb79a3126b5ba9f8c1087c80bb5c585 on protected main 207e8afe5e26489f0ef62c59625dd879561c6b74, fixes remaining unsigned-bare-block downgrade in broadcastBlock when RequireConsensusCertificates=true but injected/legacy peer transport lacks certifiedBlockDeliveryTransport.PostCertifiedBlock. Certified mode now logs explicit per-peer replication incident and returns without any bare PostBlock. Noncertified legacy mode retains ordinary PostBlock. New deterministic TestCertifiedBroadcastFailsClosedWithoutSignedTransport + security -race -count=30 (specific step SUCCESS), existing 7-validator benchmark and strict 8s proposer liveness tests unchanged. First attempted head 3dc03627... failed gofmt in new test; corrected exact final head 29b3999..., fresh CI 43430783046, Dependency Lock 43430783020, Devnet 43430783110 all completed SUCCESS; V2 Lab 43430783272 and V2 Security Regression 43430783221 running as of 13:10Z. First genuine premerge sleep180 13:06:32→13:09:32 UTC verified complete. Second real sleep180 started 13:10:07 due 13:13:07, marker /tmp/zephyr_pr200_wait2.done. No merge before 5/5 checks and completed wait; then protected expected-head merge and 3 exact-main push check. P0 #42/#54/#55 and P1 #128 remain OPEN NO-GO.

  17. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #200 protected squash MERGED main b8acfe9afcd67f51d74a71f203062edb7285c407 from exact PR head 29b3999dccb79a3126b5ba9f8c1087c80bb5c585, 5/5 head SUCCESS: CI 43430783046, Lab 43430783272, Lock 43430783020, Devnet 43430783110, Security 43430783221; and independent 3/3 exact-main event=push COMPLETED/SUCCESS: CI 43431827955, Lab 43431827668, Security 43431827833 (verified UTC 13:18:43). Premerge genuine sleep180 13:06:32→13:09:32 and 13:10:07→13:13:07, plus postmerge sleep180 13:14:01→13:17:01 all verified. Fix eliminates remaining broadcastBlock fallback from signed QC-required transport to bare PostBlock when injected/legacy transport lacks certified-delivery API: emits explicit per-peer replication incident and fails closed; noncertified legacy network still uses PostBlock; new race -count=30 negative test passed. Additional P1 PR #201 OPEN: replace fragile err.Error()=="peer returned status 409" in certified catchup with private peerHTTPStatusError + errors.As, so actual and wrapped HTTP409 trigger history recovery, fake matching wording and 503 fail closed. Exact final head currently 1895a6bdb607f36ce746cdee285a8b0990e00864 (first head a381bbf... failed gofmt and was corrected). Fresh PR201 CI 43433030424, Lab 43433030333, Lock 43433030380, Devnet 43433030316 all completed SUCCESS; Security 43433030553 in progress as of 13:24Z. First genuine sleep180 13:20:31→13:23:32 complete; second 13:24:53→13:27:53 currently running. Do not merge #201 until final 5/5 and actual 180 wait, then independent exact-main 3 push. #128 remains OPEN for sustained independently deployed Byzantine liveness. P0 #42/#54/#55 public mainnet NO-GO, P1 #92 measured TPS OPEN.

  18. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #201 FULLY VERIFIED: exact final head 1895a6bdb607f36ce746cdee285a8b0990e00864, all five head workflows completed SUCCESS: CI 43433030424, Lab 43433030333, Lock 43433030380, Devnet 43433030316, Security 43433030553. Original candidate a381bbf failed gofmt; fixed rather than rerun. Protected expected-head squash merged main SHA 263524c05e039738b8ae1abbaf4ff8e492a733f7. Independently verified ALL THREE exact-main event=push completed/success via public Actions API at UTC 13:34:50: CI 43434042223, Security 43434042216, Lab 43434041784. Real premerge sleep180 13:20:31→13:23:32 + 13:24:53→13:27:53 both verified; postmerge sleep180 13:29:38→13:32:38 verified. deliverCertifiedReplay now identifies actual HTTP 409 via errors.As on peerHTTPStatusError, not err.Error() string, preserves original human-readable wording, rejects spoofed matching text and HTTP503, and accepts wrapped typed status; new real signed-HTTP regression -race count30 passed. PR #202 OPEN candidate head 0c629e8070ded52ea47b82c1c0c1b89870932588 base main 263524c..., adds strict 10-height signed QC gap with sync disabled, first 409 recovery bounded at 8, subsequent verified-height8 tip resumes 9–10, checks all ten block hashes and recipient QCs. Five workflows CI 43434780602, Lab 43434780626, Lock 43434780612, Devnet 43434780627, Security 43434780619. CI/Lock/Devnet SUCCESS as of 13:37Z, Security race test for ten heights SUCCESS, Lab and full Security still active. Real sleep180 started UTC 13:35:47 marker /tmp/zephyr_pr202_wait1.done due 13:38:47. No merge until 5/5 and timer and independent 3/3 main push. #128 remains OPEN for true independent multihost sustained BFT, P0 #42/#54/#55 NO-GO.

  19. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #202 bounded 10-height QC signed catchup TEST MERGED protected expected-head main 049e1b03292fe284405aa779492b4d780b1c9f45, exact head 0c629e8070ded52ea47b82c1c0c1b89870932588; all five exact-head workflows completed SUCCESS: CI 43434780602, Lab 43434780626, Lock 43434780612, Devnet 43434780627, Security 43434780619. New -race count3 test confirms 10 locally committed valid QCs: first latest-height HTTP409 triggers oldest-first bound exactly 8, replica height8 with signed QC, second retry validates committed hash at peer height8 and sends heights9-10; receiver independently verifies all ten canonical blocks and certificates, no peer sync or unsigned fallback. Genuine premerge sleep180 13:35:47→13:38:47 and 13:39:33→13:42:33 complete. Exact-main independent event=push three workflows now ALL completed SUCCESS: CI 43436132316, V2 Lab 43436132384, V2 Security Regression 43436132381, verified UTC 13:49:49. First real postmerge sleep180 13:43:33→13:46:33 complete; second postmerge sleep180 started 13:49:09 due 13:52:09, marker /tmp/zephyr_pr202_post2.done not yet verified. P1 #128 OPEN for real independent 3+ host Byzantine sustained liveness, P0 #42/#54/#55 mainnet NO-GO. No measured production TPS claim.

  20. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — P1 signed certified block delivery DoS hardening PR #204 OPEN, candidate exact head 7b6c40bd4ca11131c506269b527d2f882c155ecc on main 049e1b03292fe284405aa779492b4d780b1c9f45. /v1/internal/certified-blocks previously decoded an unbounded authenticated peer JSON body, including during request-proof inspection. Adds maxCertifiedBlockDeliveryBytes = 64MiB limit, immediate HTTP413 on oversized declared Content-Length, http.MaxBytesReader BEFORE peer proof for chunked/streaming payloads, and actual MaxBytesError -> HTTP413 in validation/decode; independent signed proposal/vote quorum, state and all existing safeguards remain unchanged. Negative test TestCertifiedDeliveryRejectsOversizedDeclaredAndStreamingBodies exercises oversized declared and legitimate cryptographically signed overlimit chunked request, confirms receiver height0. Dedicated Security Regression -race count2 negative step PASSED. 5 exact-head workflow IDs CI 43440131995, Lab 43440131941, Dependency 43440131993, Devnet 43440131938 all SUCCESS as of 14:13Z; Security 43440132001 IN_PROGRESS. Real premerge sleep180 started 14:10:56Z marker /tmp/zephyr_pr204_pre1.done, due 14:13:56Z. Concurrent P0 PR #203 remains open; if main changes, rebase and rerun all 5 head checks. No protected merge until full 5/5+actual timer, then independent 3/3 exact-main push and postmerge sleep180. The 64MiB maximum is a new explicit wire-size constraint; revisit with legitimate large-block design. P0 #42/#54/#55 OPEN mainnet NO-GO, #128 real independent multihost liveness OPEN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions