Skip to content

Add HIPAA internal links from Postgres Data Guide articles - #541

Merged
vanrensbird merged 5 commits into
mainfrom
cursor/hipaa-internal-links
Nov 4, 2026
Merged

vanrensbird merged 5 commits into
mainfrom
cursor/hipaa-internal-links

Conversation

@vanrensbird

Copy link
Copy Markdown
Contributor

Summary

  • Adds contextual internal links to prisma.io/postgres/hipaa from PostgreSQL Data Guide articles covering hosting, roles, authentication, privileges, and RDS setup.
  • Uses preferred anchor text (HIPAA compliant database, or HIPAA compliant Postgres on the benefits hosting conclusion).
  • Does not mention liability uplift or other off-brief claims.

Files changed

  • content/04-postgresql/03-5-ways-to-host-postgresql.mdx — new “When to choose Prisma Postgres” bullet for healthcare / BAA
  • content/04-postgresql/02-getting-to-know-postgresql.mdx — roles section sentence
  • content/04-postgresql/01-benefits-of-postgresql.mdx — hosting conclusion sentence (HIPAA compliant Postgres)
  • content/04-postgresql/07-authentication-and-authorization/02-role-management.mdx
  • content/04-postgresql/07-authentication-and-authorization/03-configuring-user-authentication.mdx
  • content/04-postgresql/07-authentication-and-authorization/04-managing-privileges.mdx
  • content/04-postgresql/05-setting-up-postgresql-on-rds.mdx

All four D targets fit naturally (access control / encryption); none skipped.

Test plan

Point relevant PostgreSQL hosting, roles, auth, privileges, and RDS
guidance at prisma.io/postgres/hipaa for healthcare readers evaluating
BAAs and HIPAA-compliant Postgres.
@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dataguide Ready Ready Preview Nov 4, 2026 2:35pm UTC

Request Review

@prisma-gizmo

prisma-gizmo Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Gizmo reviewed 1de93e7 — posted 0 inline comment(s) this pass.

Open findings: none

Change walkthrough

The delta since the last reviewed commit is a bookkeeping follow-up: it refreshes recorded SHA-256 evidence hashes in two JSON files after the verification fixture scripts were modified earlier in the PR.

ORM comparison evidence — static/experiments/orm-comparison-2026-10-01.json updates its top-level fixtureSha256 and the supportingSources entry for experiments/orm-type-safety/run.mjs to 56ef32f4…, matching the head-side hash of the updated fixture script. scripts/verification.mjs requires the recorded fixtureSha256 and supporting-source hashes to equal the hashes of the checked-in files, so without this refresh the executed verification status for the type-safety comparison article would fail validation.

MongoDB tutorial evidence — tests/tutorials/evidence/mongodb-2026-10-01.json updates fixtureSha256 to ad7999da…, matching the head-side hash of the updated tests/tutorials/mongodb.mjs runner referenced by the content-verification.json entry for the MongoDB transactions article.

Both are mechanical updates of the pattern the repo itself enforces: evidence files must always mirror the exact fixture bytes they attest to. No other fields (status, timestamps, article hashes, outputs) were altered, and no content or article sources changed in this delta.

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

New findings: 🟡 1 minor · trace

Gizmo flagged "tight roles like these" as overstating what the
overview covers; reword to "roles and privileges described here".
@vanrensbird

Copy link
Copy Markdown
Contributor Author

Pushed a follow-up for Gizmo's minor on 02-getting-to-know-postgresql.mdx: reworded the HIPAA sentence to "pairs the roles and privileges described here…" so it matches what that overview actually covers.

Note on CI: mongodb / comparison in Database tutorials are failing with `MongoDB startup timed out` — same pattern has been failing on recent `main` PRs and is unrelated to these MDX link edits. Core `Test and build` + Vercel preview are green.

Preview: https://dataguide-git-cursor-hipaa-internal-links-prisma.vercel.app/postgresql/5-ways-to-host-postgresql

@vanrensbird vanrensbird self-assigned this Nov 4, 2026
@vanrensbird vanrensbird added the content/improvement Improvement to an existing Data Guide article label Nov 4, 2026

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

New findings: none · trace

Still open from previous reviews: 🟡 1 minor

mongosh defaulted to localhost, which can resolve to ::1 on newer
GitHub runners while mongod is bound to 127.0.0.1. Postgres already
used an explicit IPv4 host and kept passing. Pin mongosh to 127.0.0.1,
keep failed containers for logs, and lengthen the readiness wait.
@vanrensbird

Copy link
Copy Markdown
Contributor Author

Pushed a CI fix for the failing `Database tutorials / mongodb` and `comparison` jobs.

Cause: `mongosh` was connecting via `localhost`, which can resolve to `::1` on newer GitHub-hosted runners, while `mongod` is bound to `127.0.0.1`. The Postgres check already used `-h 127.0.0.1` and stayed green.

Fix: pin mongosh to `--host 127.0.0.1`, keep containers around for log dumps on failure, and lengthen the readiness wait.

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

New findings: none · trace

Still open from previous reviews: 🟡 1 minor

Pinned MongoDB 8.0.32 exits on newer runner kernels (log id 12257600)
when the image default GLIBC_TUNABLES=glibc.pthread.rseq=0 leaves
TCMalloc per-CPU caches on. Override to rseq=1 so the startup guard
does not fire, matching the documented Actions workaround.
@vanrensbird

Copy link
Copy Markdown
Contributor Author

Real root cause (from container logs after the diagnostic patch):

`MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB` (SERVER-121912).

Pinned `mongo@sha256:4968f22…` is MongoDB 8.0.32. On current GitHub `ubuntu-24.04` runners it refuses to start with the image default `GLIBC_TUNABLES=glibc.pthread.rseq=0`.

Fix just pushed: set `GLIBC_TUNABLES=glibc.pthread.rseq=1` on the disposable mongo containers (documented workaround; keeps the same pinned image).

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

New findings: 🟡 1 minor · trace

Still open from previous reviews: 🟡 1 minor

Comment thread tests/tutorials/mongodb.mjs Resolved
Keep content-verification matching the SERVER-121912 workaround in
mongodb.mjs and orm-type-safety/run.mjs.
@vanrensbird

Copy link
Copy Markdown
Contributor Author

Updated committed evidence fixture hashes so Test and build / verification accepts the Mongo CI workaround. mongodb and comparison already passed on the previous commit.

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

New findings: none · trace

Still open from previous reviews: 🟡 2 minor

@vanrensbird

Copy link
Copy Markdown
Contributor Author

Checks are green. Need an approving review to squash-merge (can't approve my own PR). @gregory-boch-prisma — could you take a look when you have a moment?

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No Gizmo finding is open and the head commit has been reviewed. Approving.

@vanrensbird
vanrensbird merged commit e7e5cad into main Nov 4, 2026
13 checks passed
@vanrensbird
vanrensbird deleted the cursor/hipaa-internal-links branch November 4, 2026 14:46

This branch was successfully deployed

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

Labels

content/improvement Improvement to an existing Data Guide article

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant