Commit Graph

13 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] ffa0e1eb7b test(coverage): add celery_worker coverage and remove dead config_validator.py
- Rewrite tests/test_celery_worker.py to mock check_credentials.apply_async
  at import time, enabling all 35 statements to be covered without Redis
- Add tests for conditional beat schedule entries (IMAP, Uptime Kuma)
- Delete app/utils/config_validator.py — dead code shadowed by the
  config_validator/ package directory (Python gives packages precedence)
- Remove both files from coverage omit in pyproject.toml
- celery_worker.py now at 100% coverage (was 0%)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-25 21:08:24 +00:00
copilot-swe-agent[bot] 02ad558330 test: achieve 90%+ code coverage across codebase
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-24 18:17:22 +00:00
copilot-swe-agent[bot] 7f3e8312de fix: fix automatic changelog creation with PSR v10
- Remove deprecated changelog_file from [tool.semantic_release.changelog]
  in pyproject.toml (already set under default_templates)
- Add <!-- version list --> insertion flag to CHANGELOG.md so PSR v10's
  update mode can find where to insert new version entries
- Fix generate_build_metadata.sh to use $NEW_VERSION env var (set by PSR
  before running build_command) instead of incorrectly syncing VERSION
  from the previous git tag

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-23 18:54:18 +00:00
copilot-swe-agent[bot] d796206bf7 docs/ci: automate CHANGELOG updates and retroactively document post-v0.5.0 changes
- Fix semantic-release autoescape=true Jinja2 bug preventing CHANGELOG generation
- Add explicit changelog_file, mode=update, output_format=md to pyproject.toml
- Add fallback semantic-release changelog step in release.yml
- Manually true up CHANGELOG.md with comprehensive v0.40.0 retroactive entry covering
  all post-v0.5.0 additions: security middleware, 6 new storage providers, PDF processing
  improvements, dual-table status tracking, notification system, admin file manager,
  browser extension v1.1, path traversal fixes, and documentation additions
- Add Documentation-First Development section to CONTRIBUTING.md and AGENTIC_CODING.md
- Fix README.md quick-start commands and screenshots note
- Update TODO.md to reflect current version and completed tasks"

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-23 13:00:49 +00:00
copilot-swe-agent[bot] 53a9efa56d feat: add strict mypy type-checking for app/utils/ module
- Add [[tool.mypy.overrides]] section for app/utils/** with disallow_untyped_defs=true
- Add type annotations to all functions in app/utils/ (12 files)
- Fix type annotations in app/config.py and app/database.py (imported by utils)
- All 85 source files now pass mypy type checking

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-14 00:27:52 +00:00
copilot-swe-agent[bot] b03ebab747 chore: apply ruff formatting and fix whitespace issues
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 09:12:11 +00:00
copilot-swe-agent[bot] 43bc58770d refactor: consolidate linting tools into Ruff
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 09:10:52 +00:00
copilot-swe-agent[bot] 9452d70358 fix: address code review - move max-line-length to pylint format section, keep import-untyped enabled
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 03:41:27 +00:00
copilot-swe-agent[bot] 30b237dc73 ci(lint): configure mypy and pylint to pass in CI workflow
- Add types-requests and types-paramiko stubs to requirements-dev.txt
- Configure mypy disable_error_code in pyproject.toml for SQLAlchemy/ORM
  false positives and dynamic library type issues
- Add comprehensive pylint configuration in pyproject.toml with documented
  suppressions for framework-specific patterns and false positives
- Update CI workflow to use pyproject.toml config instead of inline flags
- Both mypy and pylint now pass with exit code 0

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 03:39:54 +00:00
copilot-swe-agent[bot] 624b1ddb57 fix(ci): exclude E2E tests requiring Docker-in-Docker from CI
- Add missing pytest markers (e2e, requires_docker) to pyproject.toml
- Update CI workflow to skip E2E tests with -m "not e2e"
- Update integration test documentation with CI configuration notes
- E2E tests can still be run locally with: pytest -m e2e

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-11 18:03:47 +00:00
copilot-swe-agent[bot] 67cbc5e80d fix: address code review feedback
- Remove version_variables from pyproject.toml (not needed with version_source="tag")
- Clean up CHANGELOG.md comparison links to avoid duplicate/incorrect references
- Keep only [Unreleased] link since v0.5.0 tag doesn't exist yet

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:59:47 +00:00
copilot-swe-agent[bot] 23de539800 fix: update semantic-release changelog configuration for v10 compatibility
- Move changelog_file to changelog.default_templates section
- Resolves deprecation warning in semantic-release v10

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:58:02 +00:00
copilot-swe-agent[bot] 04d18ee1f7 feat: add semantic-release and conventional commit infrastructure
- Create pyproject.toml with python-semantic-release configuration
- Add release.yml workflow for automated releases
- Add commitlint pre-commit hook for conventional commits validation
- Add python-semantic-release to dev dependencies

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:52:06 +00:00