Skip to content

chore(deps): bump postgres from 3.4.9 to 4.1.1 - #579

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/bun/postgres-4.1.0
Closed

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/bun/postgres-4.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Production release approval withdrawn: long request timeouts appeared after the4.1.1 rollout. A targeted four-file revert to3.4.9 is being validated while retaining the recovery work. The mechanism is not yet proved; actual Supavisor concurrency coverage is required before retrying this major upgrade. The earlier CI and fixture results below remain historical evidence, not a production-health clearance.

Updates Postgres.js from 3.4.9 to 4.1.1 across the three workspace manifests and frozen lockfile.

Integrated with current main a79b93d9bf93e3699d0ee400441b680a0b9b7eb6. Reviewed head: e0659669c273e5ff9dd62425fa9de5b2d58d1cf9. The diff against main remains four dependency files, with no schema or application source change.

Validation:

  • Frozen install and clean serialized bun run verify: 6,979 passed, zero failures, all static checks and workspace types green.
  • Schema-guarded production build under Node 24.21.0 passed on the identical tree.
  • Postgres 4.1.1 fixtures passed under Node 22 and 24 against PostgreSQL 18 and transaction-mode PgBouncer with prepare: false: raw and Drizzle date/time/JSON/array round trips, rollback/savepoints, concurrent transactions, transaction-finalization fences and TLS verification/precedence.
  • A SELECT-only read-only transaction against the configured production pooler passed with prepare: false.
  • All nine shipped SQL date casts and five calendar-date columns were traced. Parameters use calendar strings or explicit timestamptz/reporting-timezone conversion.

The v4 upgrade notes and 4.1.1 changes were reviewed. Fresh exact-head CI, CodeQL, documentation and link checks passed; the exact-head Vercel preview was READY.

Landed as 95e71b3, an equivalent single-parent squash with exactly the tested tree. GitHub API and web merge operations returned server errors, so the change was landed with an ordinary non-force Git push respecting all existing branch rules. Closing as incorporated; the original reviewed branch remains intact.

@dependabot dependabot Bot added the dependencies Dependency updates label Nov 9, 2026
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Noveum/orbit
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: a79b93d
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4db84400-e599-4bfb-89a3-b76272b7fcaf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the area: database Schema, migrations, queries, seed label Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Thanks for your first pull request to Orbit.

Two things that will save you a review round: bun run verify runs the
same four checks CI does, and the repo has no comments in code by policy,
so bun run check-comments will flag any you added out of habit.

A maintainer will review this shortly. Ask anything on the thread.

imshashank commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Production release approval withdrawn after post-rollout validation. Long request timeouts appeared following the4.1.1 promotion and were not present in the observed pre-upgrade window. The causal mechanism is not proved, but the major upgrade is no longer cleared for production.

All local/source-head/default-branch CI checks did pass. That coverage used PgBouncer and selected single-transaction production reads; it did not establish real Supavisor behavior under concurrent application traffic. A targeted four-file revert to3.4.9, preserving the recovery feature and other reviewed updates, is being validated. The earlier approval has been explicitly dismissed. Actual shared-pooler concurrency coverage and resolution of the timeout signal are required before retrying4.x.

Historical landing: 95e71b3 exactly matched reviewed sourcee065966. A production rollback was requested but has not occurred; investigation and source preparation continue.

@dependabot dependabot Bot changed the title chore(deps): bump postgres from 3.4.9 to 4.1.0 chore(deps): bump postgres from 3.4.9 to 4.1.1 Nov 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bun/postgres-4.1.0 branch from 1d8f3d3 to 6293672 Compare November 16, 2026 09:08

@imshashank imshashank left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually reviewed this exact head integrated with current main a79b93d. The diff is limited to three manifest ranges and the lockfile. Clean guarded full verification passed 6,979 tests with zero failures; all static/type checks and the Node 24 production build passed. Independent Node 22/24 fixtures cover PostgreSQL 18, transaction-mode PgBouncer with prepare:false, raw/Drizzle calendar and timestamp handling, JSON/arrays, rollback/savepoints, concurrency, TLS verification/precedence and transaction-finalization fences. A SELECT-only enforced read-only transaction against the configured production pooler also passed. All shipped date casts were traced without an incompatible raw Date-to-date write. Fresh CI passed every job, including both browser suites, gateway tests and copied-standalone smoke. CodeQL, docs and links passed; the exact-head Vercel preview is READY. No unresolved substantive thread or remaining manual source blocker was found. No production migration or write was performed.

imshashank added a commit that referenced this pull request Nov 16, 2026
Land the reviewed dependency-only tree without changing its contents.

Validation on the identical tree at PR head e065966:
frozen install; bun run verify (6,979 passed, zero failures); Node 24.21.0
production build; all six CI jobs, CodeQL, docs and links green; exact-head
Vercel preview ready.

Co-authored-by: shashank agarwal <[email protected]>
@imshashank imshashank closed this Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bun/postgres-4.1.0 branch November 16, 2026 11:36

Copy link
Copy Markdown
Contributor

Production follow-up: the approval for this upgrade remains withdrawn. The explicitly approved immediate a79 rollback succeeded, followed by the approved targeted revert in #583. Current main and public production are now 29d2422 with Postgres.js 3.4.9 and all recovery fixes retained. All source and post-landing main CI checks passed.

The a79 rollback recorded zero provider 60/300-second task timeouts over a 913-second bounded window. The final #583 production deployment then recorded zero such timeouts over 341 seconds through 13:12:10 UTC; the simultaneous all-production timeout query also returned none on older deployments. Five separate known auth Redis connection-timeout errors remain on the final deployment, so this is not a complete production-health clearance or proof of the underlying cause. Request-volume metrics were unavailable under the current plan.

Any future Postgres 4 upgrade should reproduce the actual Supavisor/concurrent application path and account for the production failure pattern before renewed release approval. The previous PgBouncer fixture and successful point reads did not establish that compatibility.

This branch was successfully deployed

1 active deployment
Preview — e0659669 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: database Schema, migrations, queries, seed dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant