pingqiu d7c6f8aca3 G6 #1: rebuild-START log marker for QA observability
Per G6 §1.H audit work envelope item #1 + §2 #5 acceptance:
StartRebuild fires the wire-level rebuild path asynchronously
(goroutine launched at line 31 in rebuild_sender.go); pre-G6 the
only log marker was 'executor: rebuild complete, sent N blocks'
which fires AFTER completion. QA's G5-5C scenario D 5s scrape
window saw nothing because rebuild execution exceeded the window
— there was no START marker to wait on.

Add a deterministic START marker BEFORE the goroutine spawns:

  executor: rebuild start replica=<id> sessionID=<n> epoch=<n>
    EV=<n> targetLSN=<n>

Fixed string shape so QA's wait_until_rebuild_dispatched helper
can grep deterministically. Includes lineage tuple for forensics
(matches existing engine StartRebuild command shape; future
multi-session debugging can correlate START → COMPLETE on
sessionID).

Pinned by: INV-G6-WALRECYCLE-DISPATCHES-REBUILD (load-bearing
hardware pin §2 #5).

Test results: full ./core/transport/ + ./core/engine/ regression
GREEN. No behavioral change — pure observability addition.
2026-04-28 01:56:19 -07:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%