Repository navigation
Allow patched dependency versions on the pinned Citus main runtime - #6
Merged
ibrahim halatci (ihalatci) merged 3 commits intoNov 21, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Hi! I'm the It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃 |
ibrahim halatci (ihalatci)
changed the base branch from
automation/relax-msgpack-tornado-caps
to
main
November 13, 2026 11:19
This was referenced Nov 13, 2026
Keep resolved dependency versions unchanged while matching the four widened project requirements. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Resolve only Tornado and synchronize its requirement metadata. Match the already-merged Bookworm CI baseline without changing runtime source. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
ibrahim halatci (ihalatci)
added a commit
to citusdata/citus
that referenced
this pull request
Dec 1, 2026
<!-- copilot-assessment:v1 --> ### Agent assessment Self-reported assessment, not an independent review. Assessed revision: `239096b25bfa1f4685caf749488cc9e65157d30e` | Dimension | Assessment | Rationale | |---|---|---| | Change confidence | 7/10 | ↑ Final delta is one image-suffix line; exact stable publication and all 13 manifests verified.<br>↑ Five stable runtime build logs confirm the exact fork and Tornado 6.6.1 installation; packaging and quality passed.<br>↑ One authorized failed-only rerun passed on unchanged head; all current PR checks success/skipped.<br>↓ Initial PG19 isolation 360-second cancellation remains unexplained; no post-publication container execution; known q13/q70 correction remains outside this PR. | | Diagnosis confidence | 9/10 | ↑ Saved compatibility fixtures reproduced failures before normalization corrections.<br>↑ Query-local bitmap collision independently reproduced on PG17/18/19 and corrected by the separate #8842 patch.<br>↓ No retained discriminating pre-fix FULL-regression reproduction; initial isolation timeout is not diagnosed. | | Evidence fit | 9/10 | ↑ Original saved workloads and raw aggregate checks directly cover the reported wrong results.<br>↓ Current-head deterministic fixture matrix has not been rerun; random CI does not clear q13/q70. | <!-- /copilot-assessment --> DESCRIPTION: Updates PostgreSQL versions and regression-test dependencies. > **Current head `239096b25bfa1f4685caf749488cc9e65157d30e`: stable-image consumer CI passed on attempt 2; planner correctness hold remains.** The approved final delta changes only `-dev-5f24c0d` to verified **`-v68a2654`**. [Build & Test attempt 2](https://github.com/citusdata/citus/actions/runs/45368049597/attempts/2) passed after exactly one authorized failed-jobs-only rerun on this unchanged head. Current PR checks are 161 success/two skipped, with no failed or pending checks. [Packaging](https://github.com/citusdata/citus/actions/runs/45368049598) and [code quality](https://github.com/citusdata/citus/actions/runs/45368042372) passed on this head. Attempt 1's PG19 isolation cancellation after 360 seconds remains preserved and unexplained; retry success does not establish harmlessness. No Citus merge or tags are included. Updates main's supported PostgreSQL pins to **17.12, 18.7, and 19.0 GA**, retaining PostgreSQL 18.7 for SQL snapshots. Build/test and cassert version/upgrade matrices agree; the bounded ARM64 matrix remains PG17/18. ### Current paired dependencies - Image PR [citusdata/the-process#267](citusdata/the-process#267) is **merged** at `68a2654184b1eb8a8ebe4b4b231108676e31de42`. Exact stable suffix **`-v68a2654`** is consumed on this head. [Exact-merge stable publication](https://github.com/citusdata/the-process/actions/runs/45366269577) passed all 12 stable build jobs plus the matrix; dev jobs skipped. All 13 required manifests and registry digests were independently checked. - All five stable runtime-image build logs confirm resolved fork `5cd63296e7dab274e275553df76e9699ea220032` and installed Tornado 6.6.1. This is build-installation provenance, not post-publication container execution; no fresh stable-container runtime test was performed. - Image requirements derive from dependency-only Citus source `23c7ed5e06c084cc6cc1cd03f03e5ac579ec4c44`: three base exporters use `pipenv requirements`; stylechecker uses `pipenv requirements --dev-only`. - [citusdata/mitmproxy#6](citusdata/mitmproxy#6) is merged. Its exact head `5cd63296e7dab274e275553df76e9699ea220032` is pinned, with **Tornado 6.6.1**. Regression Pipfile/lock are the source of truth and are mirrored into the devcontainer. - Unrelated lock entries, versions, groups and markers were preserved. Standard Pipenv resolution generated target hashes. Historical Python 3.12.16 `pipenv verify`, `pipenv sync --dev`, `pip check`, installed Git provenance, certificate generation and actual mitmdump listener startup passed. Other resolved targets remain pyasn1 0.6.5, filelock 4.2.1, certifi 2026.10.19, Werkzeug 3.1.9, Black 26.10.1, Brotli 1.2.1, msgpack 1.2.3 and urwid 4.0.7. Devcontainer Black requirements include pytokens. ### Known q13/q70 wrong results: separate correction pending The query-local relation-index collision is recorded in [#8838](#8838), with existing fix [#8842](#8842). That PR remains open; its publication/update is being handled separately. The validated local correction has **not been integrated into this PR**. No duplicate issue or new fix PR is needed. Random query-generator success does not clear these known failures. | Exact saved fixture | Unfixed control on PG17.12/18.7/19.0 | Locally corrected result on all three | | --- | --- | --- | | q13, artifact `14558684680` | count 0 / avg NULL | count 6 / avg 0.50000000000000000000 | | q70, original artifact `14038580795` | count 0 / avg NULL | count 26 / avg 18.3333333333333333 | These historical controls and corrected runs start from normalization base `ecec459d9a9f472268255d426c1998fe5d2d95ef`, not the current rebased head. Six complete corrected comparisons passed, requiring 250 unique markers on each side and exactly one error-free target with the correct aggregate. Only the two existing unsupported-query error classes were excluded symmetrically; neither target was excluded. All six unfixed controls returned the wrong target. Local correction `5617d541c1c79b004d932b0249377e44efac2d5f` changes only `multi_physical_planner.c` and existing `recurring_join_pushdown` SQL/output: resolve preserved-side relids through each restriction's own PlannerInfo rather than a bitmap pooled across query roots. The focused negative control changes 57/54 to 0/0 without the C fix and passes when restored. Existing normalization is preserved. ### Compatibility corrections The branch retains nullable catalog/visibility predicate handling, PG19 base-security-qual handling, transformed-relation evidence before original nullable-RTE conversion, eliminated-join normalization and necessary PostgreSQL expected-output adaptations. The modifying-CTE/surviving-distributed-relation review finding is addressed by `48be61fc`: clear the empty subquery RTE's inheritance flag and normalize after PostgreSQL planning without those exclusions. `local_dist_join` covers both cases, including DELETE CTE side effects. The review thread was resolved after checking the published implementation and regressions. Earlier exact q33/q123/q88/q208 fixtures passed twelve complete replay combinations on PG17.12/18.7/19rc2 with unfiltered target checks: 27/78.1481481481481481, 2/NULL, 20/59.5 and 2/1.5 respectively. The q88 coordinator setup and regular-user/MX assertion passed 18 role/node/version contexts. These do not substitute for q13/q70 coverage. No retained pre-`ecec459d` failing reproduction establishes the separate FULL-normalization change's necessity. ### Validation **Current stable-suffix head:** [45368049597 attempt 2](https://github.com/citusdata/citus/actions/runs/45368049597/attempts/2) **passed** on unchanged `239096b25` after exactly one authorized failed-jobs-only rerun. Current PR checks show 161 success/two skipped and no failures or pending checks. [Packaging](https://github.com/citusdata/citus/actions/runs/45368049598) and [quality](https://github.com/citusdata/citus/actions/runs/45368042372) passed. No code changes, push, further retries or duplicate dispatch were performed for the rerun. **Preserved first attempt:** [45368049597 attempt 1](https://github.com/citusdata/citus/actions/runs/45368049597/attempts/1) failed with 134 successful jobs, two failed and two skips. [PG19 isolation job 138355986485](https://github.com/citusdata/citus/actions/runs/45368049597/job/138355986485) failed 1/99 tests: `isolation_create_distributed_table_concurrently`, canceling `s1-create-concurrently-table_1` after 360 seconds and returning `ERROR: canceling statement due to user request`. The aggregate CI failure was downstream. Its original job log/diff is retained. The cancellation matches a historical GA signature, but neither that similarity nor retry success establishes a harmless or pre-existing cause. `git diff --check` passed for the one-line suffix-only delta. **Previous dev head `aebfd720`:** [45365350214](https://github.com/citusdata/citus/actions/runs/45365350214) completed **SUCCESS**. [Packaging](https://github.com/citusdata/citus/actions/runs/45365350022), [quality](https://github.com/citusdata/citus/actions/runs/45365344978), and [devcontainer](https://github.com/citusdata/citus/actions/runs/45365343083) passed. Those checks are historical, not stable-head evidence. **Historical head `e98c4a2b`:** [45005547966](https://github.com/citusdata/citus/actions/runs/45005547966) passed 136 jobs with two benchmark skips, including aggregate CI, style, snapshots, PG17/18/19 builds/regressions/isolation/vanilla, upgrades, arbitrary configurations, failure/enterprise-failure, pytest and query generator. [Packaging](https://github.com/citusdata/citus/actions/runs/45005548022) and [quality](https://github.com/citusdata/citus/actions/runs/45005545199) also passed. These results do not establish current rebased-head success. For the **local separate q13/q70 correction**, each actual PG17.12/18.7/19.0: - `CFLAGS=-Werror ./configure --with-security-flags`, `make -s -j4`, `make -s install-all`: passed. - Exact retained 250-query workloads in one backend per fixture, followed by in-place undistribution and identical local queries: six corrected comparisons/raw target checks passed; six unfixed controls failed. - `make -s -C src/test/regress check-custom-schedule SCHEDULE=minimal_schedule WORKERCOUNT=2 EXTRA_TESTS="recurring_join_pushdown citus_depended_object function_propagation local_dist_join_mixed local_dist_join_load local_dist_join pg18"`: 13/13 passed each. - `citus_indent src/backend/distributed/planner/multi_physical_planner.c --check --quiet`: passed with tools 0.8.33 / uncrustify 0.82.0. Older `05c3b54b` [44999588017](https://github.com/citusdata/citus/actions/runs/44999588017) and RC2 [43424196914](https://github.com/citusdata/citus/actions/runs/43424196914) greens are historical. GA `36a1c1a5b`/`-dev-48cf5f5` [44575297529](https://github.com/citusdata/citus/actions/runs/44575297529) initially timed out in concurrent-distribution isolation; the authorized failed-only second attempt and unchanged local replay passed, without establishing the timeout's root cause. The approved **stable-image suffix promotion** is published and consumer CI passed on attempt 2; the separate planner correction remains outstanding. No Citus merge, tags, release-branch suffix changes, or planner-fix publication are included. --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com> Co-authored-by: Colm McHugh <colm.mchugh@gmail.com> Co-authored-by: Ibrahim Halatci <ihalatci@microsoft.com>
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.
Description
Permit patched dependencies for the Citus main line without changing Python >=3.12, runtime source, lower bounds, or unrelated dependency resolutions:
Current head:
5cd63296e7dab274e275553df76e9699ea220032, appended to2f2b5de5baceb161326503dd1602940530032868. The original cap commit0dac7e3f656baf0ac5b9bfcb1c13aa01cad2faa5is based directly on the existing Citus runtime pina16444362cc0393ccf7329f50fc909b711729de7; published history is unchanged. #5 is merged and this PR targetsmain.The fork's
uv.locknow actually resolves Tornado 6.6.1 (previously 6.5.4), not just a relaxed cap. Root metadata matchespyproject.toml. Programmatic comparison confirmed changes only to the Tornado package record and mitmproxy root requirements: every unrelated version and artifact hash is preserved. The other three dependency changes remain upper-bound relaxations, separately validated at their exact target versions.Actual CI repair and outcome: the initial stale-lock error was fixed in
2f2b5de5; its PR CI passed. Its branch-push CI failed only in both Debian 11 Linux builds (HTTP 404 downloading Bullseye packages before Python), with the aggregate check reporting those failures. This follow-up changes only those two build-container entries to Debian 12, matching the already-merged #5/main workflow. No checks, repository verification, or failure gates were suppressed.All fresh runs at
5cd63296are completed successfully:Readback:
gh run view 44903541045 --repo citusdata/mitmproxy --json status,conclusion,jobs,gh run view 44903545431 --repo citusdata/mitmproxy --json status,conclusion,jobs, andgh run view 44903544897 --repo citusdata/mitmproxy --json status,conclusioneach confirmed completed/success.Latest validation on WSL Linux, Python 3.12.12, from
/home/ihalatci/Development/mitmproxy-dependency-bounds/main:uv lock --python /home/ihalatci/.local/bin/python3.12 --upgrade-package tornado==6.6.1- passed; only Tornado resolution upgraded.uv lock --check --python /home/ihalatci/.local/bin/python3.12- passed.UV_PROJECT_ENVIRONMENT=/home/ihalatci/Development/mitmproxy-dependency-bounds/env-ci-lock uv run --locked --python /home/ihalatci/.local/bin/python3.12 --only-group tox tox -e lint,filename_matching,mypy,py312 -- test/mitmproxy/net/test_encoding.py test/mitmproxy/tools/console test/mitmproxy/tools/web test/mitmproxy/io test/mitmproxy/contentviews test/mitmproxy/addons/test_onboarding.py- all checks passed; 298 passed, 1 skipped.uv pip check --python .tox/py312/bin/python- passed..tox/py312/bin/python -c 'import tornado; assert tornado.version == "6.6.1"; print(tornado.version)'- passed; verifies actual installed version..tox/py312/bin/mitmdump --version- passed.UV_PROJECT_ENVIRONMENT=/home/ihalatci/Development/mitmproxy-dependency-bounds/env-ci-lock uv run --locked --python /home/ihalatci/.local/bin/python3.12 --only-group tox tox -e py312- 1955 passed, 3 skipped. Skips are not treated as compatibility evidence.Earlier exact-target validation:
uv pip install --python env-main/bin/python -e ./main --group main/pyproject.toml:dev Brotli==1.2.1 msgpack==1.2.3 tornado==6.6 urwid==4.0.7- full resolution/install passed;uv pip check --python env-main/bin/pythonandenv-main/bin/mitmdump --versionpassed. The latest complete remote CI matrix validates the new locked Tornado 6.6.1 environment.Downstream consumption is separate: Citus default
maincurrently pinsa16444362cc0393ccf7329f50fc909b711729de7and Tornado 6.5.8. citusdata/citus#8973, atecec459d9a9f472268255d426c1998fe5d2d95ef, instead pins0dac7e3f656baf0ac5b9bfcb1c13aa01cad2faa5and Tornado 6.6 in its Pipfile/lock. These are exact Git SHA dependencies: merging #6 is not technically required to consume a published commit. To consume 6.6.1, the downstream update must explicitly pin5cd63296e7dab274e275553df76e9699ea220032, resolve Tornado 6.6.1, synchronize lock/devcontainer/exported requirements, regenerate test images, and run its CI. No downstream source/image changes were made here.The earlier Citus CI passed all 12 failure/enterprise-failure/pytest/query-generator jobs across PG17/18/19 at the old
0dac7e3f/Tornado 6.6 pin; it does not validate this new SHA or 6.6.1. No merges, stable promotions, or release-line dependency updates are included.Existing tests cover the affected APIs; no new tests or changelog entry were added for this bounded dependency/CI prerequisite.
Checklist