Skip to content

feat(saga-mesh): add sis_db + role to the empty seed profile#112

Merged
skilgoreT merged 1 commit into
mainfrom
sis-api-mesh-seed
Jun 2, 2026
Merged

feat(saga-mesh): add sis_db + role to the empty seed profile#112
skilgoreT merged 1 commit into
mainfrom
sis-api-mesh-seed

Conversation

@skilgoreT
Copy link
Copy Markdown
Contributor

What

Add the sis role + sis_db database (with grant) to the saga-mesh
profile-empty.sql seed, mirroring the existing per-app role/db/grant
pattern for iam/programs/scheduling/ads_adm/ledger.

Why

Adam's sis-api landed in rostering on main (2026-06). It owns a
dedicated sis_db and needs the role/database to exist before its prisma
migrations deploy. The sds_92 synthetic-dev stack currently provisions
this with a local idempotent guard (up.sh's ensure_sis_db); this
PR adds it to the canonical seed so every mesh consumer gets it without
the guard. Once this is on main, the local guard can be dropped.

Verification

Applied the equivalent role+db SQL against a live soa-postgres-1 mesh,
deployed the sis-db init migration into sis_db, and booted sis-api:
/health/ready → 200 {"status":"ready","sisDb":"connected"}.

Tracking: saga-ed/student-data-system sds_92 decision d1.7.

sis-api (rostering, on main as of 2026-06) owns a dedicated sis_db that
the synthetic-dev stack provisions with a local idempotent guard today.
Add the canonical role + database here so every mesh consumer gets it
without the guard. Mirrors the existing per-app role/db/grant pattern.

Tracking: saga-ed/student-data-system sds_92 decision d1.7.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@skilgoreT skilgoreT requested review from nerisaurus and removed request for nerisaurus June 2, 2026 15:34
@skilgoreT skilgoreT merged commit 60da9ea into main Jun 2, 2026
4 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