GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): render async Codex messages by Gigioxx · Pull Request #9227 · pingdotgg/t3code

Conversation

@Gigioxx

@Gigioxx Gigioxx commented Sep 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Problem

Codex emits send_user_message_async as a separate completed agent message during an active turn. Provider ingestion always matched an assistant completion to the turn's active streamed segment, so whenever commentary was already streaming, the async message's text was dropped: the completion finalized the commentary segment instead of creating its own message (#9222).

Change

The assistant completion handler matches the active segment by provider item ID. A completion for a different item becomes its own assistant message, and the original segment stays active, so later deltas on it keep appending to the same message. Segment state is cleared only when the completing item is the active one. The handler keeps main's direct projection reads (getThreadMessageById, projectionThreadMessages.hasAssistantMessageForTurn).

Scope and approval

Bug fix for #9222. The issue has no maintainer triage comment yet; a maintainer reviewed this approach and asked for the rebase and the test shape used here: #9227 (comment)

Verification

  • Established the problem with a focused ingestion test: commentary delta, then two async assistant completions on other items, then another commentary delta and its completion. Against main's ProviderRuntimeIngestion.ts it fails: "Still investigating." is missing from the thread.
  • Rebased onto main at 0cf482b in this session. The regression now uses emitAndDrain instead of waitForThread polling.
  • vp test run src/orchestration/Layers/ProviderRuntimeIngestion.test.ts (from apps/server): 92 passed, including the new case, which asserts exactly three non-streaming assistant messages with the full commentary text "Working on it. Applying the fix.".
  • Server tsc --noEmit: exit 0. vp lint and vp fmt --check on both changed files: clean.
  • Not checked: a live Codex session that emits send_user_message_async. Server-only change, no UI.

Fixes #9222.

Implemented with gpt-5.6-sol in the Codex harness through T3 Code. Rebase, test rework, and body update by Claude Opus 5.5 via Claude Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Sep 2, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Sep 2, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Sep 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 2f5a860

Macroscope's review found this PR approvable — This is a focused server-side bug fix that preserves streamed commentary while rendering unrelated async Codex messages separately. The production change is localized and accompanied by a regression test covering multiple async completions and continued streaming.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Gigioxx
Gigioxx force-pushed the t3code/fix-issue-9222 branch from e0bb5bc to f4be4d7 Compare September 2, 2026 14:51
@juliusmarminge juliusmarminge mentioned this pull request Sep 8, 2026
[Bug]: Async question replies display the agent’s question as user-authored text #10786
Closed
2 tasks done
@shivamhwp

shivamhwp commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Note: GPT-6 on behalf of shivam (@shivamhwp).

Please rebase the item-ID match onto the current completion handler while preserving its direct projection queries. Current main uses getThreadMessageById and projectionThreadMessages.hasAssistantMessageForTurn; restoring the old whole-thread detail read would undo that change.

Use the existing emitAndDrain helper for the new regression instead of waitForThread polling. Include two async completions followed by another delta on the original item, so the regression covers both repeated updates and continued commentary.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge mentioned this pull request Sep 21, 2026
feat(orchestrator): introduce new orchestrator #2829
Merged
@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Sep 30, 2026 — with ChatGPT Codex Connector
@Gigioxx
fix(server): render async Codex messages
2f5a860
@Gigioxx
Gigioxx force-pushed the t3code/fix-issue-9222 branch from f4be4d7 to 2f5a860 Compare October 1, 2026 05:31
@coderabbitai

coderabbitai Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 67e99001-ad15-426d-9d7f-7042f6a0f73e

📥 Commits

Reviewing files that changed from the base of the PR and between c57a04b and 2f5a860.

📒 Files selected for processing (2)
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp
macroscopeapp Bot dismissed their stale review October 1, 2026 05:31

Dismissing prior approval to re-evaluate 2f5a860

@Gigioxx

Gigioxx commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

[claude-opus-5-5] Responding on behalf of Guille

@shivamhwp Rebased in 2f5a860. The item-ID match now sits on the current completion handler and keeps getThreadMessageById and projectionThreadMessages.hasAssistantMessageForTurn; no whole-thread detail read. The regression uses emitAndDrain and covers two async completions followed by another delta on the original commentary item, then its completion (three non-streaming messages, commentary text intact). It fails against main's handler and passes here; the full ingestion suite (92) passes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 1, 2026
View reviewed changes
@juliusmarminge

juliusmarminge commented Oct 2, 2026

Copy link
Copy Markdown
Member

Thanks for working on this. We merged the orchestrator V2 rewrite in #2829, and we are closing this PR as part of that transition.

This change touches ProviderRuntimeIngestion.ts, which the V2 merge removed. V2 ingests typed provider events into run and turn-item projections.

Sorry for the extra work this creates. If the change is still needed on V2, please rebuild it on current main, verify it there, and open a new PR linking back here. We're closing the current implementation without assuming the underlying request is resolved.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Codex harness accepts send_user_message_async but the UI drops the messages

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Gigioxx @shivamhwp @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.