Commit Graph

52 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 55ecdca6af fix(ci): remove invalid --fix flag from ruff format in CI
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 20:52:35 +00:00
Christian Krakau-Louis f3863cd094 Update ci.yml 2026-02-13 21:11:28 +01:00
Christian Krakau-Louis 6e54135961 Update Ruff format command to fix formatting issues 2026-02-13 21:07:49 +01:00
copilot-swe-agent[bot] 0edc51d17f fix: expose helper functions at module level for test patching
- Move get_all_settings_from_db import to module level in app/views/settings.py
- Move get_provider_status and get_settings_for_display imports to module level in app/views/status.py
- Fix CI workflow: replace deprecated 'file' parameter with 'files' in codecov-action
- Fix CI workflow: update test results upload to use codecov-action@v5 with report_type instead of deprecated test-results-action@v1

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 17:24:22 +00:00
copilot-swe-agent[bot] 19865b2bbe feat(ci): add ruff auto-fix workflow and ensure lint runs before tests
- Create new ruff-auto-fix.yml workflow that automatically fixes formatting issues
- Auto-commits fixes back to PR branches
- Comments on PRs when fixes are applied
- Restructure CI pipeline to run lint before tests (Stage 1 → Stage 2)
- Update CONTRIBUTING.md with current Ruff tooling (replaces outdated Black/Flake8 references)
- Add clear pre-commit setup instructions
- Document new CI workflow structure

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 16:55:39 +00:00
copilot-swe-agent[bot] 9d2994a4aa feat(ci): consolidate 6 workflow files into 3 optimized workflows
BREAKING CHANGE: Workflow files consolidated with proper dependencies

- Create new unified CI pipeline (.github/workflows/ci.yml)
  - Multi-stage pipeline: test/lint/mypy → build → deploy
  - Add concurrency groups to cancel redundant PR runs
  - Fix bug: only push Docker images on push events (not PRs)
  - Fix bug: upgrade checkout action from v3 to v4
  - Fix bug: enforce quality gates with job dependencies
  - Preserve Redis/RabbitMQ services for tests
  - Preserve Codecov integration and test artifacts
  - Push to both Docker Hub and GHCR with proper tags
  - Include SBOM and provenance attestations

- Update release.yml: remove no-op "Trigger Docker Build" step
- Update codeql.yml: remove template comments and boilerplate

- Delete 4 redundant workflow files:
  - tests.yaml (merged into ci.yml)
  - docker-build.yaml (merged into ci.yml)
  - docker-ci.yml (merged into ci.yml)
  - deploy.yaml (merged into ci.yml)

Docker registries: Docker Hub + GHCR (Quay.io auto-builds separately)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 13:06:23 +00:00
copilot-swe-agent[bot] 15a500540d docs: update references from old linting tools to Ruff
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 09:13:15 +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] 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] e89faeccae ci: add workflow-level permissions for least privilege
Add top-level `permissions: contents: read` to the tests workflow,
addressing CodeQL alerts about missing GITHUB_TOKEN permissions.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 03:09:06 +00:00
copilot-swe-agent[bot] d025923ef5 ci: split linters into independent parallel jobs and add CI documentation
Refactors .github/workflows/tests.yaml so that flake8, black, mypy,
pylint, and bandit each run as their own job in parallel with the test
job. This ensures a failure in one tool never blocks the others, and
contributors see full feedback from every tool on every CI run.

