Repository navigation
Conversation
Dropped prompt_progress was replaced with : keep-alive, which the durable lease deliberately ignores, so a healthy multi-minute prefill was reaped as "Generation stopped making progress" (unslothai#12518). Stand in with : prefill-progress and renew on it, same pattern as : tool-heartbeat.
The Studio UI never sends client tools, so its GGUF chat and tool loop run the native generators rather than the passthrough. Those consume prompt_progress themselves and stay silent until the first token, so the stall loop only ever sent ": keep-alive" and a long prefill was still reaped after the lease ran out. Wrap the GGUF perf callback in a small signal that counts moving prompt_progress, and have both native stall loops send ": prefill-progress" when it moved since the last tick. A generator that reports nothing still gets ": keep-alive" and is still reaped. The wrapper opts out of per-token timings unless a monitor is attached, and non-streaming requests keep the plain monitor callback.
|
Staging validation for unslothai#12523 finished; closing (never merged). |
|
@codex review |
1 similar comment
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 863d314903
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if progress_keepalive.due(): | ||
| yield _OPENAI_PASSTHROUGH_SSE_KEEPALIVE | ||
| # Distinct from stall keep-alive: durable runs renew their lease on it. | ||
| yield _OPENAI_PREFILL_PROGRESS_SSE |
There was a problem hiding this comment.
Renew leases only when prefill advances
When llama-server repeatedly emits an unchanged prompt_progress snapshot, this branch still emits : prefill-progress whenever the wall-clock cadence is due. The upstream pump deliberately renews its first-token deadline only when processed increases, but the durable-run supervisor treats every emitted marker as real progress; therefore, with a chat-run lease configured shorter than the first-token timeout, a stalled passthrough generation can keep renewing its lease and retain the engine slot until the much longer request timeout. Track the last processed value here, as _PrefillProgressSignal does, before emitting the renewable marker; the completions relay at line 33141 has the same issue.
Useful? React with 👍 / 👎.
Staging-only CI validation for unslothai#12523.
This PR exists only to run fork GitHub Actions checks and should be closed after validation.