You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "M4n5ter (via GitHub)" <gi...@apache.org> on 2026/09/06 11:36:13 UTC

[PR] feat(desktop): show progress during managed host startup [maka]

M4n5ter opened a new pull request, #4921:
URL: https://github.com/apache/maka/pull/4921

   <details open>
   <summary>English</summary>
   
   ## Summary
   
   - Show a branded startup window before Runtime Host boot, so managed repairs and upgrades no longer leave only an Electron Dock tile and no visible feedback.
   - Display actual preparation/update stages, elapsed time, a long-wait explanation and Copy diagnostics. Closing this status window minimizes it instead of terminating the operation.
   - Keep confirmation/error dialogs visible and hand off only when the main window is shown. Automated runs retain their existing window/focus behavior. Host migration and update permissions are unchanged.
   
   ## Verification
   
   - Desktop suite: 2,323 passed. Regression coverage includes early-close/load races, safe presentation failure, navigation isolation, managed progress and main-window handoff.
   - Full build, typecheck, lint, formatting and Desktop/UI dependency checks passed.
   - Isolated Linux Electron launch: startup visible at ~1.2 s; main window visible at ~2.8 s, immediately closing startup. Error-dialog display and Copy diagnostics also exercised through CDP.
   - Screenshots below are real Electron startup windows with simulated package preparation, in English/light and Simplified Chinese/dark. Actual macOS Dock/launchd behavior still needs on-device verification.
   
   ![Startup progress — English, light](https://github.com/user-attachments/assets/8f8efd79-3846-4814-b224-dfb1d90ea822)
   
   ![Startup progress — Simplified Chinese, dark](https://github.com/user-attachments/assets/6c64d97e-20ed-4f53-8854-5fcde757d412)
   
   ## AI use
   
   - [x] Generative tooling made a substantive contribution
   
   Tool(s) and scope: Codex — implementation, tests and UI verification.
   
   ## Checklist
   
   - [x] Tests cover the change and fail without it
   - [x] Lint, format, typecheck and the affected suites pass locally
   - [x] Yes — behavior changes are described under Summary
   
   </details>
   
   <details>
   <summary>简体中文</summary>
   
   ## Summary
   
   - 在 Runtime Host 启动前展示 Maka 启动窗口,避免 managed 修复/升级期间只有 Electron Dock 图标、没有窗口或进度反馈。
   - 展示真实准备/更新阶段、耗时、长时间等待说明和诊断复制入口。关闭此状态窗口只会最小化,不终止操作。
   - 确认及错误对话框保持可见,主窗口显示后才完成交接。保留自动化测试的窗口和焦点策略,不改变 Host 迁移与更新权限。
   
   ## Verification
   
   - Desktop 全量 2,323 项通过;覆盖提前关闭与加载竞态、展示失败隔离、导航限制、managed 进度以及窗口交接。
   - 全量构建、类型、lint、格式及 Desktop/UI 依赖检查通过。
   - 隔离 Linux Electron 实测:约 1.2 秒显示启动窗口,约 2.8 秒显示主窗口并立即关闭启动窗口;通过 CDP 验证错误弹窗及诊断复制。
   - 上方截图为真实 Electron 窗口,模拟安装包准备阶段,分别展示英文浅色与简体中文深色。macOS Dock/launchd 行为仍待设备实测。
   
   ## AI use
   
   - [x] Generative tooling made a substantive contribution
   
   Tool(s) and scope: Codex — 实现、测试和界面验证。
   
   ## Checklist
   
   - [x] 测试覆盖变更并可捕获回归
   - [x] 本地 lint、格式、类型及受影响测试通过
   - [x] 行为变化已在 Summary 说明
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] feat(desktop): show progress during managed host startup [maka]

Posted by "M4n5ter (via GitHub)" <gi...@apache.org>.
M4n5ter merged PR #4921:
URL: https://github.com/apache/maka/pull/4921


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org