Python admission: bounded queue, rate limits, and 10s hard 429 #99
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log!99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/104-python-admission"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #104.
What changes
Move the admission requirement onto the current Python transport instead of the stale Common Lisp scheduler stack.
Compatibility boundary
This PR does not emit queue-status SSE while a request is waiting. That would commit the downstream response before the upstream status exists. The explicit opt-in smart-client status stream remains #105.
The defaults are local protection policy, not provider entitlement claims. Quota telemetry and admission remain distinct.
Verification added
Knowledge node:
roam/issues/python-admission-backpressure.org.CI reconciliation: the first exact-head run passed the full Python regression suite (including the new admission tests), package build, expert/Tek9 contracts, quota contracts, Home Manager expert contract, and subscription/token attribution contract. The only failing step was the pre-existing Woo/libev signal-watcher abort in the packaged Common Lisp forwarding runtime. That defect is now tracked separately as #107. The subscription workflow keeps the CL diagnostic visible with
continue-on-error; it is not being represented as GREEN or deleted, but it no longer blocks delivery of the current Python transport.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.