Skip to content

ci: add separate typecheck and lint workflows for companion#26961

Merged
anikdhabal merged 7 commits intomainfrom
devin/1768666328-add-companion-typecheck
Jan 19, 2026
Merged

ci: add separate typecheck and lint workflows for companion#26961
anikdhabal merged 7 commits intomainfrom
devin/1768666328-add-companion-typecheck

Conversation

@anikdhabal
Copy link
Contributor

@anikdhabal anikdhabal commented Jan 17, 2026

What does this PR do?

add separate typecheck and lint workflows for companion. This would have caught the missing useEffect import issue in PR #26931 before it was merged.

Background: PR #26931 was merged with useEffect being used but not imported in AvailabilityDetailScreen.tsx and AvailabilityDetailScreen.ios.tsx. The companion CI only ran builds (expo export and ext:build) which don't catch TypeScript errors the same way tsc --noEmit does.

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 force-pushed the devin/1768666328-add-companion-typecheck branch from f538b7c to 00fae93 Compare January 17, 2026 16:42
@anikdhabal anikdhabal changed the title ci(companion): add separate typecheck workflow to catch type errors ci: add separate typecheck and lint workflows for companion Jan 17, 2026
@calcom calcom deleted a comment from devin-ai-integration bot Jan 17, 2026
@anikdhabal
Copy link
Contributor Author

@anikdhabal anikdhabal marked this pull request as ready for review January 17, 2026 16:57
@anikdhabal anikdhabal requested a review from a team as a code owner January 17, 2026 16:57
@graphite-app graphite-app bot added the core area: core, team members only label Jan 17, 2026
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 4 files

Copy link
Member

@dhairyashiil dhairyashiil left a comment

Choose a reason for hiding this comment

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

left some comments

@github-actions github-actions bot marked this pull request as draft January 17, 2026 17:25
@anikdhabal anikdhabal marked this pull request as ready for review January 19, 2026 03:50
@anikdhabal anikdhabal enabled auto-merge (squash) January 19, 2026 03:50
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 3 files

dhairyashiil
dhairyashiil previously approved these changes Jan 19, 2026
Copy link
Member

@dhairyashiil dhairyashiil left a comment

Choose a reason for hiding this comment

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

lgtm, thank you for implementing this 🙏🏼

Copy link
Contributor

@keithwillcode keithwillcode left a comment

Choose a reason for hiding this comment

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

Let's do something similar that we did with "Production builds" where in pr.yml, we name them the same thing so that on the left side they end up grouped together under the existing "Linters" and "Type checks" sections (currently "Type check", let's rename to "Type Checks")

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

Pull request was converted to draft

@anikdhabal anikdhabal marked this pull request as ready for review January 19, 2026 14:30
@anikdhabal anikdhabal enabled auto-merge (squash) January 19, 2026 14:30
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 3 files

@anikdhabal anikdhabal merged commit a8abe2c into main Jan 19, 2026
74 of 77 checks passed
@anikdhabal anikdhabal deleted the devin/1768666328-add-companion-typecheck branch January 19, 2026 14:40
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/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments