Skip to content

ci(efa): build and test the -efa images in nightly only - #12914

Closed
jh-nv wants to merge 2 commits into
mainfrom
jihao/efa-images-nightly-only
Closed

jh-nv wants to merge 2 commits into
mainfrom
jihao/efa-images-nightly-only

Conversation

@jh-nv

@jh-nv jh-nv commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

EFA changes are sparse, so rebuilding all three -efa images on every push to main — multi-arch, 120-minute build timeouts — costs far more CI than the risk warrants. nightly-ci.yml already builds the same three images, so post-merge is pure duplication.

Removed from post-merge-ci.yml:

  • vllm-efa-build, sglang-efa-build, trtllm-efa-build
  • vllm-efa-test, trtllm-efa-test — these ran '(pre_merge or post_merge) and <framework> and gpu_0', character-for-character the same markers as the non-EFA vllm-test / trtllm-test CPU stages. They asserted nothing EFA-specific, so they were a duplicate run of the ordinary suite inside a differently-packaged image.
  • the three -efa-build entries in clean-k8s-builder's needs: list (would otherwise be a dangling reference)

Net: −109 lines, five jobs, and three multi-arch image builds off the per-commit path.

What is preserved

  • Compliance. The nightly -efa builds already set inline_compliance: true, so OSRB extract + verify still covers EFA images. The comment in the IMAGE COMPLIANCE block is updated to point at nightly.
  • EFA test coverage. test(efa): add EFA packaging checks to the nightly -efa image jobs #12868 adds vllm-efa-test / sglang-efa-test / trtllm-efa-test to nightly-ci.yml, running the efa_image packaging checks against each nightly -efa image on amd64 and arm64 — which is more EFA coverage than post-merge ever had, since post-merge never checked EFA packaging at all and sglang had no EFA test job anywhere.

Important

Merge #12868 first. This PR removes the post-merge EFA jobs; #12868 adds the nightly ones. Landing this alone leaves a window with no EFA image testing.

What is lost

This stops publishing the main-<framework>-efa and main-<framework>-efa-<sha> moving tags — only post-merge produced them (extra_tags, gated on ref_name == 'main'). Nothing in the repo's pipelines consumes them, and dropping them is intentional: EFA images are consumed from release tags and from the nightly -efa builds, so a per-commit main-tracking EFA tag is not worth a multi-arch build on every push.

They are deliberately not repointed at the nightly builds either — those images are dev-version stamped (dev_version_suffix → X.Y.Z.devYYYYMMDD wheels), so reusing the main-* names would silently change what the tag means.

Release builds are unaffected; release.yml builds its own EFA images.

Validation

Static, since this only removes jobs:

  • post-merge-ci.yml parses; 54 jobs, zero efa jobs remaining
  • no dangling needs: — every dependency of every remaining job resolves (checked programmatically across all 54)
  • no residual textual reference to any of the five removed job names
  • pre-commit passes (isort / black / flake8 / ruff / codespell / check-yaml / check-toml / …)

An internal Linear ticket also tracks this work.

🤖 Generated with Claude Code


Open in Devin Review

Summary by CodeRabbit

  • CI/CD
    • EFA image builds and tests were removed from post-merge checks.
    • EFA image handling is now documented under nightly CI.
    • Kubernetes builder cleanup no longer waits for the removed EFA jobs.

EFA changes are sparse, so rebuilding all three -efa images on every push to
main -- multi-arch, 120-minute build timeouts -- costs far more CI than the
risk warrants. nightly-ci.yml already builds the same three images with
inline_compliance, so post-merge is pure duplication.

Drop from post-merge-ci.yml:
- vllm-efa-build, sglang-efa-build, trtllm-efa-build
- vllm-efa-test, trtllm-efa-test, which ran the same CPU markers as the
  non-EFA vllm-test/trtllm-test jobs and asserted nothing EFA-specific
- the three -efa-build entries in clean-k8s-builder's needs list

Compliance coverage is unaffected: the nightly -efa builds already set
inline_compliance: true.

Note this stops publishing the main-<framework>-efa and
main-<framework>-efa-<sha> moving tags, which only post-merge produced. The
nightly -efa images are dev-version stamped (X.Y.Z.devYYYYMMDD wheels), so
they are deliberately not retagged as main-* here rather than silently
changing what those tags mean.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Jie Hao <[email protected]>
@jh-nv
jh-nv requested a review from a team as a code owner August 10, 2026 03:57
@jh-nv

jh-nv commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test b2dd747

@github-actions github-actions Bot added ci Issues/PRs that reference CI build/test actions labels Aug 10, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment on lines +555 to +558
# the /sources.zip OSRB artifact. A compliance failure fails the build.
#
# EFA images build in nightly-ci.yml, not here, and carry inline_compliance
# there (make_efa flows to the extract).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 No EFA test jobs exist in nightly at this commit

