fix(executor): loop sentinel-end wrongly queued#3148
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
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
|
Collaborator
Author
|
@cursor review |
waleedlatif1
pushed a commit
that referenced
this pull request
Feb 6, 2026
* fix(executor): loop sentinel-end wrongly queued * fix nested subflow error highlighting
waleedlatif1
added a commit
that referenced
this pull request
Feb 6, 2026
* 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>
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.
Summary
Type of Change
Testing
Added a test
Checklist