Repository navigation
fix(app): reserve chat request slots during MCP discovery - #53050
mlimarenko wants to merge 3 commits into
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: |
|
Issue: #53049 (also linked with For the required |
33bdf7d to
f5c8aa3
Compare
|
Rebased onto All 12 request-queue tests passed. Native pre-push The upstream |
f5c8aa3 to
a4586ad
Compare
|
Rebased onto current Resolved the upstream formatting/rename/import conflicts while retaining the fix's behavior. All 12 request-queue tests passed. The native pre-push The full upstream test/check result is not established on this head yet; only the local checks above are confirmed. |
a4586ad to
6f57a9e
Compare
|
Rebased onto All 12 request-queue tests passed. The patch is unchanged according to The native pre-push |
6f57a9e to
624d11c
Compare
|
Rebased onto current The patch is unchanged according to The description still references Base clarification: release commit |
|
Rebased onto All 12 request-queue tests and native pre-push Upstream CI is not green: |
df02d84 to
cbfeea9
Compare
|
Rebased onto current Typed the existing queue diagnostic payload and documented test assertion invariants for the new whole-file GUI lint check. All 12 queue tests and app typecheck passed; scheduling behavior is unchanged. Required The exact-head |
2659a3e to
7243122
Compare
7243122 to
240d136
Compare
Issue for this PR
Closes #53049
Type of change
What does this PR do?
Includes
/api/commandand/api/mcp(and their nested routes) in the existing slow-request quota. MCP discovery can wait for server startup or catalog responses; it should not occupy all four client request slots ahead of chat reads.No concurrency limits, deadlines or retry rules change. At most two slow requests remain active, allowing small session reads to bypass queued catalogs through the existing scheduler.
How did you verify your code works?
bun test src/runtime/server/request-queue.test.tsfrompackages/app: 12 passed, 0 failed, covering all three catalog endpoints plus existing timeout, cancellation, FIFO and event-stream behavior.git diff --checkpassed. Native pre-pushbun run checkpassed.The full suite is deferred to CI. This networking-only change does not alter rendered controls; a full Desktop replay of the user's intermittent timeout has not been captured.
Screenshots / recordings
No visual change; the regression asserts request dispatch and completion.
Checklist