Add script to generate summary page for CI#2323
Open
yuandrew wants to merge 9 commits into
Open
Conversation
Sushisource
reviewed
May 6, 2026
Member
There was a problem hiding this comment.
I love this idea but maybe let's not do a giant bash script lol.
Also let's get in touch with @stephanos (you should loop in @THardy98 too) - I think he's done a lot of stuff like this already we can probably re-use.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Reviewed by Cursor Bugbot for commit b6b7ce7. Configure here.
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.

What was changed
Added logic to show a historic summary of CI runs on main and failure rates for 7 and 30 day windows.
Future PR can be made to make things smarter to track at the specific Go test level
Why?
Help monitor test failures/flakes on main
Checklist
Closes
How was this tested:
This only runs on main, but I temporarily allowed it to run on PRs to show behavior for testing.
https://github.com/temporalio/sdk-go/actions/runs/25395620361?pr=2323
Note
Medium Risk
Adds a new GitHub Actions job that calls the GitHub API to aggregate 30-day workflow/job data and write it to the run summary; failures or API/rate-limit issues could affect CI signal and timing.
Overview
Adds a new
CI History Summaryjob toci.yml(runs onpushafter all test jobs) that writes a markdown report intoGITHUB_STEP_SUMMARY.Introduces a Go tool (
.github/tools/ci-history-summary) that queries GitHub Actions for the last 30 days of completed runs for the workflow/branch, aggregates per-job 7d/30d run+failure counts and pass rates, and lists recent failures (grouped/normalized and capped). Includes basic unit tests for job-collapsing and failure rendering/limits.Reviewed by Cursor Bugbot for commit f24d7c0. Bugbot is set up for automated code reviews on this repo. Configure here.