DOC-6574 Job queue use case#3309
Merged
Merged
Conversation
Contributor
Contributor
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
dwdougherty
approved these changes
May 12, 2026
Collaborator
dwdougherty
left a comment
There was a problem hiding this comment.
\0/ a new agent skill! :) LGTM, though I didn't scrutinize code.
Contributor
Author
|
Thanks @dwdougherty ! |
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.
This PR:
Skills are usually described from the perspective of making them sharable. However, a nice, obvious-with-hindsight thing I discovered here is that it's fine to make skills self-modifying if they're only designed to be used from your own repo. You can specify (as part of the skill) that the LLM should reflect on what went right/wrong while using it and add gotchas and good practice suggestions to a file somewhere within the skill folder. So you get a kind of self-sharpening skill that learns from its own usage without any manual instruction to do so.
Note
Medium Risk
Mostly additive docs and example code, but it introduces a sizable new multi-language job-queue implementation (Lua scripts + concurrency/claim/reclaim logic) where subtle correctness issues could mislead users if wrong.
Overview
Adds a new Job queue use case under
content/develop/use-cases/job-queue/, including a landing page and initial per-client implementations (notably full runnable demos forgoanddotnet) that cover enqueue/claim, retries, token-guarded complete/fail, and visibility-timeout reclaim (Lua-scripted where needed).Introduces a new agent skill,
redis-use-case-ports, with templates, checklists, and a shared demo HTML template to parallelize and audit future 9-client use-case ports, and updates the use-cases index to link to the new job-queue entry.Reviewed by Cursor Bugbot for commit 4738fa9. Bugbot is set up for automated code reviews on this repo. Configure here.