Repository navigation
Add Ruby examples for Task Queue Priority - #5812
juuh42dias wants to merge 1 commit into
Conversation
Add Workflow, Activity, and Child Workflow Ruby snippets to the priority-key sections, matching the existing Ruby fairness examples.
|
@juuh42dias is attempting to deploy a commit to the Temporal Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the added Ruby priority-key examples and accompanying usage guidance.
No open issues 🎉
What changed in this PR
Adds Ruby priority-key examples to the Task Queue Priority and Fairness guide, complementing its existing Ruby fairness examples.
Changes:
- Adds Ruby examples for starting a Workflow, standalone Activity, and Child Workflow with priority keys.
- Clarifies the standalone Activity timeout requirement and where to run the Child Workflow example.
| File | Description |
|---|---|
docs/develop/task-queue-priority-fairness.mdx |
Adds three Ruby priority examples and brief usage guidance. |
Review effort: Balanced
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Hey @juuh42dias, this is a great PR, appreciate it. We just need you to go through and sign the contributor agreement before we can merge. Thanks! |
done ✔️ |
Adds Ruby snippets to the priority-key examples on the Task Queue Priority and Fairness page.
client.start_workflowwithTemporalio::Priority.new(priority_key: 1)client.start_activitywithTemporalio::Priority.new(priority_key: 3)Temporalio::Workflow.start_child_workflowwithTemporalio::Priority.new(priority_key: 1)These mirror the existing Ruby fairness examples so the Priority and Fairness sections stay consistent. No other content changes.
Notes to reviewers
Client#start_workflow,Client#start_activity,Temporalio::Workflow.start_child_workflow, andTemporalio::Priority).idand a timeout.