Skip to content

refactor(platform-credential): remove livemode selector - #1675

Merged
realcodesiman merged 3 commits into
mainfrom
refactor/remove-platform-credential-livemode
Nov 10, 2026
Merged

realcodesiman merged 3 commits into
mainfrom
refactor/remove-platform-credential-livemode

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • remove the unused PlatformCredential.livemode selector and add type-only uniqueness
  • retain legacy encrypted credential AAD formats
  • add migration and regression coverage

Verification

  • pnpm lint
  • pnpm --filter @chatbotx.io/business check-types
  • pnpm --filter @chatbotx.io/database check-types
  • pnpm --filter @chatbotx.io/business test -- __tests__/platform-credential-service.test.ts
  • pnpm --filter @chatbotx.io/database test -- __tests__/credential-aad.test.ts

@github-actions github-actions Bot added the improvement Refactor or performance improvement label Nov 9, 2026
@realcodesiman
realcodesiman merged commit d50c84a into main Nov 10, 2026
14 checks passed
@realcodesiman
realcodesiman deleted the refactor/remove-platform-credential-livemode branch November 10, 2026 02:33
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
* refactor(platform-credential): remove livemode selector

* fix(platform-credential): bind encrypted values to credential owner

* fix(platform-credential): resolve credentials by workspace tenant

Prevent reseller workspaces from using platform fallback credentials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Refactor or performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant