Conversation
|
PR title type suggestion: This PR adds a GitHub Actions workflow for release automation, which is a CI/CD pipeline change. The type prefix should probably be Suggested title: |
Code ReviewCritical Issues
Minor Issues
|
|
PR title type suggestion: This PR modifies only a GitHub Actions workflow file, so the type prefix should be Suggested title: |
|
PR title type suggestion: This PR changes only CI/CD workflow files, so the type prefix should probably be |
|
@claude review this PR |
Code ReviewThe previous review's critical issues (#1 race condition with sleep, #2 skopeo multi-arch, #3 version validation) have all been addressed in the current version — semver validation is present, New Critical Issue
The concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: trueThe release workflow dispatches this same workflow twice in sequence:
Both The result: Fix options:
Minor Issues
|
|
@claude review this PR |
Code ReviewPrevious critical issues (sleep race condition, concurrency cancellation, version validation, empty changelog handling, multi-arch skopeo) have all been addressed. The concurrency group fix in Remaining Issues
Neither of these is a hard merge blocker, but #1 is worth addressing to avoid flaky releases. ✅ Approved — the critical issues from prior reviews have been fixed. The two items above are recommendations for reliability. |
Unfortunately I don't have any suggestions. This is a big problem with GitHub Actions imo. |
This feels unnecessary to me. I'd rather have the developer create the tag, and the workflow can be triggered once the tag is pushed. Automatically triggering the release on merge can be quite risky since we're not fully controlling the merge order of PRs due to the merge queue. There's a risk other changes gets merged before, at which point the release changelog would be wrong and we could have unintended behavior in it. |
netrome
left a comment
There was a problem hiding this comment.
Explicitly requested the change we discussed. Will review this deeper once that's updated.
netrome
left a comment
There was a problem hiding this comment.
The tag filter should be updated
gilcu3
left a comment
There was a problem hiding this comment.
We need to install cargo-near
| - name: Build contract | ||
| run: cargo near build reproducible-wasm --manifest-path crates/contract/Cargo.toml |
There was a problem hiding this comment.
how will this work without installing cargo-near first?
Co-authored-by: Mårten Blankfors <marten@blankfors.se>
Closes #1971 .
This should be combined with PR github.com//pull/2200 for a full automation with little manual setup.
This PR triggers a GH action on main:
Only real problem is that I do not see a proper way of testing this without merging into main and without merging a dummy release/v0.0.0 PR.
Any suggestions?