docs(claude): tell agents to let heavy gates queue for machine-wide slots - #37057
Conversation
…lots Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Greptile SummaryThis PR clarifies how machine-wide slots queue heavy contributor checks and removes the I/O-bound bootstrap target from slot management.
Confidence Score: 5/5The PR appears safe to merge No blocking failure remains
|
| Filename | Overview |
|---|---|
| CLAUDE.md | Adds accurate agent guidance for queued heavy gates; the previously reported bypass-list issue is no longer present |
| Makefile | Makes direct bootstrap execution unqueued while preserving slot locking for check and lint |
| scripts/gate_slot_lock.py | Updates the module documentation to reflect that bootstrap no longer acquires a machine-wide slot |
Reviews (4): Last reviewed commit: "chore: make it more concise" | Re-trigger Greptile
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
bugbot run |
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
TLDR
Problem this solves:
make checklooks like a hangmake bootstrapwaited behind heavy gatesHow it solves it:
LITELLM_GATE_SLOTS=0and raising the countbootstrapno longer takes a slot, being I/O boundUser Flow
Docs and local-tooling change for contributors in this repo, so no end user flow changes
Relevant issues
Linear ticket
Pre-Submission checklist
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
No proxy code paths change.
make -n bootstrapnow expands straight to the provisioning commands with nogate_slot_lock.pywrapper, whilemake -n checkstill starts withpython3 scripts/gate_slot_lock.py make check-inner. The lock behavior itself ships in #36988 and is covered by tests/test_litellm/test_gate_slot_lock.pyType
📖 Documentation
Caveats (if any)
check-inner/lint-innerstill work, just discouragedbootstrapundermake checkwas already unqueuedLink to Devin session: https://app.devin.ai/sessions/13e9cbbb61e742879faed4d9a1f6c19b
Requested by: @mateo-berri