Repository navigation
docs(rf-api): add bounded polling for async jobs - #15
Conversation
Add a reference that waits for an async API job with a bounded WHILE loop instead of Sleep. The rf-requests SKILL.md links to it.
Both branches add one row to the rf-requests reference table. Kept both rows so the branches merge cleanly in order. Plugin and bundle copies match (cmp).
async-jobs.md: limit=60s instead of an iteration count, a short Sleep between polls, the WHILE loop moved into a keyword, $state expression form, and the version note corrected (limit since RF 5.0, on_limit_message since RF 6.1). Plugin and bundle copies match (cmp).
|
Merge chain: #11, then #12, then #13, then #14, then #15, then #16. All six merge into main cleanly in this order (dry run on 2026-11-15). This one depends on #13: both change the same table in the rf-requests SKILL.md. The branch already has #13 merged in, so its diff shows #13 changes until #13 lands. Apart from #13 and #15, the PRs do not depend on each other. |
The example pauses 2s between polls, so "no Sleep" read as the opposite. Regenerated with python scripts/build-catalog.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP
|
Thanks, @ai94iq! 🎉 A bounded poll is exactly the right advice for async jobs, and the example is correct: I made a few small changes so I could merge it right away:
All checks passed, and it's merged now. One small note for future PRs: since you opened this, we published AI_POLICY.md, and the PR template now has an "AI assistance" section. On new PRs we'd love a line there whenever a tool did a substantial part of the work, plus the command that regenerated Thanks again! |
Adds an async job reference to rf-requests: wait for a job with a time-bound poll, not a fixed Sleep.
Verified: the example passes
robot --dryrunon Robot Framework 7.5.1 with RequestsLibrary 0.9.7. Catalog, governance, plugin references and docs voice checks pass.What this changes
The poll lives in a keyword, uses
limit=60swith a short pause between calls, and fails with a message on timeout. Builds on #13, so merge #13 first.Review checklist
Tick each item, or write "n/a: " after it. Reviewers don't approve a PR
with an unticked item that has no reason (see CONTRIBUTING.md, "Review").
catalog.yamllists the libraries and version ranges the content was checked against, and the Robot Framework range. n/a: no new library,catalog.yamlis unchanged.robotexamples passrobot --dryrun; Python examples run.toolsand skillallowed-toolschanges are listed below; the security gate passes, and any new baseline entry has a reason. n/a: no hook, script, manifest or tools changetoolslist; noallowed-toolsentry grants unrestricted shell access. n/a: no subagent orallowed-toolschangeSecurity-relevant changes
none