Skip to content

fix(web): report native follow-up queue snapshots - #399

Merged
tt-a1i merged 15 commits into
openpi-dev:mainfrom
testikun:codex/issue-363-queue-position
Sep 5, 2026
Merged

fix(web): report native follow-up queue snapshots#399
tt-a1i merged 15 commits into
openpi-dev:mainfrom
testikun:codex/issue-363-queue-position

Conversation

@testikun

@testikun testikun commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Web clients need useful queue feedback when Pi accepts a message. The admission receipt now reports pendingFollowUps, a snapshot of Pi's native follow-up queue at acceptance, and the composer displays that count with its observation time.

Related to #363.

HTTP 202 and prompt_accepted SSE carry the same snapshot. This does not claim that the submitted input occupies a particular position: Pi input handlers can consume a request, and other producers may enqueue concurrently. No browser queue or runtime scheduling policy is introduced. The changes preserve execution cancellation, canonical themes, and late-receipt running state.

Validation: integrated Node 22 runtime/adapter/browser tests passed 71/71, Web Host tests passed 24/24, and bun run check passed. The earlier standalone full suite passed on Node 22; final integrated CI will validate the published head.

@tt-a1i tt-a1i changed the title fix(web): report queued prompt position fix(web): report native follow-up queue snapshots Sep 5, 2026
@tt-a1i
tt-a1i merged commit 399a253 into openpi-dev:main Sep 5, 2026
4 checks passed
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.

2 participants