Repository navigation
Conversation
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
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. |
Contributor
Owner
Author
|
Verdict: APPROVE Review of the PR head for 21235.
|
This was referenced Nov 9, 2026
Merged
Merged
timothybrush
pushed a commit
to timothybrush/AutoBot-AI
that referenced
this pull request
Nov 10, 2026
This was referenced Nov 11, 2026
Closed
Owner
Author
Owner
Author
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
This was referenced Nov 18, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #20585
Thinking Path
Since #19807 a workflow command step runs as its creator and is refused when none is recorded. On current main, three of the four creators named in the issue already record an owner; only
POST /workflow/executedid not.Single-issue rationale
One defect: a creator that has a verified caller but drops it. Fixed once, with tests for all four creators.
What Changed
api/workflow.py:execute_workflowtakesget_current_userand passescaller_id(current_user)(the verified caller, never the body) to the complex-request path._execute_complex_workflowmoved toapi/workflow_complex.pybecauseapi/workflow.pyis over its size ceiling and may not grow. The body is unchanged apart from one addition: a newowner_idparameter, forwarded tocreate_workflow_from_chat_request.services/workflow_automation/creator_owner_20585_test.py: per creator, an admin caller's recorded owner runs a command step and a plain user's is refused; plus a no-owner workflow is still refused.Per creator on main:
api/workflow.pyexecuteapi/templates.py_create_and_start_workflowcaller_id(current_user)(test added)services/advanced_workflow/coordinator.py_create_workflowowner_id; both routes passcaller_id(test added)services/workflow_serializer.pyimport_workflowowner_id; callers pass the verified user (test added)No creator is an internal path without a person, so AC3 raises no decision.
Verification
creator_owner_20585_test.py: 5 passed.repo_tests/one_admin_gate_16333_test.pyand the fast guards: 2103 passed, 2110 skipped.Model Used
Claude Sonnet 5.5
🤖 Generated with Claude Code