The updated comment states EFA images "build in nightly-ci.yml, not here" and the PR relies on #12868 for EFA test coverage. At this head SHA, .github/workflows/nightly-ci.yml contains only vllm-efa-build / sglang-efa-build / trtllm-efa-build (nightly-ci.yml:471-539) — no *-efa-test jobs. So merging this before #12868 leaves the repo with zero EFA image tests in any pipeline, as the author flags. Worth confirming merge ordering before landing.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The post-merge workflow no longer builds or tests vLLM, SGLang, or TRT-LLM EFA images. Compliance documentation now points to nightly-ci.yml, and Kubernetes builder cleanup no longer depends on the removed EFA build jobs.

Changes

EFA workflow ownership

Layer / File(s) Summary
EFA job removal and cleanup wiring
.github/workflows/post-merge-ci.yml
Removed the EFA build and test jobs. Updated compliance comments to reference nightly-ci.yml. Removed the EFA build jobs from clean-k8s-builder dependencies.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the changes and validation, but it omits the required Related Issues section and the Where should the reviewer start section. Add the required Related Issues selection and identify where the reviewer should start, preferably using the template headings.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely describes moving EFA image builds and tests to nightly CI.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/post-merge-ci.yml:
- Around line 555-558: Delay merging this workflow change until pull request
`#12868` has merged, ensuring its nightly vllm, sglang, and trtllm EFA packaging
tests for both amd64 and arm64 are present first.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: cb383526-7dd8-4196-b28d-65b839033373

📥 Commits

Reviewing files that changed from the base of the PR and between a3a3c24 and b2dd747.

📒 Files selected for processing (1)
  • .github/workflows/post-merge-ci.yml

Comment on lines +555 to +558
# the /sources.zip OSRB artifact. A compliance failure fails the build.
#
# EFA images build in nightly-ci.yml, not here, and carry inline_compliance
# there (make_efa flows to the extract).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

state="$(gh pr view 12868 --json state --jq '.state')"
test "$state" = "MERGED"

merge_sha="$(gh pr view 12868 --json mergeCommit --jq '.mergeCommit.oid')"
git merge-base --is-ancestor "$merge_sha" HEAD

rg -n -C 4 \
  'vllm-efa|sglang-efa|trtllm-efa|make_efa: *true|linux/amd64,linux/arm64' \
  .github/workflows/nightly-ci.yml

Repository: ai-dynamo/dynamo

Length of output: 154


🏁 Script executed:

#!/usr/bin/env bash
set +e
printf '%s\n' '--- pull request state ---'
gh pr view 12868 --repo ai-dynamo/dynamo --json state,mergeCommit,mergedAt,title,url
printf 'gh_exit=%s\n' "$?"
printf '%s\n' '--- current revision ---'
git rev-parse HEAD
printf '%s\n' '--- workflow references ---'
rg -n -C 8 'vllm-efa|sglang-efa|trtllm-efa|make_efa|linux/amd64|linux/arm64|inline_compliance' .github/workflows/nightly-ci.yml .github/workflows/post-merge-ci.yml
printf '%s\n' '--- workflow files ---'
git ls-files '.github/workflows/*ci.yml'

Repository: ai-dynamo/dynamo

Length of output: 37239


🏁 Script executed:

#!/usr/bin/env bash
set +e
printf '%s\n' '--- pull request metadata ---'
gh pr view 12868 --repo ai-dynamo/dynamo --json state,baseRefName,headRefName,files,body
printf '%s\n' '--- pull request diff matching EFA packaging and platforms ---'
gh pr diff 12868 --repo ai-dynamo/dynamo | rg -n -C 12 \
  'efa|EFA|packag|vllm|sglang|trtllm|amd64|arm64|platform|pytest'
printf '%s\n' '--- changed files ---'
gh pr diff 12868 --repo ai-dynamo/dynamo --name-only

Repository: ai-dynamo/dynamo

Length of output: 18303


Merge this change after pull request #12868.

Pull request #12868 is still open. It adds nightly vllm, sglang, and trtllm EFA packaging tests for both amd64 and arm64. Merge this change only after #12868 merges.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/post-merge-ci.yml around lines 555 - 558, Delay merging
this workflow change until pull request `#12868` has merged, ensuring its nightly
vllm, sglang, and trtllm EFA packaging tests for both amd64 and arm64 are
present first.

@datadog-official

This comment has been minimized.

…tly-only

Conflicts were all delete-vs-modify in post-merge-ci.yml: this branch removes the
-efa build and test jobs, and main had since edited them. Resolved by keeping the
deletions for vllm-efa-build, sglang-efa-build, trtllm-efa-build, vllm-efa-test
and trtllm-efa-test.

The sixth conflict, clean-k8s-builder's needs: list, was a genuine both-sides
edit rather than a delete: main dropped snapshot-agent while this branch dropped
the three -efa builds. Resolved to main's list minus the -efa entries, so
snapshot-agent stays removed.

Verified after resolution: 56 jobs, no -efa jobs remaining, snapshot-agent not
reintroduced, no dangling needs, and actionlint reports the same single
pre-existing finding as main.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Jie Hao <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions Bot added the Stale label Nov 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been closed due to inactivity. If you believe this PR is still relevant, please feel free to reopen it with additional context or information.

@github-actions github-actions Bot closed this Nov 18, 2026
@github-actions
github-actions Bot deleted the jihao/efa-images-nightly-only branch November 18, 2026 09:32
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 size/L Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant