Skip to content

Conversation

@anikdhabal
Copy link
Contributor

@anikdhabal anikdhabal commented Jan 19, 2026

Summary by cubic

Disabled unconfigured apps by validating required keys and toggling enablement during sync and seeding.

  • Bug Fixes
    • Enforce shouldEnableApp schema checks in syncAppMeta, app creation, and seeding to auto-disable apps without valid keys.
    • Add tests for shouldEnableApp.

Written for commit 740c987. Summary will update on new commits.

devin-ai-integration bot and others added 8 commits January 17, 2026 16:15
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>
@anikdhabal anikdhabal requested a review from a team as a code owner January 19, 2026 17:09
@graphite-app graphite-app bot added the core area: core, team members only label Jan 19, 2026
@anikdhabal anikdhabal enabled auto-merge (squash) January 19, 2026 17:10
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

Copy link
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

@github-actions github-actions bot marked this pull request as draft January 19, 2026 17:19
auto-merge was automatically disabled January 19, 2026 17:19

Pull request was converted to draft

@emrysal
Copy link
Contributor

emrysal commented Jan 19, 2026

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.

@anikdhabal anikdhabal force-pushed the hide-apps-from-appstore branch from e8543aa to 9c2e58e Compare January 19, 2026 18:03
emrysal
emrysal previously approved these changes Jan 19, 2026
Copy link
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍

@anikdhabal anikdhabal changed the title chore: hide apps with missing required keys from app store chore: disable apps with missing required keys Jan 19, 2026
@anikdhabal anikdhabal marked this pull request as ready for review January 19, 2026 19:16
@anikdhabal anikdhabal enabled auto-merge (squash) January 19, 2026 19:16
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

Copy link
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approved

@anikdhabal anikdhabal merged commit ad137fb into main Jan 19, 2026
80 of 81 checks passed
@anikdhabal anikdhabal deleted the hide-apps-from-appstore branch January 19, 2026 19:32
devin-ai-integration bot added a commit that referenced this pull request Jan 21, 2026
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>
emrysal added a commit that referenced this pull request Jan 21, 2026
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only ready-for-e2e size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants