psocache_usersig: refuse --limit combined with --entry #230

Closed
Andretuta wants to merge 1 commit from upstream-pr/230 into main
Andretuta commented 2026-11-24 02:49:15 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:49:15Z.


Carried over from old PR 9963 by al3xar in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9963, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
al3xar: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

AI-assisted.

Rebased onto current \main\ (\d083a2cc3); previously submitted as #7758 (closed during the bulk PR cleanup; had 1 approval + 4 independent passes on Windows/Linux).

Summary

  • Refuse combining --limit\ with --entry\ in \ ools/psocache_usersig.py\ instead of silently ignoring --limit.
  • Add unit test coverage in \ ests/test_psocache_usersig.py.

Verification

  • \python -I tests/test_psocache_usersig.py: 8 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files).
  • \python -I scripts/check_no_game_data.py tools/psocache_usersig.py tests/test_psocache_usersig.py: clean.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465144676 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/230). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:49:15Z. --- > Carried over from **old PR 9963** by `al3xar` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9963`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `al3xar`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): AI-assisted. Rebased onto current \main\ (\d083a2cc3\); previously submitted as `#7758` (closed during the bulk PR cleanup; had 1 approval + 4 independent passes on Windows/Linux). ### Summary - Refuse combining \--limit\ with \--entry\ in \ ools/psocache_usersig.py\ instead of silently ignoring \--limit\. - Add unit test coverage in \ ests/test_psocache_usersig.py\. ### Verification - \python -I tests/test_psocache_usersig.py\: 8 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files). - \python -I scripts/check_no_game_data.py tools/psocache_usersig.py tests/test_psocache_usersig.py\: clean.
aslan2142 commented 2026-11-24 19:18:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-24T19:18:19Z.


This carry-over of old upstream PR 9963 has been taken over in #933, so I'm closing this draft as #17 describes. The branch old-pr/9963 stays.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7141901204 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/230#issuecomment-7141901204). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-24T19:18:19Z. --- This carry-over of old upstream PR 9963 has been taken over in #933, so I'm closing this draft as #17 describes. The branch `old-pr/9963` stays. AI-assisted (Claude Code, Claude Opus 5.5).

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!230
No description provided.