Skip to content

ainic_bundle_1.117.5-a-58#580

Draft
wenxie-amd wants to merge 1 commit intomainfrom
dev/wenx/upgrad_ainic_0304
Draft

ainic_bundle_1.117.5-a-58#580
wenxie-amd wants to merge 1 commit intomainfrom
dev/wenx/upgrad_ainic_0304

Conversation

@wenxie-amd
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 08:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the AINIC bundle version used by the Docker build pipeline, aligning the AINIC-enabled image build with the new ainic_bundle_1.117.5-a-58 artifact.

Changes:

  • Bump AINIC bundle tarball/directory references from ...a-56 to ...a-58 in the AINIC Dockerfile.
  • Update the CI workflow to copy the ...a-58 bundle before building the -ainic image.
  • Comment out the Torch and JAX unit-test jobs in the CI workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/docker/Dockerfile.ainic Updates bundle filename/directory to ainic_bundle_1.117.5-a-58 for the AINIC image build.
.github/workflows/ci.yaml Copies the new bundle for the AINIC build and disables (comments out) Torch/JAX unit-test jobs.

Comment on lines +198 to +202
# run-unittest-torch:
# env:
# PRIMUS_WORKDIR: /mnt/apps_proxy/tas/0_public/primus_ci/actions-runner-torch
# # PRIMUS_WORKDIR: /wekafs/primus-data/primus_safe_ci/torch
# needs: [code-lint]
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

The run-unittest-torch job definition was removed (now fully commented out), so this workflow no longer runs any unit tests (the only remaining job besides build-docker is code-lint). If the intent is to temporarily disable UTs, please gate it behind a condition/input (e.g., workflow_dispatch input or an env flag) and add an inline rationale + tracking issue; otherwise restore the job so PRs still get test signal.

Copilot uses AI. Check for mistakes.
Comment on lines +307 to +311
# run-unittest-jax:
# env:
# PRIMUS_WORKDIR: /wekafs/primus-data/primus_safe_ci/jax
# needs: [code-lint]
# runs-on: [primus-lm-cicd-jax-m42vb]
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

The run-unittest-jax job is also removed/commented out, which eliminates JAX test coverage from CI entirely. If this is intentional, add a clear comment explaining why and a plan/issue to re-enable; otherwise restore the job (or at least keep a minimal smoke/unit-test subset) to prevent regressions landing unnoticed.

Copilot uses AI. Check for mistakes.
Comment on lines +33 to +37
COPY ${AINIC_BUNDLE_PATH}/ainic_bundle_1.117.5-a-58.tar.gz ${WORKDIR}
RUN cd ${WORKDIR} && \
echo "Building ainic bundle... current directory: ${WORKDIR}" && \
tar zxf ainic_bundle_1.117.5-a-56.tar.gz && \
cd ainic_bundle_1.117.5-a-56 && \
tar zxf ainic_bundle_1.117.5-a-58.tar.gz && \
cd ainic_bundle_1.117.5-a-58 && \
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

The AINIC bundle tarball name is hardcoded here and duplicated in the workflow; even a small version bump requires editing multiple strings and is easy to mismatch. Consider parameterizing the bundle filename/version via a build-arg (e.g., AINIC_BUNDLE_TARBALL/AINIC_BUNDLE_DIR) and using that in COPY/extract/cd so the version is set in one place (the workflow) and passed into the Docker build.

Copilot uses AI. Check for mistakes.
Comment on lines 116 to +118
mkdir -p $GITHUB_WORKSPACE/.github/workflows/docker/ainic
cp /apps/tas/0_public/primus_docker_ci/ainic/ainic_bundle_1.117.5-a-56.tar.gz $GITHUB_WORKSPACE/.github/workflows/docker/ainic/ || { echo "Error: Failed to copy ainic bundle"; exit 1; }
# cp /apps/tas/0_public/primus_docker_ci/ainic/ainic_bundle_1.117.5-a-56.tar.gz $GITHUB_WORKSPACE/.github/workflows/docker/ainic/ || { echo "Error: Failed to copy ainic bundle"; exit 1; }
cp /apps/tas/0_public/primus_docker_ci/ainic/ainic_bundle_1.117.5-a-58.tar.gz $GITHUB_WORKSPACE/.github/workflows/docker/ainic/ || { echo "Error: Failed to copy ainic bundle"; exit 1; }
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

This step now has both a commented-out copy of the previous bundle and a new hardcoded bundle filename. To reduce churn and avoid stale comments, consider defining the bundle name once (e.g., in env:) and using it in the cp command, and remove the commented-out cp line once the migration is confirmed.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants