Skip to content

Pin pgbot 0.10.0 (now released) — recovers #4 - #6

Merged
alexshapalov merged 12 commits into
mainfrom
feat/pgbot-integration
Nov 16, 2026
Merged

alexshapalov merged 12 commits into
mainfrom
feat/pgbot-integration

Conversation

@alexshapalov

Copy link
Copy Markdown
Contributor

pgbot v0.10.0 is published (GitHub release with signed checksums, npm @pgbot/cli@0.10.0 = latest, Homebrew, GHCR; the release workflow's install/smoke jobs all passed).

This PR pins it: PinnedVersion = "0.10.0" and @pgbot/cli ^0.10.0. #4 was merged into its stack base feat/pgbot-integration instead of main; this brings it over.

Merge after #5. This branch also contains #5's commits, so once #5 is merged the diff shrinks to these 2 lines.

Verified: a CLI built from this branch ran pgrun bot install, downloaded pgbot 0.10.0 from the real release, verified its SHA-256 against checksums.txt, and pgbot --version reports 0.10.0.

Merge with Create a merge commit.

🤖 Generated with Claude Code

alexshapalov and others added 12 commits November 14, 2026 10:08
- internal/pgbot: locate (PGRUN_PGBOT > PATH > managed copy), version/capability
  probe in a scrubbed env, pinned checksum-verified install (atomic, no exec before
  the sha256 matches).
- pgrun bot status|install|inspect|lint|schema|explain|run: branch-scoped (URL from
  the API, env only), refuses connection strings, AI layer off unless --allow-ai.
- pgrun bot verify -- <migration>: disposable PostgreSQL branch of the Safe Copy,
  schema snapshot + lint before/after, pgbot schema diff (rewrites, blocking index
  builds, drops, renames), optional --compare-pgx; always cleans up; pgrun-verify/1.0.0.
- pgrun setup: idempotent skill + pgbot + auth report, --agents-md managed block
  only on request; pgrun-setup/1.0.0.
- MCP: pgrun_bot_lint / pgrun_bot_schema / pgrun_bot_explain.
- npm: @pgrun/cli depends on @pgbot/cli; the wrapper hands its binary over via PGRUN_PGBOT.
- Skill: PGX default, PgBot when/how, reading the verify report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hed once

A create response can say ready (an idempotent request_id replay, a synchronous provisioner) but
never carries connection_url; branch exec / bot verify then failed with 'ready but no
connection_url'. Found by the PGRun 2.0 end-to-end run on pgxbench.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…run setup)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on purpose

Measured on pgxbench: pgbot inspect on every PGX branch reported fsync_off and
full_page_writes_off as critical. They are deliberate (branches are recreated, not recovered);
suppressed for pgrun bot inspect, with a note on stderr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d review is incomplete, never pass

pgrun-verify 1.1.0 adds categories, blocking, policy and summary (fields added, none renamed).
Verdicts: fail > dangerous > unsupported > incomplete > error > warning > pass. --block-on
(default fail,dangerous,incomplete,error) decides blocking; exit 0/1, and 3 when only
infrastructure errors block. Before this, a pgbot without the schema command, a failed lint
or an unrun PGX comparison still produced verdict pass and exit 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… token out of the migration

A CI token may only create ci-… branches (422 token_scope): verify retries once as
ci-verify-…. The migration child no longer inherits PGRUN_API_TOKEN or an outer
DATABASE_URL. Both found by the ci-action integration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…branches

Found by the real-API e2e: pgbot keeps suppressed findings in its JSON (suppressed: true).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot v0.10.0 is published

MinVersion stays 0.9.0: an older pgbot still works and verify reports incomplete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…golangci-lint, govulncheck

pgrun-cli had no CI. Pinned action SHAs and tool versions (as pgbot). .golangci.yml keeps the
default linters and lists the accepted CLI patterns (terminal writes, best-effort cleanup; test
fixture writes) instead of changing code; 0 issues on this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…golangci-lint, govulncheck

pgrun-cli had no CI. Pinned action SHAs and tool versions (as pgbot). .golangci.yml keeps the
default linters and lists the accepted CLI patterns (terminal writes, best-effort cleanup; test
fixture writes) instead of changing code; 0 issues on this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin pgbot 0.10.0 — DO NOT MERGE before pgbot v0.10.0 is published
@alexshapalov
alexshapalov merged commit c0424e3 into main Nov 16, 2026
8 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