feat: generate custom coverage config to omit legacy and external compoents (#9221)

* feat: generate custom coverage config to omit legacy and external components

* lint

* fix components config

* also remove deactivated componenets

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Eric Pinzur 2025-07-30 06:46:19 +02:00 • committed by GitHub
commit da4208dcc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 232 additions and 2 deletions

View file

@ -66,6 +66,22 @@ flags:
- src/frontend/
carryforward: true # Preserve coverage data across builds if missing
# Define coverage components for granular reporting
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project # in this case every component that doens't have a status defined will have a project type one
target: auto
branches:
- "!main"
individual_components:
- component_id: backend_components
name: "Backend Components"
paths:
- src/backend/base/langflow/components/**
# Note: Many components excluded by .coveragerc (bundled + legacy)
# This tracks coverage of remaining "core" components only
# Files/directories to exclude from coverage calculations
ignore:
# Database migrations - infrastructure code, not business logic