Skip to content

floor quick-snapshot prune keep to at least 1 - #78460

Closed
aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/quick-snapshots-prune-keep-floor
Closed

floor quick-snapshot prune keep to at least 1#78460
aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/quick-snapshots-prune-keep-floor

Conversation

@aydnOktay

Copy link
Copy Markdown
Contributor

Summary

  • Floor _prune_quick_snapshots keep to at least 1 (invalid values fall back to the default). keep=0 used dirs[0:] and deleted every snapshot, including one just created by create_quick_snapshot auto-prune — same safety floor already used by _prune_pre_update_backups.
  • Defensive Telegram bare-adapter getattr for _polling_conflict_recovery_generation.

aydnOktay and others added 2 commits August 4, 2026 15:11
keep=0 made dirs[0:] delete every snapshot including one just created by create_quick_snapshot auto-prune. Match _prune_pre_update_backups and floor keep to 1.

Co-authored-by: Cursor <cursoragent@cursor.com>
…adapters

Defensively read _polling_conflict_recovery_generation via getattr so bare/__new__ adapters cannot AttributeError during progress recording.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P2 Medium — degraded but workaround exists sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades labels Aug 4, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

@aydnOktay aydnOktay closed this Aug 19, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P2 Medium — degraded but workaround exists sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants