fix(deps): bump eventsourced/pg to v2.0.2, eventsourced to v1.23.0 #437

Merged
argoyle merged 1 commits from chore/bump-pg-v2 into master 2026-05-25 20:25:40 +00:00
Owner

Why

Bumps to the fixed eventsourced/pg, resolving the startup crash loop.

pg v1.19.0+ auto-runs an idempotency migration whose partial index used a non-IMMUTABLE now() predicate; modern Postgres rejects it (functions in index predicate must be marked IMMUTABLE), failing pg.New() at startup and crash-looping the service. The fix landed in the pg v2 line, but v2.0.0/v2.0.1 were unconsumable (module path lacked the required /v2 suffix). v2.0.2 corrects the module path.

What

  • gitlab.com/unboundsoftware/eventsourced/pg/v2 -> v2.0.2 (the genuinely fixed, importable release)
  • gitlab.com/unboundsoftware/eventsourced/eventsourced -> v1.23.0 (required by pg/v2)

Only the import path changes (.../pg -> .../pg/v2); the package is still pg and no call sites change.

Verification

go build ./..., go vet, and the full go test ./... suite all pass. eventsourced v1.23.0's only notable change (metrics MetricsRecorder refactor) is unused by dancefinder.

Supersedes the temporary prod rollback to 77786270 (pg v1.18.8).

## Why Bumps to the fixed `eventsourced/pg`, resolving the startup crash loop. pg v1.19.0+ auto-runs an idempotency migration whose partial index used a non-IMMUTABLE `now()` predicate; modern Postgres rejects it (`functions in index predicate must be marked IMMUTABLE`), failing `pg.New()` at startup and crash-looping the service. The fix landed in the pg v2 line, but v2.0.0/v2.0.1 were unconsumable (module path lacked the required `/v2` suffix). v2.0.2 corrects the module path. ## What - `gitlab.com/unboundsoftware/eventsourced/pg/v2` -> **v2.0.2** (the genuinely fixed, importable release) - `gitlab.com/unboundsoftware/eventsourced/eventsourced` -> **v1.23.0** (required by pg/v2) Only the import path changes (`.../pg` -> `.../pg/v2`); the package is still `pg` and no call sites change. ## Verification `go build ./...`, `go vet`, and the full `go test ./...` suite all pass. eventsourced v1.23.0's only notable change (metrics MetricsRecorder refactor) is unused by dancefinder. Supersedes the temporary prod rollback to `77786270` (pg v1.18.8).
argoyle added 1 commit 2026-05-25 20:11:15 +00:00
fix(deps): bump eventsourced/pg to v2.0.2, eventsourced to v1.23.0
dancefinder / check (pull_request) Successful in 1m52s
dancefinder / build (pull_request) Successful in 11m31s
dancefinder / deploy-prod (pull_request) Has been skipped
f4d619077b
pg v1.19.0+ auto-runs an idempotency migration whose partial index used a
non-IMMUTABLE now() predicate, which Postgres rejects at creation. That
failed pg.New() at startup and crash-looped the service (silently, exit 0).

The fix landed in the pg v2 line, but v2.0.0/v2.0.1 were unconsumable (go.mod
module path lacked the required /v2 suffix). v2.0.2 corrects the module path,
so this bumps to:

  - gitlab.com/unboundsoftware/eventsourced/pg/v2 v2.0.2
  - gitlab.com/unboundsoftware/eventsourced/eventsourced v1.23.0 (required by pg/v2)

Only the import path changes (.../pg -> .../pg/v2); the package is still `pg`
and no call sites change. Build, vet and the full test suite pass.
argoyle scheduled this pull request to auto merge when all checks succeed 2026-05-25 20:18:31 +00:00
argoyle merged commit ecfb391dd1 into master 2026-05-25 20:25:40 +00:00
argoyle deleted branch chore/bump-pg-v2 2026-05-25 20:25:41 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dancefinder/dancefinder#437