v0.5.68: router block reasoning, executor improvements, variable resolution consolidation, helm updates#2946
Merged
waleedlatif1 merged 8 commits intomainfrom Jan 22, 2026
Merged
v0.5.68: router block reasoning, executor improvements, variable resolution consolidation, helm updates#2946waleedlatif1 merged 8 commits intomainfrom
waleedlatif1 merged 8 commits intomainfrom
Conversation
…cation (#2939) * improvement(workflow-item): stabilize avatar layout and fix name truncation * fix(avatars): revert overflow bg to hardcoded color for contrast
* fix(resolver): consolidate code to resolve references * fix edge cases * use already formatted error * fix multi index * fix backwards compat reachability * handle backwards compatibility accurately * use shared constant correctly
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis release consolidates seven improvements across executor reliability, variable resolution, and UX enhancements. The changes include fixes for parallel execution error handling, router reasoning output, reference resolution consolidation, and workflow avatar stability. Key Changes:
All changes are well-tested with 460+ executor tests passing, comprehensive router tests, and new DAG builder validation tests. Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant ExecutionEngine
participant NodeOrchestrator
participant RouterV2Handler
participant ProviderAPI
participant WorkflowHandler
participant BlockResolver
participant BlockReference
User->>ExecutionEngine: Execute workflow
ExecutionEngine->>NodeOrchestrator: executeNode(context, nodeId)
alt Router V2 Block
NodeOrchestrator->>RouterV2Handler: execute(context, block, inputs)
RouterV2Handler->>BlockResolver: resolve route definitions
RouterV2Handler->>ProviderAPI: POST with responseFormat schema
Note over ProviderAPI: Native structured JSON response
ProviderAPI-->>RouterV2Handler: {route: "id", reasoning: "why"}
RouterV2Handler->>RouterV2Handler: Parse JSON response
alt Invalid JSON fallback
RouterV2Handler->>RouterV2Handler: Use plain text as route
end
RouterV2Handler-->>NodeOrchestrator: {selectedRoute, reasoning, selectedPath}
end
alt Workflow Block
NodeOrchestrator->>WorkflowHandler: execute(context, block, inputs)
WorkflowHandler->>WorkflowHandler: Create sub-executor
WorkflowHandler->>ExecutionEngine: execute(childWorkflowId)
ExecutionEngine-->>WorkflowHandler: ExecutionResult with logs
WorkflowHandler->>WorkflowHandler: captureChildWorkflowLogs()
alt Child workflow errors
WorkflowHandler->>WorkflowHandler: Wrap error with childTraceSpans
WorkflowHandler-->>NodeOrchestrator: throw Error with childTraceSpans
end
WorkflowHandler-->>NodeOrchestrator: {result, childTraceSpans}
end
alt Block Reference Resolution
NodeOrchestrator->>BlockResolver: resolve("{{BlockName.field}}")
BlockResolver->>BlockReference: resolveBlockReference(name, path, context)
BlockReference->>BlockReference: Check schema for field validity
alt Field not in schema
BlockReference-->>BlockResolver: throw InvalidFieldError
BlockResolver->>BlockResolver: Try backwards compatibility fallback
end
BlockReference-->>BlockResolver: {value, blockId}
BlockResolver-->>NodeOrchestrator: resolved value
end
NodeOrchestrator-->>ExecutionEngine: {output, isFinalOutput}
alt Execution Error
NodeOrchestrator-->>ExecutionEngine: throw Error
ExecutionEngine->>ExecutionEngine: Set errorFlag = true
ExecutionEngine->>ExecutionEngine: Store executionError
ExecutionEngine->>ExecutionEngine: Stop parallel execution
end
ExecutionEngine->>ExecutionEngine: handleNodeCompletion()
ExecutionEngine->>ExecutionEngine: Process outgoing edges
ExecutionEngine-->>User: ExecutionResult
|
* Fix always allow, credential validation * Credential masking * Autoload
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.
Uh oh!
There was an error while loading. Please reload this page.