Release v0.34.0 — Series-4 parity, and most of Blastware's report from the event file alone #59
@@ -335,15 +335,29 @@ Each safety piece arrives with its first real use, so nothing sits untested.
|
||||
`0C` + `1F` browse, no `5A`) instead of downloading every event to list
|
||||
it, and one event downloads without the ones before it. It reuses the
|
||||
bypass `skip_waveform_for_events` already takes, so no new command
|
||||
reaches the wire. 🔶 Unproven on a unit: **a MiniMate bench check is
|
||||
owed before this branch merges.** The legacy serial-less
|
||||
`/device/events` keeps its full-download walk.
|
||||
reaches the wire. The legacy serial-less `/device/events` keeps its
|
||||
full-download walk. 🔶 Unproven on a unit: **a MiniMate bench check is
|
||||
owed before this branch merges.** Its scope (final review,
|
||||
2026-10-21):
|
||||
- a list of three or more events, confirming `1F(browse)` advances
|
||||
after a `1E(arm)` without `1F(arm)`;
|
||||
- a non-first event;
|
||||
- a histogram-mode event, capturing its `0C` (which would let Series
|
||||
3's `record_type`, `null` today, be decoded);
|
||||
- an event past 64 KB, expecting the named 502;
|
||||
- a stale-id download, confirming no `5A` goes out;
|
||||
- a dropped reply, via `bridges/mm_link.py`-style fault injection.
|
||||
- **Download = fetch, check, store** in SFM's database, the same as
|
||||
Series 3's `blastware_file` route, and returns the stored row's id. The
|
||||
file and waveform are then served by the existing `/db/events/{id}/…`
|
||||
routes. The database matches on (serial, timestamp), so storing an
|
||||
event already stored, including one THOR's watcher forwarded, refreshes
|
||||
the row instead of duplicating it.
|
||||
event already stored, including one THOR's watcher forwarded, ~~refreshes
|
||||
the row instead of duplicating it~~. **Changed by the final review
|
||||
(2026-10-21):** it returns the existing row and writes nothing
|
||||
(`inserted: false`, `detail.already_stored: true`). Never merge: the
|
||||
watcher's copy, with its paired report, is the richer one, and a
|
||||
refresh measurably downgraded it (PVS, project strings and ZC
|
||||
frequencies went NULL).
|
||||
- **`event_id` = `<serial>:<key>:<YYYYmmddHHMMSS>`.** Both series reuse
|
||||
keys (after an erase, and across Micromates), so a download whose key
|
||||
now holds a different event fails with 409 instead of fetching it.
|
||||
@@ -429,6 +443,24 @@ plan's scratch ledger. None blocks 1a; the phase each one matters to is named.
|
||||
keep-alive; it looks like a dead unit. Open with `exclusive=True`, or don't
|
||||
hold serial links.
|
||||
|
||||
## Left open by the phase 1b review (2026-10-21)
|
||||
|
||||
Parked from the whole-branch review of 1b; none blocks it. The phase each
|
||||
matters to is named.
|
||||
|
||||
- **Retry re-runs a whole download (1c).** The retry-once on a held-line timeout re-runs the full download, roughly doubling time-to-error; narrow it to failures before the first reply.
|
||||
- **`last_used` after a kept-line error (1c).** It is not refreshed when an op's verdict (404/409) keeps the line, so the idle hang-up comes early.
|
||||
- **`verified: null` is ambiguous (1c).** It means both "a histogram" (no check exists) and "a waveform whose check could not run".
|
||||
- **Mic naming and the Series-4 mic decode (1c).** `detail.mic_psi` on Series 3, `detail.mic` on Series 4; Series 4's `0x0C` mic decodes as a denormal (~5e-39) — fix the decode before 1c shows it.
|
||||
- **500 detail leaks paths (1c, before SFM is reachable beyond Terra-View).** The download handler's 500 detail includes raw exception text, filesystem paths included.
|
||||
- **Serial as a directory name (1c).** The serial is never checked against `[A-Z0-9]+` before it names a store directory; only the unit can choose it, but the check is cheap.
|
||||
- **No server-level RADIO RING mid-download test (1c).** Covered structurally (DeviceAccess-level test + the ring transport), not through the handler.
|
||||
- **Series-3 stored `record_type` (MiniMate bench check).** Rows SFM stores for Series 3 still say "Waveform" for histograms — pre-existing, the same as the legacy `blastware_file` route; fix it with the `0C` decode.
|
||||
- **A fresh Series-4 download's gaps (1c).** No `sample_rate` is stored, and the sidecar has no vector sum; the DB row has the unit's PVS (overlaid from `0x0C`).
|
||||
- **Orphan files (SDM).** An event file in the store with no DB row is still overwritten by a download.
|
||||
- **Same-second collisions (SDM).** Two events of one unit in the same second collide on (serial, timestamp) — a DB-wide dedup property, not 1b's.
|
||||
- **423 without `Retry-After` (1c).** Add `Retry-After` to the 423 a request gets while a download holds the unit.
|
||||
|
||||
## Table 2: to be added later (both series)
|
||||
|
||||
| area | item |
|
||||
|
||||
Reference in new issue
Block a user