Phase 7 — v1.0.0-beta.3: restart robustness + persistence fixes#7
Merged
Conversation
…e fixes - frontend: rekonsiliasi switch dgn container running saat load (Bug B1) — service auto-restart pasca reboot tampil ON tanpa toggle manual - tauri(config): fsync file sebelum rename cegah config truncated saat hard restart (Bug B2) - tauri(polling): gate stats loop via daemon_ready — skip spawn docker stats saat daemon down - tauri(windows): SetErrorMode suppress loader popup docker.exe child saat WSL boot/teardown - tauri(lifecycle): build().run(RunEvent) stop polling on exit — hindari spawn saat teardown - ci: bump deprecated Node20 actions (checkout v5, setup-node v6, cache v5, upload-artifact v7) - chore: bump versi 1.0.0-beta.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Polish iteration dari beta tester feedback (self-test pasca beta.2) — 2 bug terpisah saat restart PC.
Bug A — Popup
docker.exe/wsl.exesaat restart (intermittent)Polling loop nge-spawn
docker.exe/docker statsdi window rapuh (boot sebelum daemon ready + teardown) → loader-error popup. Bukti log:docker daemon recovered~10s setelah app start.Arc<AtomicBool> daemon_ready— skip spawndocker statssaat daemon down.SetErrorMode(SEM_FAILCRITICALERRORS|NOGPFAULT|NOOPENFILE)di startup — suppress hard-error popup dari childdocker.exe(inherit error mode). Dep:windows-sys 0.59.build().run(RunEvent)setshutting_down→ kedua loop break saat exit/session-end, hindari spawn saat teardown.Bug B — Service "up" tapi switch "false" setelah restart
reconcileSelectedWithRunning()— ORselecteddengan container yang running saat load. Container auto-restart (restart: unless-stopped) pasca reboot tampil ON tanpa toggle manual. Tak memicu start/stop.config_writefsync file sebelumrename(+ fsync dir parent unix) — cegahconfig.jsontruncated saat hard restart yang bikin selection hilang.Carry
Version
Bump
1.0.0-beta.3(package.json, Cargo.toml, tauri.conf.json, Cargo.lock).Verifikasi
cargo check --target x86_64-pc-windows-msvcPASS untuk seluruh kode app (fullcargo test/build tervalidasi CI 3-OS di PR ini).write_config_atomicroundtrip test ditambah.