Skip to content

chore(app-server): mark thread/rollback as deprecated - #29928

Merged
owenlin0 merged 1 commit into
mainfrom
owen/mark_thread_rollback_deprecated
Jun 25, 2026
Merged

chore(app-server): mark thread/rollback as deprecated#29928
owenlin0 merged 1 commit into
mainfrom
owen/mark_thread_rollback_deprecated

Conversation

@owenlin0

@owenlin0 owenlin0 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

We will drop support for this in the near future due to the complexity it introduces.

@owenlin0
owenlin0 marked this pull request as ready for review June 24, 2026 23:51
@owenlin0 owenlin0 changed the title chore(app-server): mark app-server thread/rollback deprecated chore(app-server): mark thread/rollback deprecated Jun 24, 2026
@owenlin0 owenlin0 changed the title chore(app-server): mark thread/rollback deprecated chore(app-server): mark thread/rollback as deprecated Jun 24, 2026

@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: 15c56f3bd3

ℹ️ 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".

.map(|()| None)
}

async fn send_thread_rollback_deprecation_notice(&self, connection_id: ConnectionId) {

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 Inline the single-use deprecation helper

This helper is only called from thread_rollback above, so it adds an extra local method for a single straight-line notification send. The codex-rs guidance asks us not to create small helper methods referenced only once; keeping the send inline here avoids unnecessary indirection.

AGENTS.md reference: AGENTS.md:L44-L44

Useful? React with 👍 / 👎.

@owenlin0
owenlin0 force-pushed the owen/mark_thread_rollback_deprecated branch from 15c56f3 to 344340b Compare June 25, 2026 16:43
@owenlin0
owenlin0 enabled auto-merge (squash) June 25, 2026 16:43
@owenlin0
owenlin0 merged commit 2683280 into main Jun 25, 2026
46 of 47 checks passed
@owenlin0
owenlin0 deleted the owen/mark_thread_rollback_deprecated branch June 25, 2026 17:15
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants