# https://github.com/dorny/paths-filter
python:
  - "src/backend/**"
  - "src/backend/**.py"
  - "src/lfx/**"
  - "pyproject.toml"
  - "uv.lock"
  - "src/backend/base/pyproject.toml"
  - "src/backend/base/uv.lock"
  - "src/lfx/pyproject.toml"
  - "**/python_test.yml"
  - ".github/workflows/ci.yml"
  - "src/lfx/src/lfx/_assets/component_index.json"
components-changes:
  - "src/backend/base/langflow/components/**"
  - "src/lfx/src/lfx/components/**"
  - "src/lfx/src/lfx/_assets/component_index.json"
starter-projects-changes:
  - "src/backend/base/langflow/initial_setup/**"
frontend-tests:
  - "src/frontend/tests/**"
frontend:
  - "src/frontend/**"
  - "**/typescript_test.yml"
  - "**/jest_test.yml"
  - ".github/workflows/ci.yml"
  - "src/lfx/src/lfx/_assets/component_index.json"
docs:
  - "docs/**"
docker:
  - "docker/**"
  - "uv.lock"
  - "pyproject.toml"
  - "src/backend/**"
  - "src/frontend/**"
  - "src/lfx/**"
  - ".dockerignore"
  - ".github/workflows/docker_test.yml"

# Test categories and their associated paths
starter-projects:
  - "src/backend/base/langflow/initial_setup/**"
  - "src/backend/base/langflow/components/**"
  - "src/backend/base/langflow/services/**"
  - "src/backend/base/langflow/custom/**"
  - "src/backend/base/langflow/api/v1/chat.py"
  - "src/frontend/src/pages/MainPage/**"
  - "src/frontend/src/utils/reactflowUtils.ts"
  - "src/frontend/tests/extended/features/**"
  - "src/backend/base/langflow/custom/**"
  - "src/backend/base/langflow/graph/**"

components:
  - "src/frontend/src/components/**"
  - "src/frontend/src/modals/**"
  - "src/frontend/src/pages/FlowPage/**"
  - "src/frontend/src/shared/**"
  - "src/frontend/src/hooks/**"
  - "src/frontend/src/CustomNodes/**"
  - "src/frontend/src/style/**"
  - "src/frontend/src/utils/styleUtils.ts"
  - "src/frontend/tests/core/features/**"
  - "src/frontend/tests/core/integrations/**"
  - "src/frontend/tests/core/regression/**"
  - "src/frontend/tests/extended/integrations/**"
  - "src/frontend/tests/extended/features/**"
  - "src/frontend/tests/extended/regression/**"
  - "src/backend/base/langflow/custom/**"
  - "src/backend/base/langflow/schema/**"
  - "src/backend/base/langflow/graph/**"
  - "src/backend/base/langflow/utils/**"
  - "src/backend/base/langflow/custom/**"
  - "src/backend/base/langflow/components/**"
  - "src/backend/base/langflow/initial_setup/**"
  - "src/backend/base/langflow/serialization/**"
  - "src/lfx/src/lfx/components/**"
  - "src/lfx/src/lfx/custom/**"
  - "src/lfx/src/lfx/schema/**"
  - "src/lfx/src/lfx/graph/**"
  - "src/lfx/src/lfx/_assets/component_index.json"

workspace:
  - "src/backend/base/langflow/inputs/**"
  - "src/lfx/src/lfx/inputs/**"
  - "src/frontend/src/components/core/parameterRenderComponent/**"
  - "src/frontend/src/CustomNodes/**"
  - "src/frontend/src/modals/**"
  - "src/frontend/src/style/**"
  - "src/frontend/src/CustomEdges/**"
  - "src/frontend/src/utils/reactflowUtils.ts"
  - "src/frontend/src/utils/buildUtils.ts"
  - "src/frontend/tests/core/features/**"
  - "src/frontend/tests/core/unit/**"
  - "src/frontend/tests/extended/features/**"
  - "src/frontend/tests/core/regression/**"

api:
  - "src/backend/base/langflow/api/**"
  - "src/frontend/src/controllers/**"
  - "src/frontend/tests/core/features/**"
  - "src/frontend/tests/extended/features/**"
  - "src/frontend/tests/extended/regression/**"

database:
  - "src/backend/base/langflow/services/database/**"
  - "src/backend/base/langflow/alembic/**"
  - "src/frontend/src/controllers/**"
  - "src/frontend/tests/core/features/**"
  - "src/frontend/tests/extended/features/**"

mainpage:
  - "src/frontend/src/pages/MainPage/**"

design-md:
  - "DESIGN.md"
  - ".github/workflows/ci.yml"
