Skip to content

[don't merge] just for review#786

Open
feiyang3cat wants to merge 1 commit into
masterfrom
patch/ts
Open

[don't merge] just for review#786
feiyang3cat wants to merge 1 commit into
masterfrom
patch/ts

Conversation

@feiyang3cat
Copy link
Copy Markdown
Contributor

@feiyang3cat feiyang3cat commented May 22, 2026

What changed?

  1. Removed obsolete fields — safe to delete as this feature has not been released (disable compatibility checking temporarily)
  2. Removed maxElapsedDuration — considered redundant given overlapping functionality
  3. Added delta to maxSkippedDuration, changed its structure, exposed current max skip duration and remaining duration in the time-skipping transitioned event

Why?

  1. for 1) and 2), make the API cleaner
  2. for 2) and 3), simplify user experience
  • maxElapsed and maxSkip serve similar purposes functionally; maxSkip is the simpler model since it only accounts for skipped duration
  • delta is introduced so users don't need to track cumulative skipped duration themselves
  • Current max skip info is surfaced in the time-skipping event for better observability

Breaking changes

  1. removed the feature maxElapsedDuration -> the server has already implemented this feature
  2. restructured the maxSkippedDuration-> the server has used the old data structure for its implementation

Server PR
TBD if the change in the PR is good option and no better option can be found

@feiyang3cat feiyang3cat requested review from a team May 22, 2026 22:14
@feiyang3cat feiyang3cat force-pushed the patch/ts branch 2 times, most recently from 0343fc1 to 64911c4 Compare May 22, 2026 22:36
Replace the max_skipped_duration / max_elapsed_duration oneof on
TimeSkippingConfig with value / delta. Add MaxSkip (configured +
remaining) to WorkflowExecutionTimeSkippingTransitionedEventAttributes
so consumers can observe both the configured bound and how much skip
time remains.

Drop buf-breaking from the Makefile grpc target while this unreleased
API is still in flux; regenerate openapi to match the new proto.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant