Skip to content
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

Update PR stats workflow #50853

Merged
merged 6 commits into from Jun 6, 2023
Merged

Update PR stats workflow #50853

merged 6 commits into from Jun 6, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Jun 6, 2023

Updates to re-use our build workflow so turbo remote cache is leveraged and updates re-usable workflow reference to be the same branch instead of main.

@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team label Jun 6, 2023
@ijjk ijjk force-pushed the update/pr-stats branch 5 times, most recently from 1458849 to d464465 Compare June 6, 2023 15:28
@ijjk ijjk marked this pull request as ready for review June 6, 2023 15:31
@ijjk ijjk requested a review from a team as a code owner June 6, 2023 15:31
@styfle
Copy link
Member

styfle commented Jun 6, 2023

Looks like CI is failing

exec: git clone https://github.com/ijjk/next.js /tmp/next-statsV8elVM/diff-repo
Error occurred generating stats:
Error: Command failed: git clone https://github.com/ijjk/next.js /tmp/next-statsV8elVM/diff-repo

Maybe because its a fork?

@ijjk
Copy link
Member Author

ijjk commented Jun 6, 2023

That occasionally happens from timing out during cloning the different branches, have an optimization for that I'm gonna open a follow-up for

@ijjk ijjk requested a review from styfle June 6, 2023 15:46
styfle
styfle previously approved these changes Jun 6, 2023
@styfle
Copy link
Member

styfle commented Jun 6, 2023

error Failed to load SWC binary for linux/x64

@ijjk ijjk merged commit ea74ad0 into vercel:canary Jun 6, 2023
29 checks passed
@ijjk ijjk deleted the update/pr-stats branch June 6, 2023 16:57
ijjk added a commit that referenced this pull request Jun 6, 2023
ijjk added a commit that referenced this pull request Jun 7, 2023
This fixes the wasm swc build being used for PR stats unexpectedly since
pnpm pack wasn't actually including the swc binary. This also adds a
hard error preventing the wasm swc binary from being leveraged in the
future for PR stats.

x-ref:
[vercel/next.js/actions/runs/5193512579/jobs/9364168639](https://github.com/vercel/next.js/actions/runs/5193512579/jobs/9364168639)
x-ref:
#50853 (comment)

---------

Co-authored-by: Steven <steven@ceriously.com>
hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
Updates to re-use our build workflow so turbo remote cache is leveraged
and updates re-usable workflow reference to be the same branch instead
of main.
hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
This fixes the wasm swc build being used for PR stats unexpectedly since
pnpm pack wasn't actually including the swc binary. This also adds a
hard error preventing the wasm swc binary from being leveraged in the
future for PR stats.

x-ref:
[vercel/next.js/actions/runs/5193512579/jobs/9364168639](https://github.com/vercel/next.js/actions/runs/5193512579/jobs/9364168639)
x-ref:
vercel#50853 (comment)

---------

Co-authored-by: Steven <steven@ceriously.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants