Skip to content

fix(fly): bake psycopg[binary] into the image - #39

Merged
natecl merged 1 commit into
mainfrom
cursor/psycopg-binary-fly-image
Sep 14, 2026
Merged

natecl merged 1 commit into
mainfrom
cursor/psycopg-binary-fly-image

Conversation

@natecl

@natecl natecl commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Durable Neon driver for Fly hidden-beacon-080.

Ops hot-installed psycopg[binary] on the live machine after dashboard FAIL with NEON_DATABASE_URL set. That install is wiped on the next image deploy.

What changed

  • pyproject.toml: package depends on psycopg[binary]>=3,<4 (PEP 508 extra of psycopg).
  • Dockerfile: pip install . plus python -c "import psycopg" so the image build fails if the driver is missing.
  • FEATURE_MAP / persistence + accounts recipes: do not hot-install on the machine.

Not this PR

  • No Fly deploy (Cap/ops redeploy after).
  • No dial. Stay Telnyx.
  • Customer Portal / billing portal CSRF is not in this tree (call-agent-web / Pages). Stripe stays TEST.

Proof

  • pytest -q: 307 passed.
  • call-agent verify-persistence: 4/4 passed (SQLite stubs; does not open Neon).
Open in Web Open in Cursor 

Neon dashboard FAIL when NEON_DATABASE_URL is set without the driver.
Ops hot-install is wiped on the next image deploy. Package depends on
psycopg[binary]; Dockerfile pip install . plus import check.

Co-authored-by: natecl <natecl@users.noreply.github.com>
@natecl
natecl marked this pull request as ready for review September 14, 2026 22:27
@natecl
natecl merged commit bb91810 into main Sep 14, 2026
1 check passed
natecl added a commit that referenced this pull request Sep 14, 2026
Wave2 FEATURE_MAP/docs: #37 shared FROM/bot, #38 Responses effort, #39 psycopg[binary] live on Fly hidden-beacon-080 sha bb91810 (health 200, Neon/psycopg baked). Docs-only. No Fly redeploy. No dial.
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