Repository navigation
ci(bloat): bump bloat-regression setup-uv from v3 to v6 (#2944) - #2945
Conversation
setup-uv@v3 fails the **/uv.lock cache-glob match at job start even though uv.lock exists in the repo at HEAD. Every recent run of the bloat regression workflow has been failing in ~10s before reaching the test step, silently disabling the Stage-6 verification gate that #2886 depends on. All other setup-uv usages in this repo pin v6 and work correctly. This brings the bloat workflow in line. Closes #2944. Refs #2886. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
📝 WalkthroughWalkthroughThe PR bumps ChangesBloat Regression Workflow CI Fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
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/bloat_regression_esp32s3.yml:
- Line 69: The workflow currently references the mutable tag "uses:
astral-sh/setup-uv@v6"; replace that with a pinned full commit SHA for
astral-sh/setup-uv (e.g. "uses: astral-sh/setup-uv@<commit-sha>" and you may
append a human-readable comment like "# v6" for clarity) to prevent tag
drift—locate the line containing the literal string "uses:
astral-sh/setup-uv@v6" and update it to the action@<full-commit-sha> form using
the commit SHA from the astral-sh/setup-uv repository.
🪄 Autofix (Beta)
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: Pro
Run ID: 06d84303-e870-4b42-9cc5-bcc574e0fbd1
📒 Files selected for processing (1)
.github/workflows/bloat_regression_esp32s3.yml
|
|
||
| - name: Set up uv (Python toolchain) | ||
| uses: astral-sh/setup-uv@v3 | ||
| uses: astral-sh/setup-uv@v6 |
There was a problem hiding this comment.
Pin astral-sh/setup-uv to a full commit SHA (Line 69).
uses: astral-sh/setup-uv@v6 is an unpinned mutable tag (other workflows also use @v6/@v4 without SHAs), leaving the workflow exposed to tag drift/supply-chain risk—pin to a specific commit digest (optionally keep # v6 for readability).
🧰 Tools
🪛 zizmor (1.25.2)
[error] 69-69: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 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/bloat_regression_esp32s3.yml at line 69, The workflow
currently references the mutable tag "uses: astral-sh/setup-uv@v6"; replace that
with a pinned full commit SHA for astral-sh/setup-uv (e.g. "uses:
astral-sh/setup-uv@<commit-sha>" and you may append a human-readable comment
like "# v6" for clarity) to prevent tag drift—locate the line containing the
literal string "uses: astral-sh/setup-uv@v6" and update it to the
action@<full-commit-sha> form using the commit SHA from the astral-sh/setup-uv
repository.
…2949) The Stage-6 regression gate (now operational after the #2945 + #2947 infra fixes) measured total_flash=338,117 B on master @ 56af093 with 1,845 B of headroom against the previous pin. The drop is the cascade saving from #2943 (Channel::makeName release-gate) pulling out fl::to_string<i64> and fl::string::operator+ machinery. Lock in the saving so future regressions up to 1,845 B can't slip past the gate. Closes #2948. Refs #2886. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Summary
Root cause
`setup-uv@v3`'s cache-key glob (`**/uv.lock`) errors when the glob returns zero matches even though `uv.lock` is present in the repo at HEAD. Fixed in v4+. Verified by comparing against the 7 other workflows in the repo that use setup-uv successfully (they all pin v6).
Test plan
Closes #2944. Refs #2886.
🤖 Generated with Claude Code
Summary by CodeRabbit