Skip to content

Conversation

keithwillcode
Copy link
Contributor

@keithwillcode keithwillcode commented Dec 4, 2024

What does this PR do?

Our commits take around 4s to complete right now. Instead of having these commands on pre-commit, we'll now have them on pre-push to improve DX.

On a side note, I noticed that all yarn commands in our monorepo have a delay of a few seconds to even startup. I moved the app-store-cli out of the monorepo as a test and running yarn app-store:build takes 1.2s total instead of 4s like in the mono repo. Will continue researching that further.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • N/A - I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Make a change locally that would trigger a change either via lint-staged or in the app store build and ensure the push is blocked.

@keithwillcode keithwillcode self-assigned this Dec 4, 2024
@graphite-app graphite-app bot requested a review from a team December 4, 2024 10:02
@dosubot dosubot bot added the foundation label Dec 4, 2024
@keithwillcode keithwillcode added the core area: core, team members only label Dec 4, 2024
Copy link

graphite-app bot commented Dec 4, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (12/04/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (12/04/24)

1 label was added to this PR based on Keith Williams's automation.

PeerRich
PeerRich previously approved these changes Dec 4, 2024
Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2024 10:17am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2024 10:17am

Copy link
Contributor

github-actions bot commented Dec 4, 2024

E2E results are ready!

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.

Looks good to me, only takes 1-2s for me which confused me a little but apparently it takes a while for others.

@sean-brydon sean-brydon merged commit f63c06d into main Dec 4, 2024
38 checks passed
@sean-brydon sean-brydon deleted the chore/move-pre-commit-to-pre-push branch December 4, 2024 14:51
keithwillcode added a commit that referenced this pull request Dec 4, 2024
keithwillcode added a commit that referenced this pull request Dec 4, 2024
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 foundation ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants