Fix import command error handling for skipped files
Cluster 119953. Data as of
Nothing open on GitHub. Fix merged in #121498 on 24 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #121498. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #121498. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where hermes import reported success and exited 0 even when archive members were skipped or rejected, such as a damaged backup. The fixes add validation before overwriting files and ensure an appropriate error message and non-zero exit code when the import is incomplete.
Open issues0
Open PRs0
Fixes on record
-
#121498 fix(import): refuse a damaged backup archive before anything is overwritten
files:
hermes_cli/backup.py,hermes_cli/main.py,tests/e2e/core/upgrade/test_update_userstate_import.py,tests/hermes_cli/test_backup.py,website/docs/reference/cli-commands.md
1 PR closed without merging
From the close comments: done elsewhere 1
-
#119954 fix(import): exit 1 and say "incomplete" when archive members were skipped · done elsewhere →
9966de4,#121498,#119953
Closed issues · 1
- Closed#119953[Bug]: `hermes import` prints "Done. Your Hermes configuration has been restored." and exits 0 when files were skipped, including a refused state.db
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #121498
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 24 Sep 2026