diff --git a/docs/reliability-fixes.md b/docs/reliability-fixes.md index ef0e493..8c9a9fa 100644 --- a/docs/reliability-fixes.md +++ b/docs/reliability-fixes.md @@ -1,6 +1,6 @@ # ๐Ÿ› ๏ธ Reliability fixes โ€” unreleased source -> ๐Ÿ“Œ **2026-11-28:** these three accepted fixes are integrated locally in source. +> ๐Ÿ“Œ **2026-11-28:** these four accepted changes are integrated in source. > Published binaries remain **v2.3.0**. This cycle has not released or deployed > them, and release-hosted installers do not yet contain the path fix. @@ -10,6 +10,7 @@ |---|---| | ๐Ÿ”„ Sync retry base | A rejected push retains the last locally applied base. The next pull merges the advanced hub head, preserving disjoint peer changes and same-path edits through conflict copies. | | ๐Ÿ”’ Atomic hub acceptance | `meta.AcceptSnapshot` takes SQLite's write lock before reading the head. Parent validation, snapshot metadata, chunk refcounts, and head update share one transaction; a stale push is rejected with the winning head. | +| ๐Ÿงช Daemon test shutdown | Both live-sync fixtures cancel and join their daemon `Run` calls before closing the hub/database or returning from the test. Assertions and timeouts are unchanged. | | ๐Ÿ“‚ Literal installer destination | The shell installer no longer evaluates `--bin-dir` / `DEVBOX_BIN_DIR`. Only a leading `~/` expands to the home directory; spaces, quotes, dollar signs, backticks, and shell metacharacters otherwise stay literal. Quote values in the calling shell. | Replaying the current snapshot does not double-count chunk references or announce @@ -30,27 +31,37 @@ to `install.sh`; this cycle makes no PowerShell runtime-verification claim. ## ๐Ÿงช Verification scope -Independent scoped verification and review accepted all three fixes. Each new -behavior regression failed against the original v2.3.0 source (`36690ee`) and -passed with its fix. Counts below describe those scoped checks, not a full-suite +Independent scoped verification and review accepted all four changes. The three product regressions failed against the original v2.3.0 source +(`36690ee`) and passed with their fixes. A delayed shutdown probe reproduced the +daemon fixtures logging after test completion before their cleanup fix; the same +probe passes afterward, with shutdown logs preceding test completion. Counts below describe those scoped checks, not a full-suite total. | Scope | Accepted evidence | |---|---| | ๐Ÿ”„ Syncer | Race checks: 23 tests in one package; deterministic advanced-head retry covers disjoint additions, same-path edits, conflict-copy propagation, hooks, and convergence. | | ๐Ÿ”’ Hub | Race checks: 50 tests across four packages, including subtests; concurrent stale-parent rejection, replay/revert, candidate head protection, pruned-snapshot restoration, and independent database connections. | +| ๐Ÿงช Daemon fixtures | `go test -race ./internal/daemon -count=3` passed; independent delayed-shutdown probes fail both original fixtures and pass both fixed fixtures. `Run` joins mount workers; this does not establish that every child goroutine is joined. | | ๐Ÿ“‚ Shell installer | Two top-level tests: ten literal-path subcases across flag/env inputs, plus existing optional-plugin cases. | -๐Ÿ”จ **Combined validation is pending:** full vet/build/race, nine release fixtures, -and the two installer tests are running on dev3. No combined pass or full-suite -count is claimed here. This cycle does not establish production-tailnet behavior, -ARM runtime verification, or safe concurrent live blob GC. Earlier dated ARM -verification in [the project plan](../plan.md) remains historical evidence. +โœ… **Combined validation passed on dev3 at source `8e06d83`:** `go vet ./...`, +`go build ./...`, and `go test -race -json ./... -count=1` all exited 0. The race +run passed 171 top-level tests and 30 subtests across 19 packages; one additional +package has no tests. Nine release fixtures and two installer tests also passed. +The final docs-only update does not change the tested code. + +The first combined run exposed an overlong temporary Unix socket path and the +daemon test shutdown bug. Short temporary paths address the environment limit; +the fixture cleanup fix passed the final complete rerun. This cycle does not +establish production-tailnet behavior, ARM runtime verification, or safe +concurrent live blob GC. Earlier dated ARM verification in +[the project plan](../plan.md) remains historical evidence. ## ๐Ÿ”Ž Source and regression references - ๐Ÿ”„ [Retry-base handling](../internal/syncer/pull.go) and [regression](../internal/syncer/conflict_retry_test.go). - ๐Ÿ”’ [Hub acceptance](../internal/hub/server.go), [metadata transactions](../internal/hub/meta/meta.go), [HTTP race regression](../internal/hub/atomic_push_test.go), and [metadata regressions](../internal/hub/meta/atomic_push_test.go). +- ๐Ÿงช [Daemon lifecycle helper](../internal/daemon/daemon_test.go) and [pause fixture](../internal/daemon/pause_test.go). - ๐Ÿ“‚ [Shell installer](../install.sh) and [installer tests](../scripts/test-install.py). ๐Ÿ“ฆ Source fixes today; published release status stays explicit. diff --git a/plan.md b/plan.md index e41c126..d900a97 100644 --- a/plan.md +++ b/plan.md @@ -16,12 +16,13 @@ ## ๐ŸŽฏ Where we are > ๐Ÿ› ๏ธ **Current status โ€” 2026-11-28:** published binaries remain **v2.3.0**. -> Forgejo and GitHub source repositories are public. Three accepted reliability -> fixes are integrated locally in source and **unreleased**; see +> Forgejo and GitHub source repositories are public. Four accepted reliability +> changes are integrated in source and **unreleased**; see > [behavior and scoped regression evidence](docs/reliability-fixes.md). -> ๐Ÿ”จ **Next:** finish combined validation of the integrated fixes. Full vet/build/race, -> nine release fixtures, and the two installer tests are running on dev3; results -> are pending. No release or deployment has been performed for this cycle. +> โœ… **Combined validation passed on dev3:** vet/build/race, 171 top-level Go tests +> plus 30 subtests, nine release fixtures, and two installer tests. +> ๐Ÿ”จ **Next:** prepare a release containing these source fixes when requested. +> No release or deployment has been performed for this cycle. > > ๐Ÿ“œ The shipped milestones and fleet checks below are historical records; they > do not establish fleet verification for these new fixes. @@ -133,7 +134,7 @@ Do **not** pre-build these โ€” there's no user who needs them yet, and the spec
-**Next:** complete the combined validation of the unreleased reliability fixes above. +**Next:** prepare a release containing the validated, unreleased reliability fixes when requested. P1โ€“P3 are shipped; M9โ€“M11 remain demand-driven. ๐Ÿ› ๏ธ