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

[cli] Collect diagnostics from builders during vc build #11653

Merged
merged 19 commits into from
Jul 1, 2024

Conversation

TooTallNate
Copy link
Member

@TooTallNate TooTallNate commented May 23, 2024

Adds the ability for builders to define a diagnostics step that is called after the build operation is done (either failed or successful).
Implements the diagnostics step in the next builder.

References

Copy link

changeset-bot bot commented May 23, 2024

🦋 Changeset detected

Latest commit: 3fba506

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@vercel/build-utils Minor
@vercel/next Minor
vercel Minor
@vercel/client Patch
@vercel/gatsby-plugin-vercel-builder Patch
@vercel/node Patch
@vercel/static-build Patch
@vercel-internals/types Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

'vercel': minor
---

Output "diagnostics" directory during `vc build`
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be great to have some tests around this logic

Copy link
Member

Choose a reason for hiding this comment

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

@TooTallNate Could you help with setting up some test?

@ofhouse ofhouse changed the title [cli] Output "diagnostics" directory during vc build [cli] Collect diagnostics from builders during vc build Jun 21, 2024
@ofhouse ofhouse marked this pull request as ready for review June 21, 2024 12:12
@trek trek added the pr: automerge Automatically merge the PR when checks pass label Jul 1, 2024
@kodiakhq kodiakhq bot merged commit 394eddb into main Jul 1, 2024
107 of 109 checks passed
@kodiakhq kodiakhq bot deleted the vc-build-diagnostics branch July 1, 2024 18:27
feugy pushed a commit that referenced this pull request Jul 2, 2024
Adds the ability for builders to define a `diagnostics` step that is called after the build operation is done (either failed or successful).
Implements the diagnostics step in the next builder.

**References**
- vercel/next.js#66187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Automatically merge the PR when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants