Compare commits
1 commit
todo/20261
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cf18e0698d |
2 changed files with 27 additions and 15 deletions
|
|
@ -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.
|
||||
|
|
|
|||
13
plan.md
13
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
|
|||
|
||||
<div align="center">
|
||||
|
||||
**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. 🛠️
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue