Skip to content

Pin tools to v0.8.36 to fix Citus docker publish pipeline (gated — do not merge yet)#380

Open
ihalatci wants to merge 3 commits into
masterfrom
ihalatci-tools-v0836-adoption-assessment
Open

Pin tools to v0.8.36 to fix Citus docker publish pipeline (gated — do not merge yet)#380
ihalatci wants to merge 3 commits into
masterfrom
ihalatci-tools-v0836-adoption-assessment

Conversation

@ihalatci

Copy link
Copy Markdown
Contributor

Summary

Bumps the pinned citusdata/tools clone tag from v0.8.34 to v0.8.36-dev5 in all 5 workflows that clone tools. This is a CI pin fix only — no application/image changes.

Root cause

docker's pkgvars no longer defines postgres_14_version / postgres_15_version (it now provides only postgres_18/17/16). tools v0.8.34 (and v0.8.35) update_docker.read_postgres_versions() still indexes config["postgres_15_version"] and config["postgres_14_version"], so it raises KeyError: 'postgres_15_version' against the current pkgvars. That breaks update_version.yml whenever Citus is bumped (e.g. 14.1).

tools v0.8.36-dev5 reads only postgres_18/17/16, matching pkgvars exactly.

Validation (side-effect-free)

Ran the exact read_postgres_versions bodies from both tags against docker's real pkgvars:

  • pkgvars keys present: postgres_18_version, postgres_17_version, postgres_16_version
  • v0.8.34 → KeyError: 'postgres_15_version' (root cause reproduced)
  • v0.8.36-dev5 → ('18.1', '17.6', '16.10'), no error (fix confirmed)

Why v0.8.36-dev5 (a pre-release)?

The pg14/15 drop in update_docker exists only in tools tags v0.8.36-dev..dev5. Stable v0.8.36 is not cut yet (origin/develop still reads pg14/15). v0.8.36-dev5 is the only existing tag whose update_docker matches docker's pkgvars.

⚠️ Gated — do not merge yet

This PR pins a pre-release tag intentionally. Convergence follow-up: once stable v0.8.36 is cut (after citusdata/tools #409 → #410 merge), update these pins v0.8.36-dev5v0.8.36 and then merge. Lead agent coordinates the tools version cut alongside the GitHub App token migration.

Scope / safety

  • publish_docker.py is byte-identical v0.8.34..v0.8.36-dev5 → the 4 publish workflows (cron, on_manual, on_push, on_tag) have no behavior change; bumped only to keep one coherent pinned version. Only update_version.yml is functionally fixed.
  • Not touched: legacy hyperscale/ (pg-12/13/14) — intentionally left as-is per maintainer decision; Citus version strings (VERSION=14.0.0, citus-14.0, etc.); GH_TOKEN → GitHub App token (separate later phase). No CHANGELOG edit.

Files changed (tag bump only, 1 line each)

File Line
.github/workflows/publish_docker_images_cron.yml 30
.github/workflows/publish_docker_images_on_manual.yml 29
.github/workflows/publish_docker_images_on_push.yml 28
.github/workflows/publish_docker_images_on_tag.yml 31
.github/workflows/update_version.yml 34

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

ihalatci-msft and others added 2 commits June 25, 2026 10:36
tools v0.8.34 update_docker.read_postgres_versions() indexes postgres_14/15_version, which docker pkgvars no longer provides (pg18/17/16 only), causing a KeyError that breaks update_version.yml on a Citus version bump (e.g. 14.1). tools v0.8.36-dev5 reads only pg18/17/16, matching pkgvars. publish_docker.py is byte-identical v0.8.34..dev5, so the 4 publish workflows have no behavior change; only update_version.yml is functionally fixed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Stable citusdata/tools v0.8.36 is now cut (tag 40cc1d5 -> commit 6090091). Its update_docker/publish_docker/common_tool_methods are byte-identical to v0.8.36-dev5, so this repin is behavior-neutral and converges the pin off the pre-release onto the stable tag.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ihalatci ihalatci marked this pull request as ready for review June 25, 2026 19:07
@ihalatci ihalatci changed the title Pin tools to v0.8.36-dev5 to fix Citus docker publish pipeline (gated — do not merge yet) Pin tools to v0.8.36 to fix Citus docker publish pipeline (gated — do not merge yet) Jun 25, 2026
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.

2 participants