Skip to content

ci: run extended tests on aggregate and window function changes - #24403

Open
shinzoxD wants to merge 1 commit into
apache:mainfrom
shinzoxD:ci/extended-tests-aggregate-window-paths
Open

ci: run extended tests on aggregate and window function changes#24403
shinzoxD wants to merge 1 commit into
apache:mainfrom
shinzoxD:ci/extended-tests-aggregate-window-paths

Conversation

@shinzoxD

Copy link
Copy Markdown

Which issue does this PR close?

Rationale for this change

The Datafusion extended tests workflow is the only CI job that enables extended_tests, which is what gates aggregate_fuzz and window_fuzz. On pull requests the path filter did not include the two crates those fuzzers actually import:

  • aggregate_fuzz.rs builds queries with min / max / sum / count / median / first_value / last_value from datafusion/functions-aggregate
  • window_fuzz.rs imports datafusion_functions_window and datafusion_functions_aggregate

A PR that only changes those crates (for example #24104, which updated median.rs) therefore skipped the suite built to exercise it. The post-merge run on main still catches failures, but the cost is a red main instead of a red PR.

#24212 measured this as a 4% extra trigger rate on recent PRs (~9.5 minutes wall-clock because the three jobs already run in parallel).

What changes are included in this PR?

Add the two path globs requested in #24212:

- 'datafusion/functions-aggregate/**/*.rs'
- 'datafusion/functions-window/**/*.rs'

This is the small, two-line option from the issue. It does not widen the filter to datasource* / catalog* (those would raise the trigger rate a lot more), and it does not split the path set per job.

Are these changes tested?

This is a GitHub Actions path-filter change, so there is no unit test to run.

Verified:

  • The workflow YAML still parses (yaml.safe_load)
  • datafusion/functions-aggregate/ and datafusion/functions-window/ exist and contain the implementations the fuzzers import
  • The new globs match the existing *.rs style of the other extended-test path filters

Are there any user-facing changes?

No.

The PR path filter for extended.yml omitted functions-aggregate and
functions-window, so PRs such as apache#24104 did not run aggregate_fuzz or
window_fuzz before merge. Add both crates the fuzzers import.

Fixes apache#24212
Copilot AI lite review requested due to automatic review settings August 15, 2026 23:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.18%. Comparing base (e7e037d) to head (a01206b).
⚠️ Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24403      +/-   ##
==========================================
- Coverage   81.18%   81.18%   -0.01%     
==========================================
  Files        1110     1110              
  Lines      388906   388906              
  Branches   388906   388906              
==========================================
- Hits       315733   315730       -3     
- Misses      54576    54579       +3     
  Partials    18597    18597              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Jefffrey

Copy link
Copy Markdown
Contributor

for anyone looking at this PR please see my comment here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: extended tests don't run on changes to functions-aggregate / functions-window, which the aggregate and window fuzzers exercise

4 participants