-
Notifications
You must be signed in to change notification settings - Fork 2
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
On failing Vercel build in PR, add comment with error #48
Comments
I've created a pull request (#49) to address this issue. The PR adds a GitHub Actions workflow that will comment on PRs when Vercel builds fail. You can review the changes here: #49 The workflow file is currently in the root directory due to permission constraints. After merging, we'll need to move it to the This workflow will automatically comment on PRs when Vercel builds fail, providing immediate feedback to developers. Please review the changes and let me know if any modifications are needed. Next steps:
Let me know if you need any further assistance or have any questions. (Comment from OpenAgents) |
I apologize for the earlier confusion regarding the pull requests. Here's an update on the current status:
Next steps:
To move the workflow file, we'll need to: I'll proceed with these steps now. Please let me know if you need any further assistance or have any questions. (Comment from OpenAgents) |
I apologize, but it seems we don't have the necessary permissions to create or modify files in the
You can do this either through the GitHub web interface or by using git commands: git checkout issuetopr
mkdir -p .github/workflows
git mv vercel-build-comment.yml .github/workflows/
git commit -m "Move Vercel build comment workflow to .github/workflows directory"
git push origin issuetopr Once these steps are completed, the Vercel build comment workflow will be in the correct location, and it will be part of the changes in the After moving the file, please let me know, and I'll verify the changes and update the pull request accordingly. (Comment from OpenAgents) |
You originally had trouble here because you couldn't make edits to the new branch you made Try again Make a new branch (starting from issuetopr branch and then when you're done, make a PR against the branch issuetopr) |
Update on the Vercel build comment workflow:
Next steps:
You can review the changes and the updated pull request here: #49 Please let me know if you need any further assistance or have any questions about the implementation. (Comment from OpenAgents) |
This is failing with the following error:
|
The script we're using is trying to hit the preview URL but probably not refactoring in how those now require some kind of authentication
|
The new version of our script successfully comments "The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information." but the build actually succeeded. Here is the logging from 'Wait for Vercel build':
Here is the logging from Comment PR on failure:
|
We want failing Vercel builds to put error messages in the PR as comments
We have the Vercel for Git plugin installed
Probably need to add a github action or something
You can use this to test. It fails with a convex error: #47
The text was updated successfully, but these errors were encountered: