Skip to content

docs(readme): quickstart that migrates, mounts and closes; route table - #38

Merged
TheGreatAxios merged 1 commit into
cl-9067-mailbox-replace-mountmailbox-with-createmailboxroutesdepsfrom
cl-9201-mailbox-replace-readme-installmailbox-wrapper-with-short
Sep 27, 2026
Merged

TheGreatAxios merged 1 commit into
cl-9067-mailbox-replace-mountmailbox-with-createmailboxroutesdepsfrom
cl-9201-mailbox-replace-readme-installmailbox-wrapper-with-short

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Verification

The quickstart compiles under tsc --strict against src/index.ts with the host values declared. CI is green on this branch: install --frozen-lockfile, build, typecheck, tests against Postgres, and the Node consumer smoke test.

Closes CL-9201
Closes CL-9203
Closes CL-9212
Closes CL-9223

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Self-review: the branch went through two independent review passes, and every finding is fixed. Two findings were waived after a senior ruling: the README stays stale on #37 until #38 lands, and the default resolver has no null guard because TenantEnv guarantees tenant and principal. Build, typecheck and 171 tests pass against real Postgres.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9201-mailbox-replace-readme-installmailbox-wrapper-with-short branch 2 times, most recently from 065442a to d9a25a3 Compare September 25, 2026 17:52
@TheGreatAxios
TheGreatAxios force-pushed the cl-9201-mailbox-replace-readme-installmailbox-wrapper-with-short branch from d9a25a3 to df2b89f Compare September 26, 2026 01:28
@TheGreatAxios
TheGreatAxios added this pull request to stack #47 September 26, 2026 01:58
A host following the example on an empty database must get working
routes without a context cast. The quickstart opens the handle,
migrates, mounts createMailboxRoutes and closes on SIGTERM; it compiles
against the package's types once the host's own values are declared.
Install is one npm line, and every route is listed.

Closes CL-9201, CL-9203, CL-9212, CL-9223.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9201-mailbox-replace-readme-installmailbox-wrapper-with-short branch from df2b89f to c74a445 Compare September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios removed this pull request from stack #47 September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios added this pull request to stack #50 September 26, 2026 02:40
@TheGreatAxios
TheGreatAxios merged commit 40ebe16 into main Sep 27, 2026
2 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