Fix CI/CD issues and add comprehensive tests for multi-user features #6
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: yvachot/GeoGuessrMCP#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/add-mcp-authentication-01V5tbppGEtXc3tvjRGoTcfh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit fixes three critical issues identified in CI/CD and adds comprehensive test coverage for the new multi-user functionality.
Fixes
1. FastMCP Middleware Registration Error
Problem:
AttributeError: 'FastMCP' object has no attribute 'app'Solution: Implemented robust middleware registration that:
Files Changed:
2. Test Permission Errors
Problem:
PermissionError: [Errno 13] Permission denied: '/app'Schema registry tried to create /app/data/schemas in CI without permissionSolution: Made schema cache directory creation fault-tolerant:
Files Changed:
3. Black Formatting Issues
Problem: 10 files needed reformatting
Solution: Ran
black src/ --line-length 100on all source filesFiles Formatted:
New Tests
Added comprehensive test coverage for multi-user features:
test_user_context.py
test_multi_user_session.py
test_request_context.py
Code Quality
All changes pass:
CI/CD Impact
These fixes should resolve:
Tests can now run in CI environment without requiring:
Pull Request
Description
Type of Change
Related Issues
Fixes #
Changes Made
Testing Performed
Test Details
Screenshots (if applicable)
Checklist
Additional Context
Breaking Changes
Performance Impact
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT License.