Add Task Queue Priority and Fairness reference#98
Open
starfleeth wants to merge 1 commit intomainfrom
Open
Conversation
Add a core reference file covering Priority (keys 1-5, inheritance, when to use) and Fairness (keys, weights, virtual queues, round-robin dispatch, rate limiting, weight overrides, enabling, limitations) with SDK examples for Go, Java, Python, TypeScript, and .NET. Content is grounded in the official Temporal docs. Update SKILL.md to proactively surface Fairness when developers are building multi-tenant applications, before they run into tenant starvation problems. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jpvotta
reviewed
Apr 27, 2026
|
|
||
| When you start using fairness keys, it switches your active Task Queues to fairness mode. Existing queued Tasks are processed before any new fairness-mode ones. | ||
|
|
||
| **Temporal Cloud**: automatically enabled when you start using fairness keys. |
There was a problem hiding this comment.
We should say that, in Temporal Cloud, you need to enable Fairness within Namespace Settings in the UI. Simply setting Fairness keys will not work until Fairness is activated at the Namespace level.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
references/core/priority-fairness.mdcovering Priority (keys, inheritance, when to use) and Fairness (keys, weights, virtual queues, round-robin dispatch, rate limiting, weight overrides, enabling, limitations) with SDK examples for Go, Java, Python, TypeScript, and .NET.SKILL.mdto proactively surface Fairness when developers are building multi-tenant applications, before they hit tenant starvation problems.docs/develop/task-queue-priority-fairness.mdx), verified by a review pass that removed ungrounded claims (key size limits, weight ranges) and added missing caveats (dispatch-time semantics, transition behavior).Test plan
references/core/priority-fairness.mdand confirm SDK examples are correct🤖 Generated with Claude Code