Skip to content

feat(client): add WorkflowClient interceptors for list and fetchHistory#2215

Open
trippyogi wants to merge 2 commits into
temporalio:mainfrom
trippyogi:feat/client-list-fetchhistory-interceptors
Open

feat(client): add WorkflowClient interceptors for list and fetchHistory#2215
trippyogi wants to merge 2 commits into
temporalio:mainfrom
trippyogi:feat/client-list-fetchhistory-interceptors

Conversation

@trippyogi

@trippyogi trippyogi commented Jul 15, 2026

Copy link
Copy Markdown

Summary

  • Add list and fetchHistory to WorkflowClientInterceptor, with matching input types
  • Wire both through composeInterceptors (same pattern as describe / Nexus list)
  • Cover with an integration test in test-interceptors.ts

Closes #945

Test plan

  • pnpm -F @temporalio/client... run build
  • With a local Temporal server: RUN_INTEGRATION_TESTS=true pnpm -F @temporalio/test run test -- test-interceptors
  • Confirm interceptor sees list / fetchHistory calls and next() still works

Wire list and fetchHistory through composeInterceptors so client
interceptors can observe or modify those calls, matching describe and
Nexus list. Closes temporalio#945.
@trippyogi trippyogi requested a review from a team as a code owner July 15, 2026 17:57
…ceptors

Keep Required<WorkflowClientInterceptor> completeness after adding the new
client interceptor methods.
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.

[Feature Request] Add client interceptor for list and fetch_history

1 participant