Skip to content

Fix empty task in worker subquery with reference or schema sharded#8519

Merged
ihalatci merged 6 commits into
release-12.1from
reelase-12.1-ihalatci
Jun 30, 2026
Merged

Fix empty task in worker subquery with reference or schema sharded#8519
ihalatci merged 6 commits into
release-12.1from
reelase-12.1-ihalatci

Conversation

@ihalatci

@ihalatci ihalatci commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

DESCRIPTION: fixes incorrect ignoring of reference or schema sharded tables in worker subquery task construction, when there are no distributed tables involved.

Fixes issue #8243, #8453

(cherry picked from commit b22e977)

tables

DESCRIPTION: fixes incorrect ignoring of reference or schema sharded
tables in worker subquery task construction, when there are no
distributed tables involved.

Fixes issue #8243

(cherry picked from commit b22e977)
@codecov

codecov Bot commented Mar 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.66%. Comparing base (377c1f2) to head (8abe390).
⚠️ Report is 2 commits behind head on release-12.1.

Additional details and impacted files
@@              Coverage Diff              @@
##           release-12.1    #8519   +/-   ##
=============================================
  Coverage         89.65%   89.66%           
=============================================
  Files               276      276           
  Lines             59790    59822   +32     
  Branches           7471     7476    +5     
=============================================
+ Hits              53605    53639   +34     
+ Misses             4041     4039    -2     
  Partials           2144     2144           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

ihalatci and others added 4 commits March 14, 2026 10:55
The backported issue_8243 test failed check-multi on release-12.1 for two
reasons:

1. Test 6 EXPLAIN output was lifted from main and contained planner
   decorations release-12.1 does not emit (a Memoize node and
   btint4cmp(hashint8(...)) hash-range pruning predicates). Scope Test 6
   with `SET enable_memoize TO off;` / `RESET enable_memoize;` and
   regenerate expected/issue_8243.out so it matches the release-12.1
   planner. The real assertions (3 tasks / 2 tasks) are unchanged.

2. multi_schedule referenced a non-existent test `issue_7891` (no
   sql/expected files), which aborted pg_regress. Remove the dangling
   reference; keep issue_8243.

Verified locally: check-minimal EXTRA_TESTS=issue_8243 -> 8/8 PASS,
no regression.diffs (PG 16.14).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ihalatci ihalatci added this to the 12.1.13 milestone Jun 29, 2026
@ihalatci ihalatci closed this Jun 30, 2026
@ihalatci ihalatci reopened this Jun 30, 2026
ihalatci added a commit that referenced this pull request Jun 30, 2026
…1) (#8629)

## Problem
The 1ES self-hosted pool (`1es-gha-citusdata-pool`) is no longer
dispatching jobs, so the **required** `check-arbitrary-configs` jobs sit
`QUEUED` indefinitely. This blocks **every** open release-12.1 PR
(#8519, #8328, #8306, #8626, #8627) from merging despite all other
required checks passing.

## Fix
Flip the `test-arbitrary-configs` job's `runs-on` from the dead
self-hosted 1ES pool to `ubuntu-latest` — a one-line backport of the
config already shipping on `main`.

## Why it is safe
- `main` already runs this exact job/suite/container on `ubuntu-latest`.
- Required-check **names** (`PG14 - check-arbitrary-configs-0`, ...)
derive from the job `name:`, not `runs-on`, so branch protection is
unaffected.
- AC was the **only** job still pinned to the self-hosted pool;
everything else already runs github-hosted.

## Rollout
Merge this first, then "Update branch" on the 5 open PRs so they inherit
the fix and their AC checks run on github-hosted runners.

Unblocks the release-12.1 serial-merge queue.

Co-authored-by: Ibrahim Halatci <ihalatci@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@ihalatci ihalatci merged commit 7f99785 into release-12.1 Jun 30, 2026
211 of 212 checks passed
@ihalatci ihalatci deleted the reelase-12.1-ihalatci branch June 30, 2026 12:25
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