Skip to content

fix(runtime): 启动检查超时后自动再试一次 - #1937

Closed
jinghero wants to merge 3 commits into
AUTO-MAS-Project:devfrom
jinghero:fix/desktop-startup-recovery-20261112
Closed

jinghero wants to merge 3 commits into
AUTO-MAS-Project:devfrom
jinghero:fix/desktop-startup-recovery-20261112

Conversation

@jinghero

@jinghero jinghero commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

已由 PR #1938 替代。新 PR 和提交说明已改成直白的说法,文件内容逐个核对一致。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T10:53:03.246896Z 8e03c5a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added 模块: Runtime 按更新日志碎片自动设置 类型: 修复 按更新日志碎片自动设置 labels Nov 12, 2026
@jinghero jinghero changed the title fix(runtime): 恢复桌面启动的有限重试并补齐进程诊断 fix(runtime): 启动检查超时后自动再试一次 Nov 12, 2026
@jinghero jinghero closed this Nov 12, 2026

@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: 8e03c5a4bf

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

init.resetDesktopStartup()
}
const version = resolveRuntimeTargetVersion()
const result = await startDesktopStartup({

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Mark update-dialog restarts as explicit startup retries

When the post-update “Restart backend” action fails, useBackendRuntimeUpdate.restartBackend() continues calling backendStart() without the retry flag (frontend/src/composables/useBackendRuntimeUpdate.ts:207). Routing those calls through startDesktopStartup() now preserves that failed attempt in desktopStartup, so subsequent button presses return the cached failure at the guard above instead of creating another Runtime process—even after the underlying error clears. Previously these calls reached backend.startBackend() on each press. Pass explicit retry intent from this recovery action while retaining cached results for ordinary requests attaching to the startup task.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

模块: Runtime 按更新日志碎片自动设置 类型: 修复 按更新日志碎片自动设置

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant