langflow/.github/workflows
Rodrigo Nader 44254206b8
feat: enhance APIRequestComponent with new output methods (#7148)
*  (Research Translation Loop.spec.ts): Increase timeout value by a factor of 3 for better reliability in waiting for element to appear
 (chatInputOutputUser-shard-1.spec.ts): Increase timeout value by a factor of 3 for better reliability in waiting for element to appear

* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent exceeding the limit and optimize test execution.

* 🐛 (chatInputOutputUser-shard-1.spec.ts): increase timeout for waiting for "built successfully" text to improve test reliability

* ⬆️ (typescript_test.yml): increase maximum shard count to 15 for better test distribution
♻️ (Portfolio Website Code Generator.spec.ts): refactor test assertions to improve readability and maintainability

* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent exceeding the limit of parallel test executions

* 🔧 (typescript_test.yml): Increase maximum shard count to 15 for better test distribution efficiency
🐛 (chatInputOutputUser-shard-1.spec.ts): Update timeout values for page element waits to prevent premature failures due to timing issues

* templates adjustments

* travel planning fix

* Update Travel Planning Agents.json

* fix templates

* ♻️ (Youtube Analysis.spec.ts): remove unused imports and cleanup code for better readability and maintainability

* json fix

* fix: update simple agent template (#7081)

* Update Simple Agent.json

* Update Simple Agent.json

* feat: update search agent template agent component (#7082)

* update agent component with the latest changes

* Update Search agent.json

* Update Search agent.json

* feat: enhance APIRequestComponent with new output methods

- Refactored output methods to include `as_data` and `as_message` for better data handling.
- Updated existing output method from `make_requests` to `as_data` for consistency.
- Improved metadata handling by merging dictionary results and storing non-dict results as 'data'.
- Added detailed docstrings for new methods to clarify their functionality.

* added the updated test class

* [autofix.ci] apply automated fixes

* 📝 (ContentBlockDisplay.tsx): wrap headerIcon element in a span with data-testid attribute for better accessibility
📝 (DurationDisplay.tsx): add data-testid attribute to the duration display element for testing purposes
📝 (Simple Agent.spec.ts, Social Media Agent.spec.ts, generalBugs-shard-9.spec.ts): update test assertions to improve readability and accuracy
📝 (chatInputOutput.spec.ts): add a skip test annotation and a todo comment for further investigation

*  (typescript_test.yml): Add support for a new development suite in the test workflow
 (frontend): Add support for a new development suite in multiple test files

* 🔧 (.github/workflows/typescript_test.yml): ensure that the SUITES variable is valid JSON format to prevent errors and improve reliability

*  (inputFileComponent/index.tsx): Refactor InputFileComponent to wrap Button component in a div for better structure and readability
🔧 (Vector Store.spec.ts): Add initialGPTsetup function to set up GPT environment variables for tests
🔧 (Vector Store.spec.ts): Refactor test to use initialGPTsetup function and improve readability
🔧 (add-new-api-keys.ts): Refactor addNewApiKeys function to handle multiple openai_api_key inputs
🔧 (remove-old-api-keys.ts): Refactor removeOldApiKeys function to click on the correct remove-icon-badge element

*  Add support for running tests in serial mode with a delay between each test
🔧 Configure tests to run with a 3-second delay between each test run
🔧 Add a 7-second delay before starting tests in userSettings.spec.ts
🔧 Add a 3-second delay before the second event delivery mode test in withEventDeliveryModes.ts

* 📝 (userSettings.spec.ts): remove unnecessary console log message to improve test readability and maintainability

* 📝 (deploy-dropdown.tsx): Add data-testid attribute to shareable-playground element
 (index.tsx): Add useGetTypes hook to fetch types data when component is fetched
🔧 (publish-flow.spec.ts): Increase timeout for page.waitForSelector and page.waitForTimeout
🔧 (Vector Store.spec.ts): Refactor code to wait for dropdown to appear and be visible
🔧 (files-page.spec.ts): Refactor tests to run serially with a delay between each test and add comments to improve readability

*  Add useGetTypes hook to fetch types data and support caching with checkCache option
🔧 Refactor useGetTypes hook to accept options object with checkCache property
🔧 Refactor useGetTypes hook to conditionally return cached data if available
🔧 Refactor useGetTypes hook to fetch types data with force_refresh query parameter
🔧 Refactor useGetTypes hook to handle errors and set types data
🔧 Refactor useGetTypes hook to improve query function and options handling
🔧 Refactor useGetTypes hook to optimize query function and options handling
🔧 Refactor useGetTypes hook to improve caching logic and error handling
🔧 Refactor useGetTypes hook to enhance caching mechanism and error handling
🔧 Refactor useGetTypes hook to improve data fetching and error handling
🔧 Refactor useGetTypes hook to optimize data fetching and error handling

*  (Vector Store.spec.ts): Remove unnecessary loadingOptions check and expectation
♻️ (withEventDeliveryModes.ts): Refactor withEventDeliveryModes function to accept a timeout parameter for better flexibility

* ️ (Vector Store.spec.ts): increase timeout for page.waitForTimeout from 2000ms to 10000ms to improve test stability and reliability

* update pokedex agent template

*  (publish-flow.spec.ts): Remove unnecessary development tag from test description
 (Simple Agent.spec.ts, Social Media Agent.spec.ts): Remove unnecessary development tag from test description
 (Vector Store.spec.ts): Change withEventDeliveryModes to test for better test organization
🔧 (chatInputOutput.spec.ts): Refactor test description and remove unnecessary development tag
 (files-page.spec.ts): Remove unnecessary development tag from test descriptions
 (userSettings.spec.ts): Remove unnecessary development tag from test description

* formatting json

*  (Vector Store.spec.ts): Add new integration test withEventDeliveryModes for Vector Store RAG
🔧 (Vector Store.spec.ts): Update timeout values in test functions to improve test performance and reliability

* 📝 (Text Sentiment Analysis.json): Update JSON file to have consistent formatting and structure for output_types and inputTypes arrays
📝 (Text Sentiment Analysis.spec.ts): Refactor integration test for Text Sentiment Analysis to improve readability and maintainability

*  (PageComponent/index.tsx): Update minZoom and maxZoom values for better user experience
🐛 (upload-file.ts): Fix missing await keyword before clicking on an element

* 🐛 (PageComponent/index.tsx): fix minZoom value to 0.2 for consistency with fitViewOptions and improve user experience

*  (dropdownComponent.spec.ts): add delay before checking dropdown value to ensure it has updated properly
 (dropdownComponent.spec.ts): add delay before interacting with more options modal to ensure it has loaded
 (floatComponent.spec.ts): add delay after clicking add button to wait for API request to complete

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-20 22:46:19 +00:00
..
matchers Update linting workflows for frontend and Python code (#2171) 2024-06-14 06:27:48 -07:00
add-labels.yml ci: add issues permission to Manage Labels workflow (#5706) 2025-01-15 16:34:22 -08:00
auto-update.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
ci.yml fix: Enhance JSON filtering with special cases, update CI workflows, and improve frontend components and tests (nightly fix) (#7110) 2025-03-17 17:06:03 -03:00
codeflash.yml feat: Add support for Python 3.13 (#6685) 2025-02-20 18:13:21 +00:00
codeql.yml Bump github/codeql-action from 2 to 3 (#1420) 2024-02-15 10:49:28 -03:00
codspeed.yml feat: Fix Python versions used in CI (#6725) 2025-02-20 11:15:05 +00:00
conventional-labels.yml build(deps):(deps): bump Namchee/conventional-pr from 0.15.5 to 0.15.6 (#6059) 2025-02-03 15:21:04 +00:00
create-release.yml ci: Add GitHub Actions workflow for creating releases (#4587) 2024-11-13 16:11:30 -08:00
deploy-docs-draft.yml docs: opt-in draft docs builds to stale cleanup (#7117) 2025-03-18 13:41:34 +00:00
deploy_gh-pages.yml ci: change docs build to use yarn (#6700) 2025-02-19 14:23:35 +00:00
docker-build.yml chore: Update Docker build workflow for reliability improvements (#6760) 2025-02-21 18:33:50 +00:00
docker_test.yml fix: docker test trigger for poetry is wrong now is uv (#6743) 2025-03-13 00:33:41 +00:00
docs-update-openapi.yml docs: Add workflow to automate updates to docs/openapi.json (#7072) 2025-03-13 21:20:31 +00:00
docs_test.yml chore: use yarn only (#6141) 2025-02-06 17:44:46 +00:00
fetch_docs_notion.yml chore: use yarn only (#6141) 2025-02-06 17:44:46 +00:00
integration_tests.yml feat: Add support for Python 3.13 (#6685) 2025-02-20 18:13:21 +00:00
js_autofix.yml build(deps):(deps): bump autofix-ci/action from ff86a557419858bb967097bfc916833f5647fa8c to 551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef (#6058) 2025-02-03 15:21:10 +00:00
lint-js.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
lint-py.yml feat: Use pyproject standardized dependency-groups (#6689) 2025-02-20 20:19:45 +00:00
nightly_build.yml feat: Use pyproject standardized dependency-groups (#6689) 2025-02-20 20:19:45 +00:00
py_autofix.yml build: Bump ruff version to 0.9.7 (#6614) 2025-02-26 20:36:36 +00:00
python_test.yml ci: Add pytest-rerunfailures for improved test reliability (#6852) 2025-02-26 19:34:55 +00:00
release.yml feat: Use pyproject standardized dependency-groups (#6689) 2025-02-20 20:19:45 +00:00
release_nightly.yml feat: Use pyproject standardized dependency-groups (#6689) 2025-02-20 20:19:45 +00:00
store_pytest_durations.yml feat: Use pyproject standardized dependency-groups (#6689) 2025-02-20 20:19:45 +00:00
style-check-py.yml build: Bump ruff version to 0.9.7 (#6614) 2025-02-26 20:36:36 +00:00
typescript_test.yml feat: enhance APIRequestComponent with new output methods (#7148) 2025-03-20 22:46:19 +00:00