refactor(auth): delete @reloop/apikey shim; repoint importers (#53)#62
Merged
pranavp10 merged 1 commit intoJul 13, 2026
Conversation
Contract step of the auth refactor: repoint generation/validation consumers to @reloop/auth/apikey (+ /validate), remove the workspace shim package, and clean tsconfig paths and lockfile. Importers updated: - be-api-key create/rotate controllers - be-email onboarding - be-auth characterization tests
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
Final contract step of the auth middleware consolidation (#43):
@reloop/auth/apikey/@reloop/auth/apikey/validate@reloop/apikeypackage entirelypackages/tsconfigpath alias@reloop/authpackage suite remain greenStacked on #61 (#52). Closes #53.
With this, the full #43 rollout stack is ready to merge bottom-up.
Test plan
@reloop/apikeyreferences in the repobun run testinapps/backend/auth(6 pass)bun testinpackages/auth(33 pass)be-api-keyandbe-emailGreptile Summary
This PR removes the old API key shim and points callers at the auth package directly. The main changes are:
@reloop/apikeyworkspace package.@reloop/auth/apikey.@reloop/auth/apikey/validate.Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
@reloop/auth/apikey.@reloop/auth/apikey.@reloop/auth/apikey/validate.@reloop/authdependency required by the new email import.@reloop/apikeypath alias.Reviews (1): Last reviewed commit: "refactor(auth): delete @reloop/apikey sh..." | Re-trigger Greptile