feat(workflow-executor): implement WorkflowPort adapter using forestadmin-client#1498
Merged
matthv merged 1 commit intofeat/prd-214-setup-workflow-executor-packagefrom Mar 18, 2026
Conversation
…dmin-client Adds ForestServerWorkflowPort that communicates with the Forest Admin server via HTTP (ServerUtils.query) for workflow step orchestration. Renames completeStepExecution to updateStepExecution. Exports ServerUtils from forestadmin-client. fixes PRD-233 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Coverage Impact This PR will not change total coverage. Modified Files with Diff Coverage (3)
🛟 Help
|
Scra3
reviewed
Mar 18, 2026
| export interface WorkflowPort { | ||
| getPendingStepExecutions(): Promise<PendingStepExecution[]>; | ||
| completeStepExecution(runId: string, stepHistory: StepHistory): Promise<void>; | ||
| updateStepExecution(runId: string, stepHistory: StepHistory): Promise<void>; |
Scra3
approved these changes
Mar 18, 2026
c25a953
into
feat/prd-214-setup-workflow-executor-package
30 checks passed
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
ForestServerWorkflowPortclass that wrapsServerUtils.queryfrom@forestadmin/forestadmin-clientto communicate with the Forest Admin server via HTTPServerUtilsfromforestadmin-clientfor reusecompleteStepExecution→updateStepExecutionon theWorkflowPortinterfaceTest plan
ServerUtils.queryfor all 4 methodsfixes PRD-233
🤖 Generated with Claude Code
Note
Implement
ForestServerWorkflowPortadapter in workflow-executor using forestadmin-clientForestServerWorkflowPort, a newWorkflowPortimplementation that communicates with the Forest server over HTTP usingServerUtils.queryfrom@forestadmin/forestadmin-client.getPendingStepExecutions,updateStepExecution,getCollectionRef, andgetMcpServerConfigs, each mapped to a specific/liana/v1/...route.completeStepExecutiontoupdateStepExecutionin theWorkflowPortinterface.ForestServerWorkflowPortas a public export fromworkflow-executorand addsServerUtilsto theforestadmin-clientpublic API.WorkflowPortinterface method rename is a breaking change for any existing implementations ofcompleteStepExecution.Macroscope summarized a0dd5a9.