feat(smoke): topology health probe#589
Open
gacevicljubisa wants to merge 7 commits into
Open
Conversation
2ef8455 to
c683a14
Compare
akrem-chabchoub
approved these changes
May 22, 2026
Contributor
akrem-chabchoub
left a comment
There was a problem hiding this comment.
Looks good, just wanted to know how those values are chosen ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The smoke test gets
unexpected EOFon downloads but the previous on-failure diagnostic (a topology dump of the downloader) didn't tell us which chunk is missing or why. This change turns a failure into a per-chunk report mapped to the three pushsync bugs in bee#5400.The smoke test runs bee's chunk-splitting pipeline locally over each upload (deterministic, so addresses match what bee stores), and on a failure walks every chunk via
HEAD /chunks/{addr}against the XOR-closest full node.HEADis strict local-only, unlikeGETwhich falls back to network retrieval;Client.LocalHasChunkwraps it.Topology probes also run pre-upload, pre-download, and on-failure so a healthy baseline is visible. The walk is capped at 200 MB upload size, bounded at 32 concurrent HEADs, and the top 50 missing chunks are logged. Counters are exact regardless of log truncation.