feat: add CI output comparison between branches#93
Open
Conversation
Run assertion monitor on both target and PR branches, diff the alert output, and post results to PR comments. - Uses config.ci.json with public RPCs for CI runs - Posts GitHub-style diff showing only alert changes - Uses built-in GITHUB_TOKEN (no additional secrets needed)
Also updated CI to run all three monitors: - assertion-monitor - batch-poster-monitor - retryable-monitor
fa17b7c to
e5fe624
Compare
|
Filter monitor output to capture only alert summaries instead of full stdout. This removes noise from yarn build output, debug logs, and dynamic block numbers. Changes: - Use grep to extract assertion monitor summary lines - Use sed to extract batch poster summary section - Use grep to extract retryable monitor key lines - Normalize block numbers and addresses before comparison
- Add [SLACK_MESSAGE_START/END] markers in createSlackPoster for CI mode - Capture full monitor output instead of sed filtering - Extract and diff Slack messages separately from full output - Set NODE_ENV=CI and --enableAlerting when running monitors
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.
Summary
config.ci.jsonwith public RPCs for CI runsGITHUB_TOKEN)Monitors compared
Test change
Includes a test change to
alerts.tsto verify the diff works - will show:This test change should be reverted before merging.