Skip to content

feat(provisioning): add idempotent operator demo provisioning and http multi-principal integration suite - #42

Merged
DanielHC16 merged 1 commit into
mainfrom
feat/database-and-provisioning-m20
Oct 25, 2026
Merged

DanielHC16 merged 1 commit into
mainfrom
feat/database-and-provisioning-m20

Conversation

@DanielHC16

Copy link
Copy Markdown
Owner

Summary

  • Resolves migration parity, function overloading for \complete_onboarding, and storage policy RLS upload checks in \supabase/migrations/20261026000100_admin_roles_and_reporting.sql.
  • Implements idempotent operator demo provisioning tool (\scripts/provision-demo-environment.cjs\ and \scripts/provision-demo-environment.mjs) with safe --dry-run\ and --apply\ modes and unit tests (\scripts/tests/provision-demo-environment.test.js).
  • Implements end-to-end multi-principal HTTP integration test (\ ests/integration/production-workflow-http.test.ts) executing all 14 lifecycle steps over real HTTP endpoints with clean database teardown.
  • Authors comprehensive operator hosted deployment and rehearsal manual in \docs/HOSTED_DEMO_SETUP.md.
  • Updates \HANDOVER.MD, \docs/SESSION_HANDOFF.md, and \docs/IMPLEMENTATION_ROADMAP.md.

Verification Evidence


  • pm run format:check: clean Prettier formatting across all files.

  • pm run lint: 0 ESLint errors.

  • pm run typecheck: 0 TypeScript compiler errors.

  • pm run test:run: 92 Jest test suites / 538 tests passing.

  • pm run test:auth:integration: 2 HTTP integration suites passing.

  • pm run db:test: 13 pgTAP suites / 253 database tests passing.

  • pm run db:lint: 0 schema warnings.

  • pm run db:types:check: generated types match database schema.

  • px expo-doctor: 20/20 checks passed.

  • px expo export --platform android: Hermes bytecode bundle (4.9MB) generated cleanly.

@gitguardian

gitguardian Bot commented Oct 25, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
38989017 Triggered Generic Password e97b9e2 tests/integration/production-workflow-http.test.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@DanielHC16
DanielHC16 merged commit 2632a21 into main Oct 25, 2026
2 of 3 checks passed
@DanielHC16
DanielHC16 deleted the feat/database-and-provisioning-m20 branch October 25, 2026 18:27
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