GeezerVison is showing github.com — Keep test results in job summaries, not misfiled check runs by ggivo · Pull Request #4838 · redis/jedis
Conversation
ggivo
commented
Nov 10, 2026
•
edited by cursor
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
EnricoMi/publish-unit-test-result-action creates its "Test Results" check runs through the Checks API. GitHub files those under the commit's earliest workflow run, usually the local-environment push run (EnricoMi/publish-unit-test-result-action#12), so the PR lists docker results as "Build and Test using local environment / … (push)". All docker matrix jobs and the unit job also shared the default name "Test Results". As a result, only one of the 7 results showed, the one that published last, and its ± deltas and PR comment came from an unrelated run. Example: "+195 skipped" on 8.10 compared against 8.12 in run 42800431344.
Behavioral / Conceptual Changes
- Each docker matrix job writes its results only to its own job summary, under
Integration Test Results (<version>).
- The unit job does the same under
Unit Test Results.
- No test-result check runs, and no test-result PR comments.
- Nightly runs get the same job summaries.
Key Decisions & Assumptions
- The job rows (
Build and Test (<version>), Unit Tests) already show pass/fail in the right workflow group. Details → Summary shows the counts.
- Without check runs the action has nothing to compare against. So job summaries show no ± and there are no per-test failure annotations. Failing tests stay visible in the failing job's Maven log.
- Considered and dropped:
- unique check names with check runs on, which compares correctly but keeps the rows misfiled;
- a merged results check and comment across all versions.
Notes
- Required checks are job names, so no ruleset change is needed.
- Open PRs keep their old "## Test Results" comment, which stops updating.
Note Low Risk
Workflow-only change to how test XML is surfaced; no application or security impact.
Overview
CI test reporting now writes Maven junit XML only into each job’s Summary tab instead of creating GitHub Checks or PR comments via EnricoMi/publish-unit-test-result-action.
Integration matrix jobs label summaries Integration Test Results (<redis version>); the unit workflow uses Unit Test Results. Both set check_run: 'false' and comment_mode: 'off' so results no longer attach to the wrong workflow run or overwrite each other under a shared “Test Results” name.
Pass/fail still comes from the job status; detailed counts live under Details → Summary. There are no cross-run ± deltas, PR “Test Results” comments, or per-test check annotations—failures remain in Maven logs.
Reviewed by Cursor Bugbot for commit 3538400. Bugbot is set up for automated code reviews on this repo. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Every docker matrix job and the unit job published a check named
"Test Results" and overwrote one PR comment, so the comment showed
whichever job finished last and its ± deltas came from an unrelated run.
- Docker matrix: one merged "Integration Test Results" check and PR
comment from a publish job over all versions' failsafe reports.
- Per-version checks are named "Integration Test Results (<version>)"
and no longer comment.
- Unit tests get their own "Unit Test Results" check and comment.
- Nightly scheduled runs publish nothing.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-10T16:20:31.924632Z |
3538400 |
New commits |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Unit Test Results
3 919 tests 3 913 ✅ 1m 4s ⏱️
218 suites 6 💤
218 files 0 ❌
Results for commit ded86b2.
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Integration Test Results
1 266 files 1 266 suites 43m 25s ⏱️
8 379 tests 8 289 ✅ 90 💤 0 ❌
50 310 runs 42 218 ✅ 8 092 💤 0 ❌
Results for commit 8df8d1b.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The publish action creates its check runs through the Checks API, and
GitHub files them under the commit's earliest workflow run (here the
local-environment push run), so the PR showed "Build and Test using local
environment / Integration Test Results (8.12) (push)" for docker results.
Turn those check runs off: each docker job and the unit job keep their
results in their own job summary, and the unit job keeps its PR comment.
Drop the merged integration-results job; summed counts across versions
did not help reviewers.
ggivo
changed the title
Make PR test-result comments comparable across PRs
Keep test results in job summaries, not misfiled check runs
Nov 10, 2026
Without check runs the unit PR comment has no comparison against master, so it adds nothing over the job summary. Turn it off; unit and integration results now live only in their job summaries.
With check runs and comments off, the job summary is all the step publishes, and it is accurate on scheduled runs as well. Leave docs/integration-testing.md as on master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3538400. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
check_run: 'false'
|
|
|
comment_mode: 'off'
|
|
|
# Heading of the job summary
|
|
|
check_name: Integration Test Results (${{ steps.args.outputs.redis_version_label }})
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed tests skip job summary
Medium Severity
The Publish Test Results step in run-tests has no always() guard, so GitHub skips it when Maven tests fail. Integration jobs then never write the Integration Test Results summary this change makes the only results view. unit-tests.yml already uses always(), so only docker matrix failures lose the counts.
Reviewed by Cursor Bugbot for commit 3538400. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|