ci: fix early exit and timing issues#2159
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughBuild workflow now exposes the computed release tag and adds a nexus-upload job that invokes a new reusable upload workflow. The release workflow is simplified (removed dry_run input, permissions, outputs, and a dispatch job). upload-nexus.yaml becomes a callable workflow with inputs, secrets, and tag validation that rejects hyphenated (pre-release) tags. Changes
Sequence Diagram(s)sequenceDiagram
participant Build as Build (build.yaml)
participant Release as Release (release job)
participant Upload as Upload (upload-nexus.yaml)
participant Nexus as Nexus
Build->>Release: run release job -> compute release_tag
Release-->>Build: expose outputs.release_tag
Build->>Upload: workflow_call(tag: release_tag, artifact_pattern, dry_run, secrets)
Upload->>Upload: validate tag (error if contains "-")
Upload->>Nexus: upload artifact(s) (dry_run or real) with provided secrets
Nexus-->>Upload: upload result
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. 🔧 actionlint (1.7.12).github/workflows/build.yamlcould not read ".github/workflows/build.yaml": open .github/workflows/build.yaml: no such file or directory 🔧 YAMLlint (1.38.0).github/workflows/build.yaml[Errno 2] No such file or directory: '.github/workflows/build.yaml' 🔧 Checkov (3.2.519).github/workflows/build.yaml2026-04-20 23:11:22,082 [MainThread ] [ERROR] Template file not found: .github/workflows/build.yaml ... [truncated 9062 characters] ... 2] No such file or directory: '.github/workflows/build.yaml' 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 |
|
No actionable suggestions for changed features. |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/build.yaml:
- Around line 615-621: nexus-upload is being skipped when the upstream release
job is skipped; modify the job's if condition so it runs regardless of upstream
skip by prefixing the existing condition with always(), i.e. update the
nexus-upload job's if (the line currently containing "if: startsWith(github.ref,
'refs/tags/v') && !contains(github.ref_name, '-' )") to include always() so the
job will execute even when needs: release is skipped.
In @.github/workflows/upload-nexus.yaml:
- Around line 46-49: The artifact_pattern default in upload-nexus.yaml is
incorrect (uses "CommunityShaders-*.7z") which doesn't match produced assets
named "CommunityShaders_AIO-*.7z"; fix by either updating the caller build.yaml
to pass artifact_pattern: "CommunityShaders_AIO-*.7z" when invoking the
upload-nexus.yaml workflow, or change the default value of the artifact_pattern
input in upload-nexus.yaml to "CommunityShaders_AIO-*.7z" so the artifact
selection step (the artifact_pattern input used in the upload logic) matches the
real files.
🪄 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: 172703e8-0fe6-4e9f-b7f6-1d11d07a5834
📒 Files selected for processing (3)
.github/workflows/build.yaml.github/workflows/release.yaml.github/workflows/upload-nexus.yaml
💤 Files with no reviewable changes (1)
- .github/workflows/release.yaml
|
✅ A pre-release build is available for this PR: |
(cherry picked from commit 89b38e6)
Summary by CodeRabbit