Skip to content

Don't show uv sync progress when installing extras to clean up CI logs - #1971

Merged
ayushdg merged 3 commits into
NVIDIA-NeMo:mainfrom
ayushdg:fix-gha-progress-logs
May 11, 2026
Merged

ayushdg merged 3 commits into
NVIDIA-NeMo:mainfrom
ayushdg:fix-gha-progress-logs

Conversation

@ayushdg

@ayushdg ayushdg commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

When looking through failing CI logs and clicking Attempt 1 I have to scroll a lot due to uv progress logs before I can get to the pytest failures. This PR enables --no-progress to get to logs sooner.

For eg in this run here's what I see https://github.com/NVIDIA-NeMo/Curator/actions/runs/25680372833/job/75390939626 :
Attempt starts here at line 204
image

But the pytest starts only at line 18000
image

The goal is to avoid 18k lines of scrolling before we can get to the test logs.

In contrast this PR has logs starting from line ~600 instead of ~18k
image

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • [N/A] New or Existing tests cover these changes.
  • [N/A] The documentation is up to date with these changes.

Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
@ayushdg
ayushdg requested a review from a team as a code owner May 11, 2026 17:17
@ayushdg
ayushdg requested review from huvunvidia and removed request for a team May 11, 2026 17:17
@greptile-apps

greptile-apps Bot commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds --no-progress to both uv sync invocations in the CPU and GPU unit test shell scripts to suppress verbose package installation output in CI logs, reducing log size from ~18k lines to ~600 lines before pytest output begins.

  • tests/L0_Unit_Test_CPU.sh: --no-progress added to the single uv sync call that installs all CPU extras.
  • tests/L0_Unit_Test_GPU.sh: --no-progress added to the uv sync call that installs GPU-specific extras.

Confidence Score: 5/5

Safe to merge — the change is limited to adding a display-only flag that has no effect on what packages are installed or how tests run.

Both scripts receive a single-flag addition (--no-progress) that only controls terminal output; all install behavior, lockfile enforcement, and test execution remain unchanged.

No files require special attention.

Important Files Changed

Filename Overview
tests/L0_Unit_Test_CPU.sh Adds --no-progress to uv sync to suppress installation progress bars in CI logs
tests/L0_Unit_Test_GPU.sh Adds --no-progress to uv sync to suppress installation progress bars in CI logs

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[CI Job Start] --> B[rm -rf .venv]
    B --> C[uv venv --seed --python PY_VERSION]
    C --> D["uv sync --no-progress --link-mode copy --locked\n...extras... --group test"]
    D --> E[source .venv/bin/activate]
    E --> F[coverage run / pytest]
    F --> G[Test Results]

    style D fill:#d4edda,stroke:#28a745
Loading

Reviews (3): Last reviewed commit: "Merge branch 'main' into fix-gha-progres..." | Re-trigger Greptile

This branch was previously deployed

2 inactive deployments
nemo-ci — 79bca820 Deployed May 11, 2026 by copy-pr-bot[bot] via L0_Unit_Test_GPU-serve #4397
test — 79bca820 Deployed May 11, 2026 by copy-pr-bot[bot] via cicd-wait-in-queue #4397
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