Skip to content

Conversation

@MarceloRGonc
Copy link
Contributor

@MarceloRGonc MarceloRGonc commented Jan 23, 2026

Part of OPS-3195.

Additional notes:

  • We are adding the flowId attribute to the update-run request so we can identify which workflow the current run is associated with.

Copilot AI review requested due to automatic review settings January 23, 2026 18:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds flowId to the UpdateRunProgressRequest type and threads it through the flow execution codebase to support tracking flow identity during run updates.

Changes:

  • Added flowId as a required field to UpdateRunProgressRequest schema
  • Updated flow execution functions to pass flowId parameter through the call chain
  • Modified engine progress service to include flowId in update requests

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/shared/src/lib/engine/requests.ts Added required flowId field to UpdateRunProgressRequest type definition
packages/server/worker/src/lib/executors/flow-job-executor.ts Threaded flowId through setFirstRunningState and updateRunWithError functions, moved variable declarations after flow retrieval
packages/engine/src/lib/services/progress.service.ts Added flowId from engine constants to the update run request payload

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@openops-cloud openops-cloud deleted a comment from linear bot Jan 23, 2026
@sonarqubecloud
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@linear
Copy link

linear bot commented Jan 23, 2026

@MarceloRGonc MarceloRGonc requested a review from Copilot January 26, 2026 08:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MarceloRGonc MarceloRGonc merged commit 2ae29a4 into main Jan 26, 2026
25 checks passed
@MarceloRGonc MarceloRGonc deleted the mg/OPS-2972 branch January 26, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants