Skip to content

PR #12523 staging CI - #119

Closed
Etherll wants to merge 4 commits into
mainfrom
pr-12523-ci-202610020859
Closed

Etherll wants to merge 4 commits into
mainfrom
pr-12523-ci-202610020859

Conversation

@Etherll

@Etherll Etherll commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Staging-only CI validation for unslothai#12523.

This PR exists only to run fork GitHub Actions checks and should be closed after validation.

indrajeetapache and others added 4 commits October 2, 2026 15:09
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.
@Etherll

Etherll commented Oct 2, 2026

Copy link
Copy Markdown
Owner Author

Staging validation for unslothai#12523 finished; closing (never merged).

@Etherll Etherll closed this Oct 2, 2026
@Etherll
Etherll deleted the pr-12523-ci-202610020859 branch October 2, 2026 20:30
@danielhanchen

Copy link
Copy Markdown
Collaborator

@codex review

1 similar comment
@Etherll

Etherll commented Oct 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T21:12:27.721821Z 863d314 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines 41569 to +41571
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants