test: prune flaky/failing functional tests and trim CI matrix#1003
Merged
Conversation
Remove utility-model run tests that fail against the test backend, skip flaky index-model, script-connection, and Slack tool tests, drop the MetricFactory-based tests, skip the agent/team_agent suites via directory conftests, and remove the benchmark/pipeline_3.0_v1/pipeline_designer/ pipeline_create steps from the CI matrix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
aix-ahmet
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cleans up functional tests that are currently failing against the test backend and trims the CI matrix accordingly. Changes are grouped as removed, skipped, and CI.
Removed tests
tests/functional/model/run_utility_model_test.py— deleted the six utility-model run tests that fail withResponseStatus.FAILEDinstead ofSUCCESS:test_run_utility_model,test_utility_model_with_decorator,test_utility_model_string_concatenation,test_utility_model_code_as_string,test_utility_model_simple_function,test_utility_model_update. Kepttest_utility_model_statusandtest_model_tool_creation; dropped the now-unusedUtilityModelInput/utility_toolimport.tests/functional/general_assets/asset_functional_test.py:test_list_metricsandtest_run_metric(plus the unusedMetricFactoryimport).tests/functional/pipelines/designer_test.py:test_metric_pipeline(metric node) and its now-unusedDatasetFactoryimport.Skipped tests (
@pytest.mark.skipwith reason)tests/functional/model/run_model_test.py—test_index_model_with_filter(all four embedding-model params: OpenAI Ada 002, Jina Clip v2 Multimodal, Multilingual E5 Large, BGE M3) andtest_index_model_air_with_image(sample image asset 404s during document parsing).tests/functional/model/run_connect_model_test.py—test_run_script_connection_toolandtest_run_script_connection_tool_with_complex_inputs(script tool run returnsFailure).tests/functional/v2/test_agent.py—test_slack_tool_integration_with_agent(backend rejects the Slack send-message payload).tests/functional/agent/andtests/functional/team_agent/— new directory-scopedconftest.pyfiles skip every test collected under each directory (path-scoped so running the whole suite doesn't skip unrelated tests). Tests still show as skipped rather than silently uncollected.CI
.github/workflows/main.yaml— removed thebenchmark,pipeline_3.0_v1,pipeline_designer, andpipeline_createsteps from the test matrix (both thetest-suitelist and theincludeblock).Notes
test_metric_pipeline(a metric-node pipeline test). The benchmark suite uses metrics but is about benchmarking, so it was left as-is (and is dropped from CI anyway).py_compile.🤖 Generated with Claude Code