-
Notifications
You must be signed in to change notification settings - Fork 109
fix(workflows): fix branch version bug #2475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 06-16-chore_pegboard_replace_computing_image_size_manually_with_using_tar_bytes_read
Are you sure you want to change the base?
fix(workflows): fix branch version bug #2475
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR addresses a workflow branching bug and removes unnecessary OK server installation from the Guard pool type.
- Removed
components::ok_server::install()
from Guard pool type inpackages/core/services/cluster/src/workflows/server/install/install_scripts/mod.rs
- Fixed workflow branching version consistency by correctly passing version parameter to
commit_workflow_branch_event
inpackages/common/chirp-workflow/core/src/ctx/workflow.rs
- Added clarifying documentation about branch validation in workflow context
- Ensures proper version tracking in workflow history for branched executions
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
1af82bc
to
2c5c2c3
Compare
147d554
to
39220d3
Compare
2c5c2c3
to
469ba5f
Compare
dfaf6f7
to
f31f5b8
Compare
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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
CodeRabbit Configuration File (
|
Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
f31f5b8
to
a30bfaf
Compare
492b9ad
to
8dfaf51
Compare
Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
8dfaf51
to
8f3a306
Compare
a30bfaf
to
983d5fc
Compare
Claude finished @MasterPtato's task —— View job Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
8f3a306
to
a774361
Compare
983d5fc
to
741459e
Compare
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Claude finished @MasterPtato's task —— View job PR Review: Fix Branch Version Bug
Code Quality & Best Practices ✅Positive aspects:
Suggestions:
Bug Analysis ✅Primary bug fix (workflow.rs:403): // Before: Used context's version
self.version,
// After: Uses the correct version parameter
version, This fix ensures that Risk assessment: Low risk - the fix is targeted and addresses a clear logical error in parameter passing. Performance Considerations ✅
Security Assessment ✅
Test Coverage
|
Claude encountered an error —— View job PR Review: Fix Branch Version Bug
Analyzing the workflow branching bug fix... |
a774361
to
492c606
Compare
741459e
to
7179109
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
Changes