Compare commits
No commits in common. "main" and "todo/20261128-final-validation" have entirely different histories.
main
...
todo/20261
2 changed files with 15 additions and 27 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# 🛠️ Reliability fixes — unreleased source
|
# 🛠️ Reliability fixes — unreleased source
|
||||||
|
|
||||||
> 📌 **2026-11-28:** these four accepted changes are integrated in source.
|
> 📌 **2026-11-28:** these three accepted fixes are integrated locally in source.
|
||||||
> Published binaries remain **v2.3.0**. This cycle has not released or deployed
|
> 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.
|
> them, and release-hosted installers do not yet contain the path fix.
|
||||||
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
|---|---|
|
|---|---|
|
||||||
| 🔄 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. |
|
| 🔄 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. |
|
| 🔒 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. |
|
| 📂 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
|
Replaying the current snapshot does not double-count chunk references or announce
|
||||||
|
|
@ -31,37 +30,27 @@ to `install.sh`; this cycle makes no PowerShell runtime-verification claim.
|
||||||
|
|
||||||
## 🧪 Verification scope
|
## 🧪 Verification scope
|
||||||
|
|
||||||
Independent scoped verification and review accepted all four changes. The three product regressions failed against the original v2.3.0 source
|
Independent scoped verification and review accepted all three fixes. Each new
|
||||||
(`36690ee`) and passed with their fixes. A delayed shutdown probe reproduced the
|
behavior regression failed against the original v2.3.0 source (`36690ee`) and
|
||||||
daemon fixtures logging after test completion before their cleanup fix; the same
|
passed with its fix. Counts below describe those scoped checks, not a full-suite
|
||||||
probe passes afterward, with shutdown logs preceding test completion. Counts below describe those scoped checks, not a full-suite
|
|
||||||
total.
|
total.
|
||||||
|
|
||||||
| Scope | Accepted evidence |
|
| 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. |
|
| 🔄 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. |
|
| 🔒 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. |
|
| 📂 Shell installer | Two top-level tests: ten literal-path subcases across flag/env inputs, plus existing optional-plugin cases. |
|
||||||
|
|
||||||
✅ **Combined validation passed on dev3 at source `8e06d83`:** `go vet ./...`,
|
🔨 **Combined validation is pending:** full vet/build/race, nine release fixtures,
|
||||||
`go build ./...`, and `go test -race -json ./... -count=1` all exited 0. The race
|
and the two installer tests are running on dev3. No combined pass or full-suite
|
||||||
run passed 171 top-level tests and 30 subtests across 19 packages; one additional
|
count is claimed here. This cycle does not establish production-tailnet behavior,
|
||||||
package has no tests. Nine release fixtures and two installer tests also passed.
|
ARM runtime verification, or safe concurrent live blob GC. Earlier dated ARM
|
||||||
The final docs-only update does not change the tested code.
|
verification in [the project plan](../plan.md) remains historical evidence.
|
||||||
|
|
||||||
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
|
## 🔎 Source and regression references
|
||||||
|
|
||||||
- 🔄 [Retry-base handling](../internal/syncer/pull.go) and [regression](../internal/syncer/conflict_retry_test.go).
|
- 🔄 [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).
|
- 🔒 [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).
|
- 📂 [Shell installer](../install.sh) and [installer tests](../scripts/test-install.py).
|
||||||
|
|
||||||
📦 Source fixes today; published release status stays explicit.
|
📦 Source fixes today; published release status stays explicit.
|
||||||
|
|
|
||||||
13
plan.md
13
plan.md
|
|
@ -16,13 +16,12 @@
|
||||||
## 🎯 Where we are
|
## 🎯 Where we are
|
||||||
|
|
||||||
> 🛠️ **Current status — 2026-11-28:** published binaries remain **v2.3.0**.
|
> 🛠️ **Current status — 2026-11-28:** published binaries remain **v2.3.0**.
|
||||||
> Forgejo and GitHub source repositories are public. Four accepted reliability
|
> Forgejo and GitHub source repositories are public. Three accepted reliability
|
||||||
> changes are integrated in source and **unreleased**; see
|
> fixes are integrated locally in source and **unreleased**; see
|
||||||
> [behavior and scoped regression evidence](docs/reliability-fixes.md).
|
> [behavior and scoped regression evidence](docs/reliability-fixes.md).
|
||||||
> ✅ **Combined validation passed on dev3:** vet/build/race, 171 top-level Go tests
|
> 🔨 **Next:** finish combined validation of the integrated fixes. Full vet/build/race,
|
||||||
> plus 30 subtests, nine release fixtures, and two installer tests.
|
> nine release fixtures, and the two installer tests are running on dev3; results
|
||||||
> 🔨 **Next:** prepare a release containing these source fixes when requested.
|
> are pending. No release or deployment has been performed for this cycle.
|
||||||
> No release or deployment has been performed for this cycle.
|
|
||||||
>
|
>
|
||||||
> 📜 The shipped milestones and fleet checks below are historical records; they
|
> 📜 The shipped milestones and fleet checks below are historical records; they
|
||||||
> do not establish fleet verification for these new fixes.
|
> do not establish fleet verification for these new fixes.
|
||||||
|
|
@ -134,7 +133,7 @@ Do **not** pre-build these — there's no user who needs them yet, and the spec
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
**Next:** prepare a release containing the validated, unreleased reliability fixes when requested.
|
**Next:** complete the combined validation of the unreleased reliability fixes above.
|
||||||
P1–P3 are shipped; M9–M11 remain demand-driven. 🛠️
|
P1–P3 are shipped; M9–M11 remain demand-driven. 🛠️
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue