A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: attempt to resolve Codecov patch coverage issues (#11773)
Trenton H6cf8abc5d312
diff --git a/.codecov.yml b/.codecov.ymlindex b4037d507..e6b4d0347 100644--- a/.codecov.yml+++ b/.codecov.yml@@ -1,6 +1,7 @@+# https://docs.codecov.com/docs/codecovyml-reference#codecovcodecov:require_ci_to_pass: true- # https://docs.codecov.com/docs/components+# https://docs.codecov.com/docs/componentscomponent_management:individual_components:- component_id: backend@@ -9,35 +10,70 @@ component_management:- component_id: frontendpaths:- src-ui/**+# https://docs.codecov.com/docs/flags#step-2-flag-management-in-yaml+# https://docs.codecov.com/docs/carryforward-flagsflags:- backend:+ # Backend Python versions+ backend-python-3.10:paths:- src/**carryforward: true- frontend:+ backend-python-3.11:+ paths:+ - src/**+ carryforward: true+ backend-python-3.12:+ paths:+ - src/**+ carryforward: true+ # Frontend (shards merge into single flag)+ frontend-node-24.x:paths:- src-ui/**carryforward: true-# https://docs.codecov.com/docs/pull-request-commentscomment:layout: "header, diff, components, flags, files"- # https://docs.codecov.com/docs/javascript-bundle-analysisrequire_bundle_changes: truebundle_change_threshold: "50Kb"coverage:+ # https://docs.codecov.com/docs/commit-statusstatus:project:- default:+ backend:+ flags:+ - backend-python-3.10+ - backend-python-3.11+ - backend-python-3.12+ paths:+ - src/**# https://docs.codecov.com/docs/commit-status#thresholdthreshold: 1%+ removed_code_behavior: adjust_base+ frontend:+ flags:+ - frontend-node-24.x+ paths:+ - src-ui/**+ threshold: 1%+ removed_code_behavior: adjust_basepatch:- default:- # For the changed lines only, target 100% covered, but- # allow as low as 75%+ backend:+ flags:+ - backend-python-3.10+ - backend-python-3.11+ - backend-python-3.12+ paths:+ - src/**+ target: 100%+ threshold: 25%+ frontend:+ flags:+ - frontend-node-24.x+ paths:+ - src-ui/**target: 100%threshold: 25%# https://docs.codecov.com/docs/javascript-bundle-analysisbundle_analysis:- # Fail if the bundle size increases by more than 1MBwarning_threshold: "1MB"status: truediff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.ymlindex 25d19f73a..98c10396c 100644--- a/.github/workflows/ci-backend.yml+++ b/.github/workflows/ci-backend.yml@@ -88,13 +88,13 @@ jobs:if: always()uses: codecov/codecov-action@v5with:- flags: backend,backend-python-${{ matrix.python-version }}+ flags: backend-python-${{ matrix.python-version }}files: junit.xmlreport_type: test_results- name: Upload coverage to Codecovuses: codecov/codecov-action@v5with:- flags: backend,backend-python-${{ matrix.python-version }}+ flags: backend-python-${{ matrix.python-version }}files: coverage.xmlreport_type: coverage- name: Stop containersdiff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 907d36abf..d800fe827 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -109,13 +109,13 @@ jobs:if: always()uses: codecov/codecov-action@v5with:- flags: frontend,frontend-node-${{ matrix.node-version }}+ flags: frontend-node-${{ matrix.node-version }}directory: src-ui/report_type: test_results- name: Upload coverage to Codecovuses: codecov/codecov-action@v5with:- flags: frontend,frontend-node-${{ matrix.node-version }}+ flags: frontend-node-${{ matrix.node-version }}directory: src-ui/coverage/e2e-tests:name: "E2E Tests (${{ matrix.shard-index }}/${{ matrix.shard-count }})"