Revert guild endpoints merge - incorrect target branch#26
Revert guild endpoints merge - incorrect target branch#26
Conversation
* Refactor client.py to reduce file size by 95% (#24) * Reorganize generated code into _generated subdirectory * Fix remaining test imports for ValidationError and generated modules * Suppress websockets deprecation warnings from generated code * Refactor client.py using factory patterns and mixins * Fix test failures in refactored client * Fix remaining test failures and add UNSET export for backward compatibility * Update documentation to reflect client refactoring * Fix type annotations and pre-commit issues * Remove client_save.py backup file * Fix all mypy type errors for pre-commit compliance * Fix kwargs passthrough issue in report methods Remove kwargs passthrough to execute() to prevent HTTP client errors. Update convenience methods to only pass expected parameters. Update test to match new behavior where kwargs are not passed through. * Add dev branch to CI/CD workflow triggers * Trigger Claude Code Review [review] * Remove Claude review trigger file * Allow manual triggering of Claude Code Review workflow * Fix Claude review workflow to support reopened PRs [review] Add 'reopened' to PR event types and condition check * Address high-priority reviewer feedback - Add Protocol for type safety with model_validate method - Cache regex patterns for performance improvement - Improve error messages to show available parameters - Add comprehensive documentation for method registration - Fix type annotations to satisfy mypy * Update documentation for refactored architecture - Fix markdown formatting in architecture.md for proper rendering - Update test counts from 278 to 310 tests (105 unit tests) - Update project structure to reflect new modular architecture - Add method_factory.py and param_builders.py to unit test docs - Document new mixins directory structure * fix formatting * Bump version to 0.2.0a3 Update version across all project files: - pyproject.toml - esologs/__init__.py - README.md - CLAUDE.md - docs/index.md - docs/changelog.md (with release notes) - docs/development/architecture.md --------- Co-authored-by: knowlen <knowlen@users.noreply.github.com> * Implement guild data endpoints - Add 4 new guild methods: get_guilds(), get_guild(), get_guild_attendance(), get_guild_members() - Create GraphQL queries for guild search, lookup, attendance, and members - Add parameter builder for guild attendance with proper defaults - Implement flexible get_guild() method supporting ID or name/server lookup - Add comprehensive unit tests (12 new tests) - Add integration tests (10 new tests) - Update guild-data.md documentation with examples for all new methods - Update API coverage from ~83% to ~90% (37/41 methods) * Fix unit test mocking for httpx.Response objects * Fix UNSET import in test_character_rankings.py * Address reviewer comments: fix self type annotation and import location * Fix guild documentation examples and add comprehensive tests * Convert relative imports to absolute imports for better maintainability * Add retry logic and resilience features for integration tests and API clients * Replace pilcrow (¶) with hash (#) for anchor links in documentation * Fix pytest configuration for retry logic in integration and docs tests --------- Co-authored-by: knowlen <knowlen@users.noreply.github.com>
This reverts commit fc7c55f.
|
Claude finished @knowlen's task —— View job PR Review AnalysisReviewing this revert PR for code quality, potential issues, and workflow practices. Todo List:
Review Summary❌ Critical Issues - PR Not Ready for Merge1. Incomplete Revert - Test Failures Guaranteed
2. Documentation Inconsistency
✅ Positive Aspects1. Workflow Strategy
2. Version Management
3. Architecture
📋 Required Actions Before Merge
🔍 Detailed AnalysisRevert Scope: This cleanly reverts 99 files (7,668 deletions, 1,799 additions), removing:
Security: ✅ No security concerns - removing functionality rather than adding Performance: ✅ Improves performance by removing complex factory overhead Branching Strategy: ✅ Excellent - enforces proper dev branch workflow 🎯 RecommendationDO NOT MERGE until test failures are resolved. The revert itself is architecturally sound, but the incomplete removal of dependent test code will break the build. Next Steps:
|
|
Closing this PR as we've decided to use git reset instead of revert to fix the main branch. Main has been successfully reset to c369935. |
Summary
Reverting PR #25 which was accidentally merged into
maininstead ofdev.Issue
mainmaindevChanges in this PR
get_guild_reportsmethodreleaseprefix can target mainTest Status
get_guild_reportsNext Steps