Repository navigation
fix: Cut release only when all tests passed - #721
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe changes introduce a new Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Kevin (kevcube)
left a comment
There was a problem hiding this comment.
seems like a good idea
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
📒 Files selected for processing (1)
- .github/workflows/test.yml (1 hunks)
🧰 Additional context used
🪛 yamllint
.github/workflows/test.yml
[error] 332-332: too many blank lines
(1 > 0) (empty-lines)
🔇 Additional comments (1)
.github/workflows/test.yml (1)
324-332: Summary: The PR successfully implements the release job with minor suggestions for improvement.The addition of the
releasejob successfully addresses the PR objective of cutting a release only when all tests have passed. The job is well-structured and integrated with the existing workflow. A few minor suggestions have been made to improve clarity and adhere to best practices:
- Verify the
publish: falsesetting.- Add a comment explaining the purpose of the release job.
- Remove extra blank lines at the end of the file.
These suggestions are minor and do not prevent the PR from being merged. Overall, the implementation looks good and achieves the desired outcome.
🧰 Tools
🪛 yamllint
[error] 332-332: too many blank lines
(1 > 0) (empty-lines)
|
I also feel that there isn't a huge need to require tests to pass before releases happen - instead, tests should be required for any PR merge. If tests are deterministic, which I expect them to be, then all code in |
|
Kevin (@kevcube) I'd agree with you skipping tests on main branch runs if we would require Could you pls approve this PR? |
|
These changes were released in v1.119.0. |
Co-authored-by: Andriy Knysh <[email protected]> Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
what
why
references
Summary by CodeRabbit
New Features
Bug Fixes