mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 17:06:46 +08:00
* feat: add script to verify frontend file coverage against changes-filter.yaml * feat: add validation step for filter coverage in CI workflow * fix: update CI workflow to improve filter coverage validation - Enhanced the validation step for filter coverage by fetching the base reference dynamically based on the event type. - Adjusted the diff command to compare against the correct base reference, ensuring accurate coverage checks. - Minor formatting improvements for clarity in the CI configuration. * fix: update CI workflow to allow continued execution on filter coverage validation errors - Set `continue-on-error` to true for the filter coverage validation step, ensuring that the CI process continues even if this step fails. - Minor formatting adjustments for improved readability in the CI configuration. * refactor: enhance filter pattern loading and matching in check_changes_filter.py - Improved the load_filter_patterns function to validate and normalize the YAML structure, ensuring it returns a properly formatted dictionary. - Added error handling for empty or invalid filter files, including type checks for keys and values. - Enhanced the matches_pattern function to support brace expansion and improved matching logic using pathlib and fnmatch for better pattern handling. * chore: update CI workflow to set up Python 3.12 and improve filter coverage validation - Added a step to set up Python 3.12 in the CI workflow. - Installed necessary dependencies for coverage checks. - Enhanced the filter coverage validation step by dynamically fetching the base commit and reference, ensuring accurate comparisons for coverage checks.