-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(executor): loop sentinel-end wrongly queued #3148
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile OverviewGreptile SummaryThis change adjusts A regression test is added to ensure Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Exec as Executor
participant EM as EdgeManager
participant DAG as DAG
Exec->>EM: processOutgoingEdges(node, output)
EM->>EM: shouldActivateEdge(...) per outgoing edge
alt Edge not activated
EM->>EM: deactivateEdgeAndDescendants(...)
EM->>EM: cascadeTargets.add(terminalControlNodes)
else Edge activated
EM->>EM: activatedTargets.add(target)
EM->>DAG: targetNode.incomingEdges.delete(node.id)
EM->>EM: if isTargetReady(target) -> readyNodes.push(target)
end
alt Dead-end (activatedTargets.length == 0)
EM->>EM: if isTargetReady(cascadeTarget) -> readyNodes.push(cascadeTarget)
else Some edges activated
EM-->>EM: do NOT queue cascade terminal control nodes on deactivated branches
end
EM-->>Exec: return readyNodes
|
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.
2 files reviewed, no comments
|
@cursor review |
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.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
* fix(executor): loop sentinel-end wrongly queued * fix nested subflow error highlighting
* feat(skills): added skills to agent block * improvement(skills): audit fixes, docs, icon, and UX polish * fix(skills): consolidate redundant permission checks in POST and DELETE * more friendly error for duplicate skills in the same workspace * fix(executor): loop sentinel-end wrongly queued (#3148) * fix(executor): loop sentinel-end wrongly queued * fix nested subflow error highlighting * fix(linear): align tool outputs, queries, and pagination with API (#3150) * fix(linear): align tool outputs, queries, and pagination with API * fix(linear): coerce first param to number, remove duplicate conditions, add null guard * fix(resolver): response format and evaluator metrics in deactivated branch (#3152) * fix(resolver): response format in deactivated branch * add evaluator metrics too * add child workflow id to the workflow block outputs * cleanup typing * feat(slack): add file attachment support to slack webhook trigger (#3151) * feat(slack): add file attachment support to slack webhook trigger * additional file handling * lint * ack comment * fix(skills): hide skill selection when disabled, remove dead code --------- Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
Summary
Type of Change
Testing
Added a test
Checklist