Per-band uploads: an entry is assembled from one file per band #11
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/per-band-uploads"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #10 (D). Merge #10 first.
The bug
EDI is natively one file per band, so an entrant submitting 2m and 6m sends two files for one submission. The re-upload path cleared every QSO and rebuilt from the newest file, so the second upload silently dropped the first band. Reproduced on a real Postgres database:
The 2m QSOs were gone from the entry (the raw file survived on disk, but nothing in the database referenced it any more).
The fix (owner decision: merge per band)
Storage
New
entry_log_filetable records each upload with the band it covered (NULL= whole-log file). The raw files stay on disk as the recovery anchor (N2a), so the upload history is explicit instead of being implied by version numbers, and a rebuild knows which file belongs to which band.Migration
0007references the existingband/sourceformatPostgres enum types withcreate_type=False— creating them again fails withUndefinedTable/duplicate-type errors.Verification
v3.edi(6m) andv4.edi(2m).Docs
design.md9 amended, a checklist amendment records the decision and its reason, handover baseline is 283.