Spaces:
Sleeping
Sleeping
Commit History
-
fix(app): 503 on storage failures, validated currency, lock release on shutdown, per-IP login limit, unit-only npm test
Storage failures now surface as a 503 with a retry message instead of a bare 500: `guarded()` wraps every form action, passing redirects/HttpErrors/ActionFailures through and mapping anything else (including ReadOnlyError) to a 503 rendered by the new +error.svelte. - config: CURRENCY must be a 3-letter uppercase ISO 4217 code; reuse the validated session secret and compaction interval instead of recomputing them - app: release the writer lock on sveltekit:shutdown, with SIGTERM/SIGINT fallback - login: per-IP limiter (20/min) ahead of the per-username one; scrypt wait queue capped at 64 so a login flood is shed as a 503 rather than parked - npm test now runs unit tests only; integration tests move to vitest.integration.config.ts so the default run never touches the real bucket - nosniff/Referrer-Policy on every response, spelling fixes, drop unused splitParticipants, .git in .dockerignore, README env notese830ad4 -
test(ledger): same-instance compaction retries, heal-path put faults, real in-flight write test
e511dfb -
fix(ledger): writer guard re-checks ownership and self-demotes on stale heartbeat
b0ccc27 -
test(ledger): prove compaction crash safety with fault injection and against the real bucket
8d2f1b6 -
feat(ledger): add heartbeat-based writer guard
ea1afde -
fix(ledger): heal truncated ledger, validate events on write, reconcile pending
664d562 -
feat(ledger): add Ledger service with event write path and compaction
3bfa0fc -
feat(ledger): add event schema, jsonl encoding and fold
a896df9