Skip to content

fix(web): avoid hard reload during host restart#116

Merged
papi-ux merged 1 commit into
masterfrom
polaris/issue-114-restart-handshake
Jun 23, 2026
Merged

fix(web): avoid hard reload during host restart#116
papi-ux merged 1 commit into
masterfrom
polaris/issue-114-restart-handshake

Conversation

@papi-ux

@papi-ux papi-ux commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Return a clean restart response before Polaris terminates/restarts.
  • Add a shared Web UI restart helper that waits for Polaris to come back instead of force-reloading into a dead HTTPS listener.
  • Use the helper from both Config Apply and Troubleshooting Restart, with EN/ZH status messages.

Notes

Refs #114.

This targets the Apply/Restart race path. The reporter also mentioned the TLS page can appear while idle/login, so this may be a partial mitigation rather than the whole root cause.

Validation

  • git diff --check
  • npm test — 16 files / 66 tests
  • npm run lint
  • npm run build

@papi-ux papi-ux merged commit 703dbba into master Jun 23, 2026
11 checks passed
@papi-ux papi-ux deleted the polaris/issue-114-restart-handshake branch June 23, 2026 21:43
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