-
Notifications
You must be signed in to change notification settings - Fork 0
Reorganize component directory structure for better clarity #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…date .gitignore Co-authored-by: Revilo91 <39066472+Revilo91@users.noreply.github.com>
|
@copilot bitte schau dir die Dateien nochmal genauer an. Die sind sehr unübersichtlich geworden. Bitte dies auch beheben |
…y files Co-authored-by: Revilo91 <39066472+Revilo91@users.noreply.github.com>
I've started the cleanup to improve file organization. Here's what I've done so far: Phase 1 Complete (commit 86cd12a):
This makes it much clearer where utilities are located. Working on additional improvements next. |
Co-authored-by: Revilo91 <39066472+Revilo91@users.noreply.github.com>
|
@copilot Die Tests fallen um, bitte beheben |
Co-authored-by: Revilo91 <39066472+Revilo91@users.noreply.github.com>
Tests sind jetzt behoben (commit 56fbe1b). Das Problem war, dass API-Konstanten (DEFAULT_MIN_REQUEST_INTERVAL, DEFAULT_CACHE_TTL, etc.) nicht aus dem infrastructure-Modul exportiert wurden. Ergebnis: Die Konstanten werden nun korrekt aus |
✅ Directory Structure Cleanup - All Tests Passing
Phase 1 Complete: Infrastructure Layer ✓
infrastructure/directory - consolidated 5 scattered utility filesPhase 2 Complete: Service Layer Extraction ✓
services.pymodule (172 lines)__init__.py- Reduced from 391 → 256 lines (35% smaller)Phase 3 Complete: Test Fixes ✓
Issue Fixed:
infrastructure/__init__.pytest_rate_limit_constantsandtest_cache_ttl_constantChanges Made:
infrastructure/__init__.pyto export API constants:DEFAULT_MIN_REQUEST_INTERVALDEFAULT_WRITE_COOLDOWNDEFAULT_REQUEST_DEBOUNCEDEFAULT_CACHE_TTLTest Results:
Final Structure:
Summary:
All Phases Complete:
Result: The codebase is now well-organized, maintainable, and fully tested.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.