chore: add .vercelignore + ignore .vercel link state#67
chore: add .vercelignore + ignore .vercel link state#67
Conversation
Vercel project rootDirectory=website. Default upload from repo root pulls target/ (8GB), node_modules/, .git, etc. — exceeds 10MB request limit. .vercelignore scopes upload to website/ only. Also gitignore .vercel link state so contributors can link their own.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe changes add Vercel-related configuration to ignore files across the project, preventing version control and deployment build artifacts from being tracked. A new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 1/3 review remaining, refill in 29 minutes and 6 seconds. Comment |
Summary
Two small fixes so the Vercel deploy works without a deploy hook secret.
.vercelignore
Vercel project `agentos` has `rootDirectory=website`. Default `vercel deploy` from repo root uploads everything not gitignored — including `target/` (8GB), `node_modules/` (~130MB), and the rest of the Rust workspace. That exceeds Vercel's 10MB request limit and the deploy fails.
`.vercelignore` scopes the upload to `website/` only.
.gitignore
Adds `.vercel` so contributor-local link state stays out of git.
Context
Today's prod deploy succeeded once `.vercelignore` was in place. Without committing it, every contributor running `vercel deploy` from the repo root will hit the same limit.
Test plan
Summary by CodeRabbit