fix: Update path filters, test tags and backend processing (#6613)
* ✨ (tests): update tag value from "@starter-project" to "@starter-projects" for consistency across test files. * 📝 (changes-filter.yaml): add new path "src/backend/base/langflow/custom/**" to starter-projects section ♻️ (changes-filter.yaml): remove path "src/backend/base/langflow/components/**" from components section and add it to starter-projects section ♻️ (changes-filter.yaml): add new path "src/backend/base/langflow/custom/**" to components section * 🐛 (component.py): fix a bug where the status was not being returned when there is only one output in the component * 🔧 (ci.yml): Expand path filter outputs for more comprehensive CI testing * fix docstring placement * ✨ (group.spec.ts): update click event modifiers to use "ControlOrMeta" for better cross-platform compatibility * ✨ (changes-filter.yaml): add new directory "src/backend/base/langflow/graph/" to starter-projects for processing in the build pipeline. * 🔄 Refactor graph data structures from sets to lists for performance and compatibility * 🔧 Optimize RunnableVerticesManager predecessor checks and type hints --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
0fbe1b0d09
commit
0a631a68c2
30 changed files with 76 additions and 56 deletions
5
.github/changes-filter.yaml
vendored
5
.github/changes-filter.yaml
vendored
|
|
@ -28,6 +28,8 @@ starter-projects:
|
|||
- "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/**"
|
||||
|
|
@ -38,7 +40,6 @@ components:
|
|||
- "src/frontend/src/CustomNodes/**"
|
||||
- "src/frontend/src/style/**"
|
||||
- "src/frontend/src/utils/styleUtils.ts"
|
||||
- "src/backend/base/langflow/components/**"
|
||||
- "src/frontend/tests/core/features/**"
|
||||
- "src/frontend/tests/core/integrations/**"
|
||||
- "src/frontend/tests/core/regression/**"
|
||||
|
|
@ -49,6 +50,8 @@ components:
|
|||
- "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/**"
|
||||
|
||||
workspace:
|
||||
- "src/backend/base/langflow/inputs/**"
|
||||
|
|
|
|||
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -101,6 +101,12 @@ jobs:
|
|||
frontend-tests: ${{ steps.filter.outputs.frontend-tests }}
|
||||
components-changes: ${{ steps.filter.outputs.components-changes }}
|
||||
starter-projects-changes: ${{ steps.filter.outputs.starter-projects-changes }}
|
||||
starter-projects: ${{ steps.filter.outputs.starter-projects }}
|
||||
components: ${{ steps.filter.outputs.components }}
|
||||
workspace: ${{ steps.filter.outputs.workspace }}
|
||||
api: ${{ steps.filter.outputs.api }}
|
||||
database: ${{ steps.filter.outputs.database }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -119,11 +125,10 @@ jobs:
|
|||
uses: ./.github/workflows/python_test.yml
|
||||
with:
|
||||
python-versions: ${{ inputs.python-versions || '["3.10"]' }}
|
||||
|
||||
test-frontend:
|
||||
needs: path-filter
|
||||
name: Run Frontend Tests
|
||||
if: ${{ needs.path-filter.outputs.frontend == 'true' || needs.path-filter.outputs.frontend-tests == 'true' || needs.path-filter.outputs.components-changes == 'true' || needs.path-filter.outputs.starter-projects-changes == 'true' }}
|
||||
if: ${{ needs.path-filter.outputs.frontend == 'true' || needs.path-filter.outputs.frontend-tests == 'true' || needs.path-filter.outputs.components-changes == 'true' || needs.path-filter.outputs.starter-projects-changes == 'true' || needs.path-filter.outputs.starter-projects == 'true' || needs.path-filter.outputs.components == 'true' || needs.path-filter.outputs.workspace == 'true' || needs.path-filter.outputs.api == 'true' || needs.path-filter.outputs.database == 'true' }}
|
||||
uses: ./.github/workflows/typescript_test.yml
|
||||
with:
|
||||
tests_folder: ${{ inputs.frontend-tests-folder }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue