zerobyte/app/server/modules/lifecycle
Jakub Trávník 60c0778b74 refactor: improve config import logging, add CLI JSON output and idempotent re-runs
- Add `--json` flag for machine-readable JSON output
- Add `--log-level` flag to control logging verbosity
- Add `skipped` counter to ImportResult for idempotent operations
- Change "already exists" conditions from warnings to skipped (info logs)
- Recovery key mismatch now errors and stops import early
- Pre-check volumes and notification destinations before creation
- Attachment functions merge missing items instead of overwriting
- Add toError() and mergeResults() helpers to reduce code duplication
- Extract readConfigJson() and createOutput() for cleaner CLI code
- Move fs/path imports to top level in config-import.ts
2025-12-30 12:39:02 +01:00
..
checkpoint.ts restore as a page (#87) 2025-11-30 16:43:34 +01:00
config-import.ts refactor: improve config import logging, add CLI JSON output and idempotent re-runs 2025-12-30 12:39:02 +01:00
migration.ts refactor: tag snapshots with schedule short_id instead of db id (#248) 2025-12-28 11:42:25 +01:00
shutdown.ts refactor: remove docker volum plugin functionnality (#137) 2025-12-14 11:07:32 +01:00
startup.ts Merge remote-tracking branch 'origin/main' into config-import-json 2025-12-23 13:18:14 +01:00