mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 20:27:01 +01:00
|
Some checks are pending
release-apk / release (APK) (push) Waiting to run
--provision-sync-account exits before the normal windowed launch, so it looked headless -- but only on the happy path. When port 8730 is already held, main() detours through _recoverPort first, and AttachToExisting opens a browser window unless --no-browser was passed. It did not know about --provision-sync-account, so the second and later provisioning runs opened a full --app= window on the primary monitor: exactly what the headless flag exists to avoid. Found by running the feature twice rather than once. The first run binds the port and stays headless; only the second reveals it. Verified after the fix: two consecutive provisioning runs, both exit 0, zero windows opened. diet-guard is unaffected -- its wrapper has no port-recovery path. 256 tests, analyzer clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0177xwzcpfpWG2qca8Mr39q9 |
||
|---|---|---|
| .. | ||
| todo_desktop.dart | ||