Skip to content

clamp list_quick_snapshots limit to 1-500 - #78455

Closed
aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/quick-snapshots-list-limit-clamp
Closed

clamp list_quick_snapshots limit to 1-500#78455
aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/quick-snapshots-list-limit-clamp

Conversation

@aydnOktay

Copy link
Copy Markdown
Contributor

Summary

  • Clamp list_quick_snapshots limit to 1–500 (default 20). Zero/negative values stop after the first row via len(results) >= limit; oversized limits force reading every snapshot manifest.
  • Defensive Telegram bare-adapter getattr for _polling_conflict_recovery_generation.

aydnOktay and others added 2 commits August 4, 2026 14:58
Zero/negative limits stop after the first row via len(results) >= limit, and huge limits force reading every snapshot manifest. Clamp to 1-500 while keeping the default of 20.

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 P3 Low — cosmetic, nice to have 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 P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants