# NousResearch/hermes-agent · Desktop rebuild failure handling in update process

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where a failing Desktop rebuild during updates could delete the working application while incorrectly reporting success. The work focuses on preserving the existing app on rebuild errors and propagating the correct exit status.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #101336. Verify it addresses your case.
- **Recommended:** read PR #101336 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-101336`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #86443: hermes update deletes the packaged Desktop app and exits 0 when the desktop rebuild fails

## Prior & competing PRs

- **#89838: fix(update): don't report success when the Desktop rebuild failed (supersedes #88359, #87984)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/update_cmd.py`, `tests/hermes_cli/test_update_desktop_stale_warning.py`
- **#101336: fix(update): Desktop rebuild stages and swaps so a failed pack never removes the working app (#86443, salvage #44234/#78431)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `.gitignore`, `contributors/emails/deathxdefeat@users.noreply.github.com`, `hermes_cli/main.py`, `tests/hermes_cli/test_desktop_exe_integrity.py`, `tests/hermes_cli/test_gui_command.py`, `website/docs/getting-started/updating.md`
- **#87984: fix(update): propagate desktop rebuild failure into hermes update's exit status**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#89838`, `#88359`

## Fix status

- Merged to main in PR #101336 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-02`.
- Subsystem: `apps/desktop`
