Skip to content

Move non-Var GROUP BY coverage out of N-1 schedules - #8867

Merged
Colm (colm-mchugh) merged 1 commit into
mainfrom
fix-8865-n1-tests
Sep 24, 2026
Merged

Colm (colm-mchugh) merged 1 commit into
mainfrom
fix-8865-n1-tests

Conversation

@colm-mchugh

Copy link
Copy Markdown
Contributor

The regress assertions in #8527 require coordinator planner behavior introduced in Citus 14.3, which is unavailable when N-1 tests load the 14.2 library.

Move the coverage into a standalone test under the current-library-only create-Citus schedule while preserving the existing aggregate coverage. This follows a similar pattern to #8804, which put extract_deparse outside the 14.2 N-1 mixed-library matrix.

@codecov

codecov Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.76%. Comparing base (716888f) to head (9535eca).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8867   +/-   ##
=======================================
  Coverage   88.75%   88.76%           
=======================================
  Files         290      290           
  Lines       65101    65101           
  Branches     8219     8219           
=======================================
+ Hits        57778    57784    +6     
+ Misses       4949     4943    -6     
  Partials     2374     2374           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 review overview

🟢 Approval recommended

The coverage is preserved while correctly excluded from incompatible N-1 runs.

Review effort: Balanced
Findings: None

What changed in this PR

Moves Citus 14.3-specific non-Var GROUP BY regression coverage outside the N-1 test matrix.

Changes:

  • Extracts the assertions into a standalone regression test.
  • Runs the test only in the current-library create-Citus schedule.
  • Removes the extracted cases from aggregate_support.
File Description
src/​test/​regress/​sql/​non_var_group_by.sql Adds the standalone test.
src/​test/​regress/​expected/​non_var_group_by.out Adds expected results.
src/​test/​regress/​sql/​aggregate_support.sql Removes relocated assertions.
src/​test/​regress/​expected/​aggregate_support.out Removes relocated output.
src/​test/​regress/​multi_1_create_citus_schedule Schedules current-library-only coverage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

The regress assertions in #8527 require coordinator planner behavior
introduced in Citus 14.3, which is unavailable when N-1 tests load the
14.2 library.

Move the coverage into a standalone test under the current-library-only
create-Citus schedule while preserving the existing aggregate coverage.
This follows a similar pattern to #8804, which put `extract_deparse`
outside the 14.2 N-1 mixed-library matrix.
@colm-mchugh
Colm (colm-mchugh) merged commit 33c820a into main Sep 24, 2026
297 of 301 checks passed
@colm-mchugh
Colm (colm-mchugh) deleted the fix-8865-n1-tests branch September 24, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants