Skip to content

Add workspace headline statusline item#28232

Merged
xli-oai merged 6 commits into
xli-codex/workspace-messages-app-serverfrom
xli-codex/workspace-headline-statusline
Jun 22, 2026
Merged

Add workspace headline statusline item#28232
xli-oai merged 6 commits into
xli-codex/workspace-messages-app-serverfrom
xli-codex/workspace-headline-statusline

Conversation

@xli-oai

@xli-oai xli-oai commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add workspace-headline as a configurable TUI status-line item.
  • Show the active workspace headline for eligible ChatGPT/Codex backend sessions.
  • Refresh through app-server every 10 seconds so admin headline changes appear during the session, while omitting empty or feature-disabled results.

Testing

  • just test -p codex-tui workspace_headline
  • just test -p codex-tui status_line_setup
  • just fix -p codex-tui
  • just fmt

Stack

@xli-oai xli-oai added the oai PRs contributed by OpenAI employees label Jun 14, 2026 — with ChatGPT Codex Connector
@xli-oai xli-oai marked this pull request as ready for review June 15, 2026 00:45

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

Copy link
Copy Markdown
Contributor

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: 96075b79ca

ℹ️ 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 +286 to +287
pub created_at: Option<String>,
pub archived_at: Option<String>,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Badge Use Unix-second timestamps for workspace messages

These v2 response fields generate createdAt/archivedAt as strings, but app-server timestamps are expected to be Unix-second i64 values, so clients get a timestamp shape inconsistent with the API contract. Please parse/map the backend timestamps before returning them. guidance

Useful? React with 👍 / 👎.

Comment thread codex-rs/tui/src/bottom_pane/status_line_setup.rs
Comment thread codex-rs/tui/src/chatwidget/status_surfaces.rs
Comment thread codex-rs/backend-client/src/types.rs Outdated
}

impl CodexWorkspaceMessagesResponse {
pub fn headlines(&self) -> impl Iterator<Item = &CodexWorkspaceMessage> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P3 Badge Keep workspace-message filters private

These new public headlines/announcements helpers are only exercised by the unit test and no production caller uses them, so they expand the codex-backend-client API solely for test convenience. Please keep the filtering local/private until a real caller needs it. guidance

Useful? React with 👍 / 👎.

@xli-oai xli-oai force-pushed the xli-codex/workspace-headline-statusline branch from 96075b7 to 3f58599 Compare June 18, 2026 23:40
@xli-oai xli-oai changed the base branch from main to xli-codex/workspace-messages-app-server June 18, 2026 23:41
@xli-oai xli-oai force-pushed the xli-codex/workspace-headline-statusline branch from 3f58599 to c29327c Compare June 19, 2026 00:45
@xli-oai

xli-oai commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown
Contributor

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: 88a6fdb44a

ℹ️ 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 thread codex-rs/tui/src/chatwidget/status_surfaces.rs
Comment thread codex-rs/tui/src/bottom_pane/status_line_setup.rs
Comment thread codex-rs/tui/src/chatwidget/status_surfaces.rs Outdated
Comment thread codex-rs/tui/src/workspace_messages.rs Outdated
@xli-oai

xli-oai commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown
Contributor

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: 6c7a1d9971

ℹ️ 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 thread codex-rs/tui/src/chatwidget/status_surfaces.rs
@xli-oai xli-oai merged commit 2747b96 into xli-codex/workspace-messages-app-server Jun 22, 2026
28 of 30 checks passed
@xli-oai xli-oai deleted the xli-codex/workspace-headline-statusline branch June 22, 2026 08:00
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant