fix(ci): remove WASM auto-commit step — blocked by branch protection#424
Merged
ajitpratap0 merged 1 commit intomainfrom Mar 22, 2026
Merged
fix(ci): remove WASM auto-commit step — blocked by branch protection#424ajitpratap0 merged 1 commit intomainfrom
ajitpratap0 merged 1 commit intomainfrom
Conversation
…on main The wasm auto-commit step from PR #423 fails with GH013 (branch protection rules prevent direct pushes to main, even from CI). This aborts the entire deploy pipeline before Vercel runs. The WASM is now committed in git (PR #423), so the auto-commit step is redundant for normal deploys. When wasm/ source changes, rebuild and commit manually. Revert permissions back to contents: read. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @ajitpratap0's task —— View job Code Review for WASM CI FixTodo List
AnalysisChanges Made:
Problem Context: Code Review Feedback✅ Excellent Solution & Code Quality
✅ Security - Improved
✅ CI/CD Best Practices
✅ No Performance Issues
📝 Minor Considerations
🎯 Edge Cases Addressed
Recommendation: ✅ APPROVEThis is a clean, well-reasoned fix that:
The approach of committing WASM files to git (from PR #423) combined with removing auto-commit (this PR) is the correct architectural decision for a repository with branch protection. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
PR #423 introduced an auto-commit step in
website.ymlthat rebuilds and pushesgosqlx.wasmback tomainwhen the source changes. This step fails immediately with:Branch protection requires all changes to
maingo through PRs — even from CI bots. The push is blocked, which aborts the entire deploy pipeline before Vercel runs, meaning the playground is still broken.Fix
permissions: contentsback toreadWhen wasm/ source changes in future
Rebuild manually:
cd wasm && make build && cp playground/gosqlx.wasm ../website/public/wasm/ && git add website/public/wasm/gosqlx.wasm && git commit -m "chore(wasm): rebuild"— then open a PR as normal.Test plan
website.ymldeploy completes successfullyhttps://gosqlx.dev/wasm/gosqlx.wasmreturns HTTP 200🤖 Generated with Claude Code