Skip to content

Release v0.18.1: native per-architecture PostgreSQL builds - #543

Merged
fazpu merged 1 commit into
mainfrom
release/v0.18.1
Nov 7, 2026
Merged

fazpu merged 1 commit into
mainfrom
release/v0.18.1

Conversation

@fazpu

@fazpu fazpu commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Release PR for remember 0.18.1. It contains everything 0.18.0 was to ship (#541) plus #542. 0.18.0 is not reused.

Why 0.18.0 failed. Release run 42313827471 passed verify and published remember-stack:0.18.0 to GHCR. It could not publish the PostgreSQL foundation:

  • The arm64 leg built under QEMU on an amd64 runner.
  • Its build-time pg_textsearch regression suite failed parallel_build on both attempts. The only diff is the missing notice "parallel index build: launched 2 of 2 requested workers".
  • A native arm64 build passes 82/82, as recorded in docker/README.md.
  • The pending 0.18.0 PyPI deployment is to be rejected by the owner, so 0.18.0 has no PyPI package, GitHub release or tag.

Changes

  • release.yml: the PostgreSQL publish is split into two jobs.
    • A build-postgres matrix builds each architecture on a native runner (ubuntu-latest / ubuntu-24.04-arm) and pushes it by digest. The full regression suite is kept.
    • publish-postgres-ghcr joins the two digests under the immutable 19rc1-<version> tag with docker buildx imagetools create, putting the revision annotation on the index. It writes the same postgres-image-digests.json evidence as before.
    • Recovery still skips work when the immutable tag already exists. Nothing downstream changes: github-release still needs publish-postgres-ghcr, and UMC still receives the digest.
  • check_release_contract.py: binds the new job shape, checked only inside the postgres jobs. A new test case proves an emulated arm64 leg is rejected.
  • ci.yml:
    • The native Engine image (linux/arm64) job also builds Dockerfile.postgres, which runs the regression suite. An arm64 failure now shows on the PR, not in the release. Its timeout goes from 30 to 45 minutes.
    • Unit timeout-minutes goes from 15 to 30, because the slow Ubuntu mirror cancelled its LibreOffice install twice on Release v0.18.0 #541.
  • Version 0.18.1, applied with prepare_next_release.py. uv.lock, openapi.json, llms and the TypeScript contracts are regenerated.
  • Docs: the changelog heading is now 0.18.1, with a note that 0.18.0 was not released. docker/README.md records the reason. RELEASING.md notes the native runners.

Verification

  • check_release_contract.py --tag v0.18.1, check_docs_truth.py, generate_docs_llms.py --check, TypeScript check:generated
  • test_release_contract.py, the D143 and OpenAPI export tests (26 passed), ruff, actionlint (no new findings)
  • Live-graph readiness and the graph catalog check against the RC 1 image, at 8771d15 and at main:
    • arm64 and amd64 both report pg_textsearch 1.5.1, vector 0.8.6, pg_partman 5.5.0;
    • graph_catalog_problems() == ();
    • ensure_graph_catalog gives ready=True and changed=False;
    • _live_graph_status gives (True, 'ready').
  • CI is green. The native arm64 job built Dockerfile.postgres, and the pg_textsearch regression passed 82/82 on ubuntu-24.04-arm.
  • Codex round 1: APPROVE, no findings.

The release workflow itself only runs on main. Its new jobs are checked by actionlint, Codex and the CI arm64 build of the same Dockerfile. They first execute after this PR merges.

Contributor agreement

Signing on behalf of a legal entity (leave blank if accepting individually):

🤖 Generated with Claude Code

https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm

…QL builds

The v0.18.0 release run could not publish the PostgreSQL foundation: its
arm64 leg built under QEMU on an amd64 runner, and the build-time
pg_textsearch regression test parallel_build failed twice there (the
"launched 2 of 2 requested workers" notice is missing under emulation).
0.18.0 is not reused.

- release.yml: build-postgres builds each architecture on a native runner
  (ubuntu-latest, ubuntu-24.04-arm) and pushes it by digest;
  publish-postgres-ghcr joins both under the immutable 19rc1 tag and
  records the same postgres-image-digests.json evidence.
- check_release_contract.py binds that shape; a test proves an emulated
  arm64 leg is rejected.
- ci.yml: the native arm64 image job also builds Dockerfile.postgres, so
  an arm64 regression failure shows up on the pull request; Unit gets 30
  minutes for slow apt mirrors.
- Version and coordinates move to 0.18.1; the changelog and docker/README
  record that 0.18.0 was not released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 1 (gpt-6.1-sol, max) on 776c842

VERDICT: APPROVE

No blocker, major or minor findings.

  • The native matrix, digest pushes and manifest join are correct. The pinned build-push-action and download-artifact support the inputs used.
  • Image config labels retain the explicit source revision. Recovery skips builds and digest downloads when the tag exists; the join checks the existing amd64 config revision and regenerates evidence requiring both architectures.
  • Evidence fields remain unchanged in substance. github-release, notify-umc and postgres-evidence.jq are byte-for-byte unchanged. Permissions are sufficient.
  • The contract checker correctly scopes its assertions to the PostgreSQL jobs and remains simple. The new test catches removal of the native arm64 runner.
  • CI adds the native PostgreSQL build and sets Unit to 30 minutes. Version coordinates, generated artifacts and release documentation are consistent.

All five permitted Python checks passed, including 17 packaging tests. actionlint reported three ShellCheck diagnostics, all reproduced unchanged on origin/main; no new diagnostics appeared.

Working tree remains clean. Docker was not started, so publication was reviewed statically rather than executed.
tokens used
100,843
VERDICT: APPROVE

Disposition: no findings to address.

@fazpu
fazpu marked this pull request as ready for review November 7, 2026 01:18
@fazpu
fazpu merged commit 056ba69 into main Nov 7, 2026
22 checks passed
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.

1 participant