Skip to content

Conversation

@rfratto
Copy link
Member

@rfratto rfratto commented Dec 4, 2025

Make some adjustments to short circuiting of log tasks:

  • Ensure that workers can properly subscribe to time change events, even if the root pipeline is wrapping an underlying pipeline.

  • Ignore cancelled tasks when enqueing, which otherwise failed the query when the workflow attempted to queue short-circuited tasks.

  • Permit propagating task status changes when the task state hasn't changed.

  • Serialize and deserialize ContributingTimeRange when using the protobuf codec.

  • Add an counter for the number of tasks cancelled due to short circuiting.

@rfratto rfratto requested a review from a team as a code owner December 4, 2025 18:51
Make some adjustments to short circuiting of log tasks:

* Ensure that workers can properly subscribe to time change events, even
  if the root pipeline is wrapping an underlying pipeline.

* Ignore cancelled tasks when enqueing, which otherwise failed the query
  when the workflow attempted to queue short-circuited tasks.

* Permit propagating task status changes when the task state hasn't
  changed.

* Serialize and deserialize ContributingTimeRange when using the
  protobuf codec.

* Add an counter for the number of tasks cancelled due to short
  circuiting.
@rfratto rfratto force-pushed the engine-fix-short-circuiting-bugs branch from 2195c7c to 30a7a05 Compare December 4, 2025 19:20
@pull-request-size pull-request-size bot added size/L and removed size/M labels Dec 4, 2025
Copy link
Contributor

@spiridonov spiridonov left a comment

Choose a reason for hiding this comment

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

LGTM

@rfratto rfratto enabled auto-merge (squash) December 4, 2025 19:25
@rfratto rfratto merged commit 2d54ddc into main Dec 4, 2025
73 checks passed
@rfratto rfratto deleted the engine-fix-short-circuiting-bugs branch December 4, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants