Skip to content

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Jan 9, 2026

No description provided.

@jif-oai
Copy link
Collaborator Author

jif-oai commented Jan 9, 2026

@codex review

Copy link
Contributor

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

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: be6b872ca7

ℹ️ 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 +178 to +182
// TODO(jif) actual implementation
let outcome = WaitResult {
status: Default::default(),
timed_out: false,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Use real agent status in wait handler

The new wait handler hard‑codes outcome to Default::default() and never consults session/thread state, so every call returns PendingInit with success: true regardless of whether the agent exists or has completed. This means callers waiting on a real agent can get a false “still running” success response, and missing agents are never reported because the NotFound branch is unreachable. That breaks collab workflows that rely on wait to block or to surface missing/finished agents.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is normal, not done yet

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