docs: v0.152.0 REPORT/CONTEXT + fix an async race in TestFabUpload_GCAndIdleTimeout
The fab-upload GC test stat-ed the .part immediately after observing the slot free, but expireIdleUpload unlinks AFTER releasing the mutex. Passed alone, failed in the full package once this release's render tests made web heavier. Not a production defect - a new upload mints a fresh random .part. The test now waits for the outcome it asserts on the same deadline; red-proofed by removing the unlink from production.
This commit is contained in:
+9
-3
@@ -43,9 +43,15 @@ browse queries on the wire, but the test Mac's sidebar stayed empty — it had n
|
||||
section shown at all, which is a Finder Settings toggle rather than something the box controls. This
|
||||
is recorded as OPEN in the DIAG, deliberately not as a shipped feature.
|
||||
|
||||
`TestRenderSambaCompose` asserted the literal tag `felhom-samba:1.0.0`, so a routine image bump read
|
||||
as a renderer regression. It now derives from `SambaImage` and separately asserts what actually
|
||||
matters — that the tag is explicit and never `:latest`.
|
||||
**Two test bugs surfaced and fixed, neither a production defect.** `TestRenderSambaCompose` asserted
|
||||
the literal tag `felhom-samba:1.0.0`, so a routine image bump read as a renderer regression; it now
|
||||
derives from `SambaImage` and separately asserts what actually matters — that the tag is explicit and
|
||||
never `:latest`. And `TestFabUpload_GCAndIdleTimeout` raced: `expireIdleUpload` nils the slot,
|
||||
releases the mutex, and only then closes and unlinks the `.part`, so "the slot is free" does not yet
|
||||
mean "the file is gone" — the test stat-ed immediately and passed only by luck. It failed in the full
|
||||
package while passing in isolation once this release's new render tests made the `web` package
|
||||
heavier. Now it waits for the outcome it asserts, on the same 3 s deadline; red-proofed by removing
|
||||
the unlink from production, which still fails it.
|
||||
|
||||
### v0.151.0 — the Megosztás page stops reloading, and says how to connect (2026-07-20)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user