Add startup re-import queue to apply importer fixes to signed rounds

The loan-aware NAV fix (0.2.47) only affects new imports; an already-signed
quarter keeps its old holdings until re-imported. Add a boot-time queue: an
operator stages an eNAV plus a small JSON descriptor under
data/pending_reimports and the app re-imports it on startup via the same code
path as the admin Import screen, then removes the processed files. Guarded so a
queue problem never blocks boot. Bumps the package to 0.2.48.

Used to refresh SATS Credit Fund LP Q4 2025 to its full NAV including the
Fold Holdings loan.
This commit is contained in:
Jonathan Kirkwood
2026-09-02 09:35:54 -05:00
parent 12a6e33bd8
commit 34842cd994
6 changed files with 163 additions and 3 deletions
@@ -0,0 +1,16 @@
import { VersionInfo } from '@start9labs/start-sdk'
export const v_0_2_48 = VersionInfo.of({
version: '0.2.48:0',
releaseNotes: {
en_US:
'Applies the loan-aware NAV fix to already-signed rounds. On startup the service drains ' +
'a re-import queue (data/pending_reimports), re-importing any eNAV an operator has staged ' +
'so a signed quarter picks up its loan book without a manual re-upload. Used to refresh ' +
'SATS Credit Fund LP Q4 2025 from $3.6M to its full NAV including the Fold Holdings loan.',
},
migrations: {
up: async ({ effects }) => {},
down: async ({ effects }) => {},
},
})