Skip to content

fix: address remaining Round 1 issues (P1-SEC-02, P2-PERF-02, P1-TEST-07, P2-TEST-01)#54

Merged
atlanticplatformgroup merged 1 commit into
mainfrom
fix/refresh-token-uuid-validation
May 27, 2026
Merged

fix: address remaining Round 1 issues (P1-SEC-02, P2-PERF-02, P1-TEST-07, P2-TEST-01)#54
atlanticplatformgroup merged 1 commit into
mainfrom
fix/refresh-token-uuid-validation

Conversation

@atlanticplatformgroup
Copy link
Copy Markdown
Owner

Addresses the 4 remaining issues from Round 1 that were deferred during Round 2.

Changes:

  • P1-SEC-02: Refresh token zod validation now uses .uuid() instead of .min(1) in packages/api/src/auth/routes.ts
  • P2-PERF-02: Memoize EditorContext.Provider, CollectionManagerContext.Provider, and SchemaEditorContext.Provider values with useMemo
  • P1-TEST-07: Add CollectionService CRUD unit tests (5 tests) with mocked fs/git — no Prisma required
  • P2-TEST-01: Add CLI command handler unit tests (10 tests across auth, cdn, deploy, init, project, start)

Verification:

  • npm run build -w @ori/shared
  • npm run type-check -w @ori/api
  • npm run build:check -w @ori/web
  • npm run test -w @ori/api -- --run src/collections/__tests__/service-crud-unit.test.ts ✅ (5 passed)
  • CLI tests ✅ (10 passed)

…-07, P2-TEST-01)

- P1-SEC-02: refresh token zod validation now uses .uuid() instead of .min(1)
- P2-PERF-02: memoize EditorContext, CollectionManagerContext, SchemaEditorContext providers
- P1-TEST-07: add CollectionService CRUD unit tests with mocked fs/git
- P2-TEST-01: add CLI command handler unit tests (auth, cdn, deploy, init, project, start)
@atlanticplatformgroup atlanticplatformgroup merged commit 9373bad into main May 27, 2026
1 check failed
@atlanticplatformgroup atlanticplatformgroup deleted the fix/refresh-token-uuid-validation branch May 27, 2026 16:40
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