Merged
Conversation
Contributor
ApprovabilityVerdict: Approved Small, targeted optimization adding a skip condition for locally-rejected pending reports during conflict resolution. The change is self-contained (~10 lines of new logic), clearly intentioned, and the author is the designated code owner of the modified file. You can customize Macroscope's approvability policy. Learn more. |
mkysel
approved these changes
Mar 12, 2026
neekolas
approved these changes
Mar 12, 2026
Contributor
neekolas
left a comment
There was a problem hiding this comment.
This looks like a reasonable change to me. If someone else has a garbage report pending, I should still "shoot my shot" at producing a better report.
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.
Current behavior can stall convergence when a node keeps generating a pending report that peers locally reject.
Generator blocking currently treats non-expired pending reports at the boundary as valid blockers regardless of local attestation result.
Current Knuth distribution in testnet:
Example loop:
Note
Skip attestation-rejected pending reports when resolving payer report generation conflicts
In
GeneratorWorker.maybeGenerateReport, pending reports withAttestationRejectedstatus are now excluded from the set of valid reports that block generation at a boundary. Previously, these locally rejected reports would preventgenerateReportfrom running. Behavioral Change: generation now proceeds when the only blocking reports are locally attestation-rejected, which may cause duplicate or overlapping report generation in edge cases where rejection state diverges across nodes.Macroscope summarized 8e8ba9f.