Skip to content

ci(pr): summarize CI status and failures in one comment - #15363

Draft
sara4dev wants to merge 2 commits into
mainfrom
saperiyasamy/dyn-4542-explore-ci-status-and-failure-summaries-in-pull-request
Draft

sara4dev wants to merge 2 commits into
mainfrom
saperiyasamy/dyn-4542-explore-ci-status-and-failure-summaries-in-pull-request

Conversation

@sara4dev

@sara4dev sara4dev commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds one updating PR comment for Pre Merge, PR, and PR-XPU with the current head SHA, emoji status labels, failed steps, bounded sanitized log excerpts, and links to full logs. This gives contributors and agents useful failure evidence without downloading entire CI logs.

The reporter runs trusted default-branch code, handles fork PRs and partial reruns, and rejects stale or ambiguous results. Fern preview updates now target their own comment so they cannot overwrite the CI summary.

Refs DYN-4542. Inspired by the FlashInfer example.

Validation

Draft pending full CI and maintainer review. Live comment publication is verified; automatic workflow_run triggering and event-to-PR resolution still need validation after merge to the default branch. This reports three named workflows and diagnostic excerpts, without nightly comparisons or inferred root-cause labels.

Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>
@github-actions github-actions Bot added ci Issues/PRs that reference CI build/test documentation Improvements or additions to documentation actions labels Sep 29, 2026
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

CI status

PR head: d51d65cd9fac2c139677b94050a8d1b1a8a222f3

Workflow Status Jobs Run
Pre Merge ⏳ Queued 11 total: 2 passed, 0 failed, 3 skipped, 0 cancelled, 5 running, 1 queued Run 36508654392 · attempt 1
PR ⏳ Pending 0 total: 0 passed, 0 failed, 0 skipped, 0 cancelled Run 36508657280 · attempt 1
PR-XPU ✅ Pass 4 total: 1 passed, 0 failed, 3 skipped, 0 cancelled Run 36508656801 · attempt 1

Legend: ✅ Pass · ❌ Failed · ⏱ Timed out · 🔄 Running · ⏳ Pending · 🚫 Cancelled · — Skipped / not run · ⚠️ Needs attention · ➖ Neutral · ❔ Unknown.

Counts include skipped and cancelled jobs; they are not passing tests.

Failure excerpts are selected from job logs and may be incomplete. Open the linked job or run for the full logs.

@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Intentional smoke-test fixture, separate from this PR's CI results.

CI status

PR head: d51d65cd9fac2c139677b94050a8d1b1a8a222f3

Workflow Status Jobs Run
Intentional CPU fixture (smoke test only) 🔄 Running 1 total: 0 passed, 1 failed, 0 skipped, 0 cancelled Run 36508692051 · attempt 1

Legend: ✅ Pass · ❌ Failed · ⏱ Timed out · 🔄 Running · ⏳ Pending · 🚫 Cancelled · — Skipped / not run · ⚠️ Needs attention · ➖ Neutral · ❔ Unknown.

Counts include skipped and cancelled jobs; they are not passing tests.

Intentional CPU fixture (smoke test only) failures

Intentional CPU failure fixture — ❌ Failed

Open job log

Failed steps:

Complete job name: Intentional CPU failure fixture
##[group]Run echo 'FAILED ci_summary_smoke::intentional_failure - AssertionError: expected smoke-test failure'
echo 'FAILED ci_summary_smoke::intentional_failure - AssertionError: expected smoke-test failure'
echo 'FAILED ci_summary_smoke::escaping - AssertionError: <tag> must be escaped; token=[REDACTED]
exit 1
##[endgroup]
FAILED ci_summary_smoke::intentional_failure - AssertionError: expected smoke-test failure
FAILED ci_summary_smoke::escaping - AssertionError: <tag> must be escaped; token=[REDACTED]
##[error]Process completed with exit code 1.

Failure excerpts are selected from job logs and may be incomplete. Open the linked job or run for the full logs.

@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions ci Issues/PRs that reference CI build/test documentation Improvements or additions to documentation size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant