Skip to content

catalogue: io.pilot.postgres v17.5.0 (PostgreSQL 17.5.0 — native CLI)#340

Merged
TeoSlayer merged 4 commits into
mainfrom
catalogue/io.pilot.postgres-0.1.0
Jun 30, 2026
Merged

catalogue: io.pilot.postgres v17.5.0 (PostgreSQL 17.5.0 — native CLI)#340
TeoSlayer merged 4 commits into
mainfrom
catalogue/io.pilot.postgres-0.1.0

Conversation

@Alexgodoroja

@Alexgodoroja Alexgodoroja commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

io.pilot.postgres → catalogue

Adds PostgreSQL 17.5.0 to the app-store catalogue: the psql client plus a full local-server lifecycle as a native cli app.

What's in this PR

  • Catalogue entry in catalogue/catalogue.json (v2, bundles map for all 4 platforms + linux/amd64 primary), with short description, display_name, vendor, license, source_url, metadata_url/metadata_sha256, and a pinned publisher.
  • Long store page in catalogue/apps/io.pilot.postgres/metadata.json — long description_md (incl. configuration: datadir/port/auth/uri/PG* env, and the non-root-server note), tagline, methods, changelog, and the full psql --help.
  • Catalogue re-signed with the production CATALOG_SIGN_KEYcatalogue/catalogue.json.sig.

Hosting (prod R2 artifact registry)

  • Adapter bundles (4 platforms): pub-f09f9a4e…r2.dev/bundles/io.pilot.postgres/17.5.0/…
  • PostgreSQL 17.5.0 artifacts (4 platforms, conda-forge relocatable): pub-f09f9a4e…r2.dev/io.pilot.postgres/17.5.0/<os>-<arch>/…

Capabilities

  • Query any server (libpq uri or PG* env): postgres.query / query_csv / command / list.
  • Provision a local cluster: postgres.initdbstartcreatedbquerystop; ready/status.
  • Full toolchain via postgres.exec passthrough (pg_dump, pg_isready, pg_restore, …). postgres.psql_help returns the full psql --help.

Validation

  • pilot-app verify passes for io.pilot.postgres on every check against the live bundles.
  • Installed from a signed catalogue and exercised end-to-end through pilotctl appstore call (local DB + tables).
  • Cross-platform install verified on macOS and Linux (Linux via a Debian arm64 microVM: initdb → start → query all pass).

App-template submission: pilot-protocol/app-template#50, #51, #52 (merged).

Add the PostgreSQL app to the catalogue: psql + local-server lifecycle as a
native cli app. Per-platform adapter bundles (darwin/linux x arm64/amd64) and
the PostgreSQL 17.10 client+server artifacts are hosted in the prod R2 artifact
registry (pub-f09f9a4e...r2.dev), sha-pinned. Catalogue re-signed with the
production CATALOG_SIGN_KEY.

- short + long description (catalogue.description + apps/io.pilot.postgres/metadata.json description_md)
- configuration steps (datadir/port/auth/uri/PG* env) documented in the long
  description and the app's help text
- publisher pinned: ed25519:N1uQkAJ355xY9RSj5Q8/y9Y+PIIjLzPB47PAl1vdw2U=

Verified: pilot-app verify passes for io.pilot.postgres on all checks; installed
from a local catalogue and used to provision a local DB + tables end-to-end
through pilotctl.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Alexgodoroja Alexgodoroja requested a review from TeoSlayer as a code owner June 30, 2026 00:02
Bump to 17.5.0 so the app version matches the delivered PostgreSQL version.
Per-platform adapter bundles + PostgreSQL 17.5.0 artifacts re-hosted in prod R2
under .../17.5.0/, sha-pinned; catalogue re-signed with the prod CATALOG_SIGN_KEY.
Adds a config note: the PostgreSQL server (initdb/start) refuses to run as OS
root — run the pilot daemon as a non-root user (the default on a normal host).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Alexgodoroja Alexgodoroja changed the title catalogue: io.pilot.postgres v0.1.0 (PostgreSQL 17.10 — native CLI) catalogue: io.pilot.postgres v17.5.0 (PostgreSQL 17.5.0 — native CLI) Jun 30, 2026
Alex Godoroja and others added 2 commits June 29, 2026 17:58
Rebuilt artifacts + bundles so the PostgreSQL server (initdb/postgres) finds its
share/ on any host (conda's Linux build doesn't relocate via find_my_exec; the
pg dispatcher now recreates the build prefix as a symlink to the staged tree).
Updated bundle/artifact sha256 pins; catalogue re-signed with the prod key.
Verified in a Debian arm64 microVM: initdb -> start -> query all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tched prefix)

The conda Linux server binaries baked an absolute build prefix for share/; patch
it to a writable /tmp path that the pg dispatcher recreates as a symlink to the
staged tree, so initdb/postgres work on any Linux host. Rebuilt + re-pinned the
linux artifacts and all 4 adapter bundles; catalogue re-signed. Verified in a
Debian arm64 microVM (initdb -> start -> query).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TeoSlayer TeoSlayer merged commit f54c20b into main Jun 30, 2026
14 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.

2 participants