mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1255] [CLOSED] serve: /props total_slots is the engine's batch slots #3340
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1255
Author: @midagedev
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:props-total-slots-2📝 Commits (1)
e51411aserve: /props total_slots is the engine's batch slots📊 Changes
2 files changed (+16 additions, -1 deletions)
View changed files
📝
serve/server.py(+2 -1)📝
serve/test_server.py(+14 -0)📄 Description
/propsalways reportstotal_slots: 1. With"parallel": 3the engine runs three batch slots, and/v1/statusreportsconcurrency.serving: 3. Clients that readtotal_slotsthink the server runs one request at a time. toktape refused a 3-session run for this reason.The fix reports the engine's batch slots in
/props, with the same expression as/v1/status(at least 1).Evidence:
"parallel": 3: the engine log says--batch: 3 slot sessions, but/propssaidtotal_slots: 1.test_props_total_slots_follows_the_batch_slots: fails on the currentmain(1 != 3) and passes with the fix. All 205 tests inserve/test_server.pypass./slotsstill lists one slot. That is a separate change.This replaces #1004, which closed when
mainwas force-pushed. The commit is the same, cherry-picked onto the newmain.I wrote this with an AI coding assistant and checked the change and the test runs myself.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.