Skip to content

fix: improve bot check errors, add check to README, fix test types - #2

Merged
max-sixty merged 1 commit into
mainfrom
security
Mar 23, 2026
Merged

max-sixty merged 1 commit into
mainfrom
security

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Three follow-up fixes from the security checks PR:

  1. Better bot 404 errors: check_bot_permission now distinguishes 404 ("not found as a collaborator — check the bot_name in config") from 403 ("may require admin access"), surfacing bot_name typos early.

  2. README: Added uvx continuous check to Quick Start Step 5 so new adopters see it in the setup flow.

  3. Test type annotations: Fixed monkeypatch: object → pytest.MonkeyPatch across all test files, removing # type: ignore[union-attr] comments.

This was written by Claude Code on behalf of @max-sixty

…types

- check_bot_permission now surfaces "not found as a collaborator" on 404,
  catching bot_name typos instead of the generic "may require admin access"
- Add `uvx continuous check` to Quick Start Step 5
- Fix monkeypatch type annotations across all test files
  (object → pytest.MonkeyPatch, remove type: ignore comments)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant