-
Notifications
You must be signed in to change notification settings - Fork 11.6k
chore: disable apps with missing required keys #27012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This adds a new companion-typecheck.yml workflow that runs TypeScript type checking for the companion app. This would have caught the missing useEffect import issue in PR #26931. Changes: - Add new companion-typecheck.yml workflow file - Update pr.yml to call the new workflow when companion files change - Add typecheck-companion to the required jobs list Co-Authored-By: anik@cal.com <adhabal2002@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 6 files
emrysal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
Pull request was converted to draft
|
Further conversations concluded as follows; for some reason invalid apps are set as enabled, instead of doing this we should fix the app registration script to not toggle enabled to true unless the app is setup correctly. |
e8543aa to
9c2e58e
Compare
emrysal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 5 files
emrysal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approved
PR #27012 introduced logic to disable apps without valid keys during seeding. This caused the alby payment app tests to fail because the alby app was disabled in the App table when its environment keys weren't configured. This fix adds an ensureAppEnabled helper function that enables the app in the App table before running the tests, treating it as a mock/test setup step. Co-Authored-By: alex@cal.com <me@alexvanandel.com>
…27071) PR #27012 introduced logic to disable apps without valid keys during seeding. This caused the alby payment app tests to fail because the alby app was disabled in the App table when its environment keys weren't configured. This fix adds an ensureAppEnabled helper function that enables the app in the App table before running the tests, treating it as a mock/test setup step. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Summary by cubic
Disabled unconfigured apps by validating required keys and toggling enablement during sync and seeding.
Written for commit 740c987. Summary will update on new commits.