Skip to content

fix(desktop): relink Codex thread across providers - #3543

Open
zqchris wants to merge 36 commits into
makecindy:mainfrom
zqchris:codex-provider-thread-reset
Open

fix(desktop): relink Codex thread across providers#3543
zqchris wants to merge 36 commits into
makecindy:mainfrom
zqchris:codex-provider-thread-reset

Conversation

@zqchris

@zqchris zqchris commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

这次改了什么

摘要

Codex 任务在 XD 网关与 OpenAI 包月来源之间切换时,不再直接续接由另一来源创建的原生 thread。切换会先关闭当前 live session,把旧 rollout 安全 fork 成不含供应商私有 reasoning payload 的新 thread,以 CAS 更新同一个 Cindy 任务的 sdkSessionId,再落地新来源并恢复排队输入。

变更类型

  • feat 新功能
  • fix 缺陷修复
  • refactor / perf 重构或性能优化
  • docs / test / chore 文档、测试或工程维护
  • 其他:

范围

  • 关联 Issue / 需求:用户实报,已有 XD Codex 任务切换到 OpenAI 包月后持续连接失败
  • 本 PR 包含:本地 Codex 即时与 turn 结束延迟切换;XD → OpenAI 与 OpenAI → 网关双向换 thread;CAS/owner 竞态保护;失败时保持路由和输入队列 fail-closed
  • 明确不包含:同凭证家族热切、远程 Codex、账号授权、模型目录、其它 Agent
  • 用户可见变化:在原任务切换 XD 与包月 GPT 后可继续使用,且保留可迁移的任务上下文
  • 是否存在 breaking change:无

UI 变化

  • 引用的设计规范:不涉及:纯逻辑与竞态修复,无视觉、交互或文案变化

怎么验证的

自动验证

pnpm --filter desktop exec vitest run src/main/maker-ipc/__tests__/messageDeleteHandler.test.ts src/main/maker-ipc/__tests__/codexProviderThreadRelink.test.ts src/main/maker-ipc/__tests__/runtimeSetModel.test.ts src/main/maker-ipc/__tests__/pendingCredentialSwitch.test.ts src/main/im/shared/__tests__/cardActionTakeoverReplace.test.ts
结果:5 个文件、90 条测试通过

pnpm test:unit:related
结果:Desktop 与 device-link 关联单测通过

pnpm --filter desktop run --if-present typecheck
结果:通过

pnpm check:dco
结果:通过

手工验证

不涉及:未启动 Desktop DEV,未触碰真实模型账号或授权状态。

未执行的验证

  • 未做真实 XD ↔ OpenAI 包月账号 E2E;本 PR 仅做静态、单测与类型检查验证。
  • pnpm test:unit 曾执行:除本 PR 触发并已修正、重验通过的一条 Desktop 源码契约断言外,packages/maker-core 仍有两条与本 PR 无关的 Pi 集成失败(xAI 用例 60 秒超时;BYOM 临时配置目录数量竞态)。本 PR 未改 packages/maker-core

风险

风险分类

  • 无已知风险
  • SQLite / migration
  • system prompt
  • 协议兼容
  • 权限 / 安全 / 用户数据
  • 存量插件兼容(批准状态 / 指纹 / manifest 校验 / 安装布局 / 包格式)
  • 原生层 / fingerprint / OTA
  • 跨平台差异
  • 其他:Codex 原生 thread 生命周期与来源切换

影响与回滚

  • 影响范围:仅本地 Codex 跨 OpenAI 包月凭证家族边界的来源切换;同家族热切与远程会话保持原行为。
  • 回滚 / 降级方式:回滚本提交即可恢复旧行为。fork 或 CAS 失败时不写新路由;延迟切换会保留 pending 并继续阻挡队列,避免把消息送入不兼容的旧 thread。旧 thread 不删除,可恢复。

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris
zqchris requested a review from a team as a code owner August 27, 2026 18:51

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

Copy link
Copy Markdown

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

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/register.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/runtimeSetModel.ts
@greptile-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown

Greptile Summary

此 PR 为 Desktop 本地 Codex 的跨凭证族切换增加安全 thread fork、CAS 重连及即时/延迟切换协调。

  • 新增 provider-neutral rollout fork 与 sessions.sdkSessionId 的 CAS 更新
  • 在 runtime model 切换和 pending credential switch 中接入 close、relink、路由落地及队列恢复
  • 增加跨来源切换、CAS 竞态和失败保持 gated 的单元测试

Confidence Score: 3/5

此 PR 暂不适合合并,因为跨凭证族 fork 使用了错误的凭证上下文,且即时 relink 失败后的 pending 恢复可能在未换 thread 的情况下落地新路由。

两条当前可达的错误路径都会破坏 provider route 与 native Codex thread 身份的一致性,分别导致 fork 失败以及后续错误 resume 旧 thread。

Files Needing Attention: apps/desktop/src/main/maker-ipc/register.ts, apps/desktop/src/main/maker-ipc/runtimeSetModel.ts

Important Files Changed

Filename Overview
apps/desktop/src/main/maker-ipc/register.ts 新增 thread relink 的数据库读取、Codex fork、owner/epoch 校验、CAS 更新与广播;当前 fork 使用了目标而非源 thread 的凭证上下文。
apps/desktop/src/main/maker-ipc/runtimeSetModel.ts 即时和 busy-deferred 切换接入 relink,但即时失败恢复旧 pending 时会丢失 rebuild 标记。
apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts 延迟切换在路由落地和队列唤醒前执行 relink,并在失败时保留 pending 继续 gated。
apps/desktop/src/main/maker-ipc/codexProviderThreadRelink.ts 纯协调层正确执行 source 读取、fork、CAS commit,并在 owner 竞争失败时 fail closed。
apps/desktop/src/main/maker-ipc/tests/codexProviderThreadRelink.test.ts 覆盖成功、无 native thread 和 CAS 被抢占,但没有验证 fork 必须采用源 thread 的 provider/model 身份。

Sequence Diagram

sequenceDiagram
  participant UI as 模型选择入口
  participant Runtime as RuntimeSetModel
  participant Live as Live Codex Session
  participant Fork as Codex Fork Host
  participant DB as Sessions DB
  participant Queue as 输入队列
  UI->>Runtime: 切换 provider/model
  Runtime->>Queue: 保持 gated
  Runtime->>Live: close session
  Runtime->>Fork: 按源 thread 身份安全 fork
  Fork-->>Runtime: newSdkSessionId
  Runtime->>DB: CAS 替换 sdkSessionId
  DB-->>Runtime: commit 成功
  Runtime->>Runtime: 落地目标 provider
  Runtime->>Queue: wake
Loading

Comments Outside Diff (1)

  1. apps/desktop/src/main/maker-ipc/runtimeSetModel.ts, line 284-286 (link)

    P1 恢复时丢失重建标记

    已有 pending 的空闲切换在 close 成功但 relink 失败时,这里只恢复 model/providerId,丢失跨凭证族所需的 rebuildCodexThread。后续重试会跳过 relink,直接落地新 provider 并唤醒队列,使 sdkSessionId 仍指向旧凭证族 thread,下一条消息因此会在不兼容来源下 resume 旧 thread。

    Context Used: 使用和PR描述相同的语言进行评论 (source)

    Knowledge Base Used: Agent runtime

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: apps/desktop/src/main/maker-ipc/runtimeSetModel.ts
    Line: 284-286
    
    Comment:
    **恢复时丢失重建标记**
    
    已有 pending 的空闲切换在 close 成功但 relink 失败时,这里只恢复 `model/providerId`,丢失跨凭证族所需的 `rebuildCodexThread`。后续重试会跳过 relink,直接落地新 provider 并唤醒队列,使 `sdkSessionId` 仍指向旧凭证族 thread,下一条消息因此会在不兼容来源下 resume 旧 thread。
    
    **Context Used:** 使用和PR描述相同的语言进行评论 ([source](https://app.greptile.com/review/custom-context?memory=instruction-0))
    
    **Knowledge Base Used:** [Agent runtime](https://app.greptile.com/xindong/-/custom-context/knowledge-base/makecindy/cindy/-/docs/agent-runtime.md)
    
    ---
    
    For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Prompt To Fix All With AI
### Issue 1
apps/desktop/src/main/maker-ipc/register.ts:3143-3151
**Fork 凭证身份错误**

跨凭证族切换时,这里把目标 `model/providerId` 传给 `forkSdkSession`,但 Codex 的隔离 fork 契约要求使用源 thread 的身份解析 credential mode。这样 fork host 会按新来源启动后再 fork 旧来源 thread,导致缺少对应凭证时直接报未登录,或无法生成与源历史兼容的新 thread,使即时切换失败、延迟切换持续阻塞输入队列。

### Issue 2
apps/desktop/src/main/maker-ipc/runtimeSetModel.ts:284-286
**恢复时丢失重建标记**

已有 pending 的空闲切换在 close 成功但 relink 失败时,这里只恢复 `model/providerId`,丢失跨凭证族所需的 `rebuildCodexThread`。后续重试会跳过 relink,直接落地新 provider 并唤醒队列,使 `sdkSessionId` 仍指向旧凭证族 thread,下一条消息因此会在不兼容来源下 resume 旧 thread。

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (1): Last reviewed commit: "fix(desktop): relink Codex thread across..." | Re-trigger Greptile

Comment thread apps/desktop/src/main/maker-ipc/register.ts
@MagicLizi

Copy link
Copy Markdown
Contributor

@zqchris 👋 这个 PR 还有 4 条 review conversation 没 resolve(apps/desktop/src/main/maker-ipc/register.ts / apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts / apps/desktop/src/main/maker-ipc/runtimeSetModel.ts),auto-review 因此暂时跳过、没法继续审查 / 合并。

如果你已经按评论改完或回应了,请到对应 thread 上点 Resolve conversation;全部 resolve 后,下一轮 auto-review 会自动重新审查这个 PR。

@MagicLizi MagicLizi added status:awaiting-bot-review 等外部审查机器人表态(review-pr 自动维护,仅展示) touches:core 改动碰到架构核心路径(review-pr 自动维护,仅展示) status:ci-failed CI 失败(review-pr 自动维护,仅展示) and removed status:awaiting-bot-review 等外部审查机器人表态(review-pr 自动维护,仅展示) labels Aug 27, 2026
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

// await 期间用户可能改选 / 取消:本次让位,新登记有自己的收口路径。
if (this.pending.get(sessionId) !== target) return;

P1 Badge Roll back the relink when the pending generation changes

When a user replaces or cancels the pending switch after the relink CAS has completed, this stale finalizer returns without invoking relinkReceipt.rollback(). The new CAS guard only covers changes during the commit itself; fresh evidence is that generation changes during the subsequent persistRoute() await also reach this return with the abandoned thread already installed. Because this finalizer closed the live session, the replacement path can see no session and skip another relink, causing its route to resume the thread forked for the superseded provider.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@MagicLizi MagicLizi removed the status:ci-failed CI 失败(review-pr 自动维护,仅展示) label Aug 28, 2026

@MagicLizi MagicLizi 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.

独立审查(standard)有 1 条 P1,不能合并。

  • [P1] apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts:498finalizeApply 在 relink CAS 成功后 await persistRoute()。persist 失败relinkReceipt.rollback(),但 persist 成功后若 pending.get(sessionId) !== target 直接 return,不 rollback。register/clear 不被 applying 挡住,所以 persist 窗口里取消或改选是可达的。结果:被放弃目标的 thread 仍写在 sessions.sdk_session_idshouldRelinkCodexThreadsess 缺失时为 false,下一次发送会接着用已作废的 family thread。relink 进行中的取消已有测试,persist 成功后被 supersede 没有。请在 post-relink 的 generation 变化路径上 await relinkReceipt.rollback() 再 return,并补单测。

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

已在 3cb26b12e 合批修复当前评审门阻塞:

  • persistRoute 成功返回后若 pending generation 已被替换或取消,会先 await relinkReceipt.rollback(),再让位给新 generation;不会留下废弃来源的 sdk_session_id,也不会由旧 generation 唤醒队列或广播 applied。
  • 新增回归模拟 persist 成功窗口内被新选择覆盖,验证旧 thread 从废弃的 OpenAI fork 恢复到原 XD thread、新 pending 保留且旧 generation 不产生 applied/broadcast。

验证:

  • pnpm test:unit:related
  • pnpm --filter desktop run --if-present typecheck
  • DCO ✅

@MagicLizi 请按最新 head 复核这一条 changes-requested。

@zqchris
zqchris requested a review from MagicLizi August 28, 2026 09:35
…ad-reset

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

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: 3cb26b12ee

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-host/codex-credential-switch.ts
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

最新 head 4c9b5c36d 已合并 upstream/main@b7837c744(merge,不 rebase;无冲突),并保留 3cb26b12e 对 post-relink generation supersede 的 rollback 修复与回归。

验证:

  • Desktop 全量 unit:✅
  • Mobile、cindy-tools、lizi-mcps、Orca unit:✅
  • Desktop typecheck:✅
  • DCO:✅
  • pnpm test:unit:related 总体:❌ 仅最新 main 的 maker-core Pi 集成两条失败(xAI 用例 60s timeout,随后 BYOM 临时 config home 数量受遗留影响);fix(desktop): relink Codex thread across providers #3543 相对 upstream/main 无 maker-core diff,隔离重跑可复现,且当前 upstream main CI 本身也有无关单测 timeout 红。未在本 PR 扩范围修改 Pi。

@MagicLizi 请按最新 head 重新复核原 changes-requested。@codex review

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

Copy link
Copy Markdown

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: 4c9b5c36d4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/runtimeSetModel.ts Outdated
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: fe2aa3bf27

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown

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: 7319ce02e0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/register.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/register.ts
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

最新批次 8fc960802 修复 pending relink 已提交状态在清理/恢复后丢失的问题,并补齐失败恢复不重复 fork 的回归,请复审。

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown

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: 2b4f45e9ac

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/im/shared/cardActionHandler.ts Outdated
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 9528e8c5d1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@MagicLizi MagicLizi removed the status:awaiting-author 等作者修改(review-pr 自动维护,仅展示) label Aug 28, 2026
@MagicLizi

Copy link
Copy Markdown
Contributor

命中 UI 路径(apps/desktop/src/renderer/components/new-chat/ChatInput.tsx)但 description 未附界面效果证据——建议补充改动后效果:截图/录屏,或改动后界面的 HTML 页面(```html 代码块、.html 附件或在线预览链接),便于确认界面符合 DESIGN.md 设计规范

@MagicLizi MagicLizi 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.

独立审查(standard)有 1 条 P1,不能合并。上一轮 persist-supersede 的 rollback 已在当前 head 覆盖并有回归测试。

  • [P1] apps/desktop/src/main/windowsPackagedInstanceBarrier.ts:11 — 相对 main 夹带 92404b169bfix(desktop): stabilize Windows startup barrier)及其测试。PR 描述范围是本地 Codex 跨 XD/OpenAI 包月换 thread,未包含 Windows 单例启动。请拆到独立 PR,或从本分支拿掉该 commit;若必须同批合入,在 Description 写清理由。验证:git log origin/main..HEAD --oneline -- apps/desktop/src/main/windowsPackagedInstanceBarrier.ts 应为空。

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
@zqchris
zqchris force-pushed the codex-provider-thread-reset branch from 9528e8c to 04663bf Compare August 28, 2026 14:14
@zqchris

zqchris commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

已移除与本 PR 契约无关的 Windows startup barrier 提交 92404b1 及其专属测试/实现;新 head 为 04663bf。两个 Windows barrier 文件现与 upstream/main 零差异,Codex thread/relink 修复均保留。验证通过:pnpm test:unit:related、desktop typecheck、pnpm check:dco。@codex review

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

Copy link
Copy Markdown

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: 04663bf7f9

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts Outdated
@MagicLizi MagicLizi added the status:awaiting-bot-review 等外部审查机器人表态(review-pr 自动维护,仅展示) label Aug 28, 2026
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

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

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/register.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/register.ts
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

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: 0fc8d8e8e1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/codexProviderThreadRelink.ts Outdated
Comment thread apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts Outdated
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

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: 06f8b79eb1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/register.ts Outdated
@MagicLizi

Copy link
Copy Markdown
Contributor

@zqchris 👋 这个 PR 还有 3 条 review conversation 没 resolve(apps/desktop/src/main/maker-ipc/codexProviderThreadRelink.ts / apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts / apps/desktop/src/main/maker-ipc/register.ts),auto-review 因此暂时跳过、没法继续审查 / 合并。

如果你已经按评论改完或回应了,请到对应 thread 上点 Resolve conversation;全部 resolve 后,下一轮 auto-review 会自动重新审查这个 PR。

@MagicLizi MagicLizi added status:awaiting-author 等作者修改(review-pr 自动维护,仅展示) and removed status:awaiting-bot-review 等外部审查机器人表态(review-pr 自动维护,仅展示) labels Aug 28, 2026
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

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

Copy link
Copy Markdown

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: 27922225e4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/desktop/src/main/maker-ipc/pendingCredentialSwitch.ts
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:awaiting-author 等作者修改(review-pr 自动维护,仅展示) touches:core 改动碰到架构核心路径(review-pr 自动维护,仅展示) touches:large-diff 改动量较大(review-pr 自动维护,仅展示) touches:product-ui 改动碰到产品 / UI 面(review-pr 自动维护,仅展示)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants