Skip to content

feat(sdk): add workflow_id and run_id to workflow context#1131

Merged
chris-olszewski merged 1 commit intomasterfrom
olszewski/feat_add_run_id_wfl_id_to_context
Feb 26, 2026
Merged

feat(sdk): add workflow_id and run_id to workflow context#1131
chris-olszewski merged 1 commit intomasterfrom
olszewski/feat_add_run_id_wfl_id_to_context

Conversation

@chris-olszewski
Copy link
Member

What was changed

Expose run_id and workflow_id on workflow context(s)

Why?

Match capabilities of other SDKs

Note that for workflow code there are now 2 ways to access workflow_id:

  • ctx.workflow_id()
  • ctx.workflow_initial_info().workflow_id

Checklist

  1. Closes [Feature Request] Make worfkow_id and run_id available to Workflow Execution #629

  2. How was this tested:
    Simply exposing this information

  3. Any docs updates needed?
    N/A

@chris-olszewski chris-olszewski force-pushed the olszewski/feat_add_run_id_wfl_id_to_context branch from 5623e61 to 6c54540 Compare February 25, 2026 22:13
@chris-olszewski chris-olszewski marked this pull request as ready for review February 25, 2026 22:13
@chris-olszewski chris-olszewski requested a review from a team as a code owner February 25, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants