Skip to content

fix: verify GUI update restarts stay healthy - #284

Merged
Ingwannu merged 1 commit into
devfrom
agent/issue-281-update-restart
Jul 22, 2026
Merged

Ingwannu merged 1 commit into
devfrom
agent/issue-281-update-restart

Conversation

@Ingwannu

Copy link
Copy Markdown
Owner

Summary

  • verify GUI update restarts with an identity-checked health/stability window before marking update-job success
  • fail the job with a Windows-specific recovery hint when the replacement proxy never becomes healthy or dies shortly after start
  • cover the new restart confirmation lanes with targeted updater regression tests and update the worker ADR

Root cause

The GUI update worker marked update-job.json as succeeded immediately after requesting a restart. On Windows, npm/Bun update failures can leave the replacement proxy dead within seconds, but the dashboard still reported success because no post-restart health confirmation existed.

User impact

Users now get an honest failed update-job state plus recovery guidance instead of a silent "restart requested" success while the proxy is already down.

Validation

  • bun test tests/update-job.test.ts
  • bun run typecheck
  • bun run privacy:scan

@Ingwannu

Copy link
Copy Markdown
Owner Author

Final review passed on d8200ea7. Update success is now recorded only after restart plus OpenCodex /healthz identity confirmation; failures persist restarted:false with a recovery hint. Focused 36 tests, 3,511 full tests, typecheck, privacy scan, GUI lint, diff check, and all cross-platform CI pass. No new dependencies, credentials, unsafe shell/process surface, malware, or backdoor behavior found.

@Ingwannu
Ingwannu merged commit 79e5067 into dev Jul 22, 2026
8 checks passed
@lidge-jun
lidge-jun deleted the agent/issue-281-update-restart branch July 22, 2026 12:22
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant