Skip to content

Conversation

Shaddoll
Copy link
Member

@Shaddoll Shaddoll commented Aug 4, 2025

What changed?
Set standby task to low priority in history queue v2

Why?
Bug fix. The task priority assigner assigns high priority to tasks from active queue, even if it's from a standby domain. There is no active queue in history queue v2, we should assign low priority to tasks from standby domains.

How did you test it?
unit tests
also verified in docstore-staging

Potential risks

Release notes

Documentation Changes

@Shaddoll Shaddoll marked this pull request as draft August 4, 2025 20:52
@Shaddoll Shaddoll marked this pull request as ready for review August 4, 2025 21:29
Comment on lines +132 to +133
// QueueTypeTransfer is the queue type for transfer queue processor
QueueTypeTransfer
// QueueTypeTimer is the queue type for timer queue processor
QueueTypeTimer
Copy link
Member

Choose a reason for hiding this comment

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

These new enums overlap with existing ones above which is confusing. Do we still need them?

Copy link
Member Author

Choose a reason for hiding this comment

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

The existing ones will be removed when history queue v1 is deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also updated the comments.

@Shaddoll Shaddoll enabled auto-merge (squash) August 4, 2025 22:03
@Shaddoll Shaddoll merged commit 535938e into cadence-workflow:master Aug 4, 2025
25 checks passed
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.

2 participants