Skip to content

[CI] Integrate manifest diff into nightly builds (Part 3/3)#3302

Draft
amd-hsivasun wants to merge 5 commits intomainfrom
amd/hsivasun/integrate-manifest-diff-ci
Draft

[CI] Integrate manifest diff into nightly builds (Part 3/3)#3302
amd-hsivasun wants to merge 5 commits intomainfrom
amd/hsivasun/integrate-manifest-diff-ci

Conversation

@amd-hsivasun
Copy link
Contributor

Motivation

Automatically generate manifest diff reports during nightly CI runs to provide visibility into what changed since the last successful nightly build.

This is Part 3/3 of the manifest diff report feature (split from #2161).

Technical Details

Add generate_manifest_diff job to .github/workflows/ci_nightly.yml:

  • Calls the manifest-diff.yml reusable workflow
  • Uses find_last_successful: "ci_nightly.yml" to find the start commit
  • Uses end_commit: ${{ github.sha }} for the current commit
  • Report is uploaded to S3 under the same run ID as the nightly build

The job runs independently of other nightly jobs and does not block them.

Test Plan

  • Trigger a manual nightly run via workflow_dispatch
  • Verify generate_manifest_diff job runs successfully
  • Verify report appears in S3 under the nightly run's artifacts

Test Result

Pending nightly run after merge.

Submission Checklist

amd-hsivasun and others added 5 commits February 6, 2026 00:50
This script generates HTML reports comparing submodule versions
between two TheRock commits, with support for:
- Superrepo component-level analysis (rocm-libraries, rocm-systems)
- Submodule
- Status detection: added, removed, changed, unchanged, reverted
- Add 24 tests covering pure functions, mocked API calls, and integration
  scenarios for the generate_manifest_diff_report.py script
- Fix ImportError: use gha_query_workflow_run_by_id (correct function name)
  instead of gha_query_workflow_run_information

Co-authored-by: Cursor <cursoragent@cursor.com>
Allow specifying a custom output directory for the generated HTML
report. When --output-dir is provided, the script creates the
directory (if needed) and writes TheRockReport.html there.

This makes integration with CI workflows easier, as the report can
be written directly to a reports/ directory for upload scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Adds a reusable workflow for generating manifest diff reports that can be:
- Triggered manually via workflow_dispatch
- Called from other workflows via workflow_call

Supports three modes:
- find-last-successful: Compare against last successful workflow run
- workflow-mode: Use workflow run IDs instead of commit SHAs
- Direct commit SHA comparison

Co-authored-by: Cursor <cursoragent@cursor.com>
Add a job to automatically generate the manifest diff report during
nightly CI runs. The report compares from the last successful nightly
to the current commit, providing visibility into what changed.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

1 participant