Skip to content

ci: add uv package install cooldown#157

Merged
bhimrazy merged 3 commits into
Lightning-AI:mainfrom
bhimrazy:add-uv-install-cooldown
Jun 5, 2026
Merged

ci: add uv package install cooldown#157
bhimrazy merged 3 commits into
Lightning-AI:mainfrom
bhimrazy:add-uv-install-cooldown

Conversation

@bhimrazy
Copy link
Copy Markdown
Collaborator

@bhimrazy bhimrazy commented Jun 4, 2026

What does this PR do?

Adds a CI-only supply-chain guard for uv-based workflows: the resolver refuses PyPI releases published within the last 2 days, reducing the chance that newly uploaded typosquats or malicious packages land in CI before they are detected/yanked.

ref: Lightning-AI/pytorch-lightning#21722.

Env var Value Scope
UV_EXCLUDE_NEWER "2 days" uv-based workflow jobs

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 4, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84%. Comparing base (e5cebd0) to head (35514d1).
⚠️ Report is 1 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #157   +/-   ##
===================================
  Coverage    84%    84%           
===================================
  Files        12     12           
  Lines       517    517           
===================================
  Hits        436    436           
  Misses       81     81           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bhimrazy bhimrazy merged commit 8fa1c77 into Lightning-AI:main Jun 5, 2026
25 checks passed
@bhimrazy bhimrazy deleted the add-uv-install-cooldown branch June 5, 2026 08:46
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.

4 participants