refactor(index)!: drop schema objects and internals from the barrel - #36
Merged
TheGreatAxios merged 1 commit intoSep 27, 2026
Conversation
TheGreatAxios
commented
Sep 25, 2026
TheGreatAxios
left a comment
Contributor
Author
There was a problem hiding this comment.
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
force-pushed
the
cl-9229-mailbox-remove-schema-and-internal-constants-from-barrel
branch
from
September 26, 2026 01:28
e5d37d8 to
4d0e656
Compare
TheGreatAxios
added this pull request to stack #47
September 26, 2026 01:58
The drizzle table objects, their row types, the column-type check and two internal constants are implementation details; hosts never need them to mount or migrate the mailbox. Closes CL-9229.
TheGreatAxios
force-pushed
the
cl-9229-mailbox-remove-schema-and-internal-constants-from-barrel
branch
from
September 26, 2026 02:40
4d0e656 to
5a955b2
Compare
TheGreatAxios
removed this pull request from stack #47
September 26, 2026 02:40
TheGreatAxios
changed the base branch from
main
to
cl-9363-mailbox-drop-custom-build-and-prepare-scripts
September 26, 2026 02:40
TheGreatAxios
added this pull request to stack #50
September 26, 2026 02:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
principalMail,mailboxPgSchema,PrincipalMailRow,PrincipalMailInsert,expectedColumnTypes,assertExpectedColumnTypes,MESSAGE_ID_FALLBACK_DOMAINandMAX_PENDING_SSE_EVENTSfrom@corbits/mailbox.Verification
CI is green on this branch: install
--frozen-lockfile, build, typecheck, tests against Postgres, and the Node consumer smoke test.Closes CL-9229