Deflake GitHub MCP remote integration tests (#2543)

The pytest-retry plugin was causing teardown crashes due to a bug with
pytest's tmp_path fixture stash. Removing `@pytest.mark.flaky` and instead
improving the rate limit detection to properly skip tests on 429 errors.

Also fixed a brittle error message regex - GitHub changed their error
format from "tool not found" to "unknown tool".

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Guidry 2025-12-04 10:34:43 -05:00 committed by GitHub
commit 97438db0ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 7 deletions

1
.gitignore vendored
View file

@ -53,6 +53,7 @@ dmypy.json
# Local development
.python-version
.envrc
.envrc.private
.direnv/
# Logs and databases