You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gossip: GossipHandles::reputation_publish_trigger doc enumerates None causes with "iff" and is now incomplete #1343
kind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
None iff that task wasn't spawned (reputation disabled or no report drain wired).
"reputation disabled" reads as subscribe_reputation = false. Since #1340 there are two further causes, both of which return before the publisher is spawned:
a ReportGate::Disabled gate, and
a missing sink.
An exhaustive "iff" list is the doc shape most likely to go quietly wrong when a cause is added elsewhere in the function — the enumeration is in the GossipHandles struct, the branch that grew is in spawn_reputation_tasks.
Suggested wording: "…(subscribe_reputation = false, a ReportGate::Disabled gate, no sink, or no report drain wired)".
Out of scope for #1340 because the line predates it, but #1340 is what invalidated it.
kind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix: batch seven review follow-ups (#1342, #1343, #1344, #1345, #1347, …
thiras commentedon Jul 21, 2026
Fixed in 71fe6a1 (#1358).