[infra] Preserve nightly artifacts across reruns#57
Conversation
Defer aggregation and cleanup after matrix failures so selective job reruns can reuse successful jobs' staging artifacts.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe nightly workflow enables overwriting named artifacts and requires successful ChangesNightly artifact handling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8).github/workflows/nightly.ymlTraceback (most recent call last): Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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/nightly.yml:
- Line 577: Update the three upload-artifact steps in the nightly workflow to
ensure reruns replace existing staging artifacts, either by enabling overwrite:
true or by incorporating the workflow attempt into each artifact name. Preserve
the existing artifact grouping and consolidation behavior.
- Line 356: Replace every actions/download-artifact and actions/upload-artifact
tag reference in the nightly workflow, including the usages near the identified
download steps, with the approved immutable commit SHA for each action version;
keep the existing action inputs and workflow behavior unchanged.
🪄 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: ASSERTIVE
Plan: Enterprise
Run ID: 8c3d0678-53e0-46f1-981f-a15cd208bd1b
📒 Files selected for processing (1)
.github/workflows/nightly.yml
Overwrite fixed-name artifacts so selective retries publish current outputs instead of colliding with stale results from earlier attempts.
Test Results
cuVSLAM Evaluation KPIs
Artifacts |
Defer aggregation and cleanup after matrix failures so selective job reruns can reuse successful jobs' staging artifacts.
Summary by CodeRabbit