- Upgrades actions/checkout to v4 and actions/setup-python to v5
- All linter jobs are enforced (no continue-on-error)
- Test artifacts (junit.xml, coverage.xml) always uploaded
- Bandit JSON report always uploaded as artifact
- Adds docs/CIWorkflow.md with maintainer documentation
- Updates CONTRIBUTING.md with CI workflow table and link

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 03:07:53 +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
Christian Krakau-Louis f254e1b14b fix: force-add build metadata files to override .gitignore 2026-02-11 18:59:59 +01:00
copilot-swe-agent[bot] 037b4aa94e fix(build): sync VERSION file with semantic-release tags and add build time
- Update generate_build_metadata.sh to sync VERSION from latest git tag
- Change BUILD_DATE format from date-only to ISO 8601 with time (YYYY-MM-DDTHH:MM:SSZ)
- Fix VERSION file from 0.5.0 to 0.9.1 (matching latest git tag v0.9.1)
- Change version fallback from hardcoded '0.5.0-dev' to 'unknown' in config.py
- Update release.yml to commit all build metadata files (not just VERSION)
- Update BuildMetadata.md documentation to reflect automated versioning
- Add tests for build_date with time format and version unknown fallback

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-11 14:42:37 +00:00
copilot-swe-agent[bot] b79f61e85f feat: integrate Codecov v5 with test results and add comprehensive status badges
- Update Codecov action from v3 to v5 with token authentication
- Add Codecov test results action v1 for test analytics
- Update pytest to generate JUnit XML for test results
- Add comprehensive status badges to README including:
  - Codecov coverage badge
  - CI/CD workflow status badges (Tests, Docker CI, CodeQL)
  - GitHub release, license, and Python version badges
  - Social badges for stars, forks, issues, and PRs

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 17:41:41 +00:00
copilot-swe-agent[bot] b3b74adb45 chore: remove dead files and duplicate workflows
- Delete build-setup.sh (empty shell script)
- Delete docker-build.sh (empty shell script)
- Delete .github/workflows/codeql.yaml (duplicate, keeping codeql.yml)
- Delete issues/ directory (3 markdown files)
- Update SECURITY_AUDIT.md to remove completed task about consolidating CodeQL workflows
- Update docs/archive/ANALYSIS_SUMMARY.md to reference codeql.yml instead of codeql.yaml

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 17:02:11 +00:00
copilot-swe-agent[bot] 05821466a7 docs: enhance copilot-instructions.md with build, test, lint commands and conventions
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:33:11 +00:00
copilot-swe-agent[bot] 0a461343e7 fix: Add service containers and fix test failures
- Add Redis and RabbitMQ services to CI workflow
- Fix Jinja2 template error by passing file=None in error cases
- Fix test expecting dict response format for list_files endpoint
- Fix NOT NULL constraint by providing valid local_filename
- Fix retry-subtask to validate subtask name before checking processed file
- Add mock for process_document in reprocess test

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:14:09 +00:00
copilot-swe-agent[bot] d2d4f113d0 docs: add comprehensive conventional commits and semantic-release guide
- Update CONTRIBUTING.md with full conventional commits specification
- Add versioning and release automation section
- Update AGENTIC_CODING.md with detailed commit format guide
- Update .github/copilot-instructions.md with commit rules for AI agents
- Add examples and version bump explanations
- Document semantic-release automation process

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:55:03 +00:00
copilot-swe-agent[bot] 6437f01434 ci: update Docker image names from document-processor to docuelevate
- Change Docker Hub image name to christianlouis/docuelevate
- Update GHCR references to use docuelevate
- Ensure consistency across all Docker build tags

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:53:10 +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
copilot-swe-agent[bot] 42975f0638 Fix Docker build context to include metadata files
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 20:44:45 +00:00
Christian Krakau-Louis feefae51f1 Merge pull request #113 from christianlouis/copilot/run-security-audit-with-bandit
Security audit: Fix 21 vulnerabilities and integrate Bandit into CI
2026-02-07 21:42:07 +01:00
copilot-swe-agent[bot] 755ef8a2e5 Add Bandit to CI pipeline and update security audit documentation
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 19:38:47 +00:00
copilot-swe-agent[bot] 5f175fabee Add automated build metadata generation system
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 19:37:40 +00:00
copilot-swe-agent[bot] 4a7dcc7fe7 Update actions/upload-artifact from v3 to v4
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 15:26:55 +00:00
Christian Krakau-Louis c84f64a846 Add CodeQL analysis workflow configuration 2026-02-07 15:51:10 +01:00
copilot-swe-agent[bot] b2f105a844 Update CodeQL Action from v2 to v3 to resolve deprecation error
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 14:43:52 +00:00
copilot-swe-agent[bot] b731256fef Add comprehensive Copilot instructions for repository
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-07 13:57:52 +00:00
copilot-swe-agent[bot] f0f48b39a9 Add security fixes, testing infrastructure, and CI/CD improvements
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-06 21:55:19 +00:00
Christian Krakau-Louis 8f311d730a feat: rename project from DocuNova to DocuElevate, update related documentation and templates 2025-04-03 23:25:51 +02:00
Christian Krakau-Louis bcda8e6d11 Update issue templates 2025-04-01 05:38:12 +02:00
Christian Krakau-Louis edee8745a0 Update issue templates 2025-04-01 05:37:52 +02:00
Christian Krakau-Louis 8f96eabb7d feat: update dependabot configuration for pip and npm package ecosystems 2025-03-29 02:31:34 +01:00
Christian Krakau-Louis 447f7deb7e Update docker-ci.yml 2025-03-28 23:56:05 +01:00
Christian Krakau-Louis ef6ea291d5 Update docker-build.yaml 2025-03-28 23:31:49 +01:00
Christian Krakau-Louis a050cb50ce Create docker-ci.yml 2025-03-28 23:19:07 +01:00
Christian Krakau-Louis 60bcf7d964 Update docker-build.yaml 2025-03-28 20:54:04 +01:00
Christian Krakau-Louis 19c763e595 added a favicon, updated the README.md file 2025-03-25 10:48:55 +01:00
Christian Krakau-Louis 26c1dccab1 Update tests.yaml 2025-02-11 23:48:05 +01:00
Christian Krakau-Louis 1df4a91b64 Update tests.yaml 2025-02-11 23:45:26 +01:00
Christian Krakau-Louis e7d82bb1df Update deploy.yaml 2025-02-11 22:31:59 +01:00
Christian Krakau-Louis dda715f7aa Update deploy.yaml 2025-02-11 22:27:52 +01:00
Christian Krakau-Louis 688bb1e30e Create deploy.yaml 2025-02-11 22:10:54 +01:00
Christian Krakau-Louis 4a4c02ce50 Update docker-build.yaml 2025-02-11 22:04:39 +01:00
Christian Krakau-Louis 5c3c8a6e6c Update docker-build.yaml 2025-02-11 20:28:45 +01:00
Christian Krakau-Louis 49f079c8d5 Update docker-build.yaml 2025-02-11 20:05:04 +01:00
Christian Krakau-Louis 841020b595 Update docker-build.yaml 2025-02-11 19:56:13 +01:00
Christian Krakau-Louis c7b02dbe28 Create dependabot.yml 2025-02-11 19:47:49 +01:00