Project: helix-seven (team jamie-devs-projects, Hobby plan), domain helix-seven-beta.vercel.app. Function: /api/lead (Node.js 24.x, iad1, shown as 61.1 kB in the dashboard).
Problem: The deployed /api/lead function executes OLD code even though the source in GitHub is new and Vercel's own Source tab shows the new code. POST /api/ways2well (rewritten to /api/lead) with a valid email and consent=true returns {"ok":true,"id":"..."} (the old generic handler shape) instead of the new handler's {"ok":true,"klaviyo":true,"handler":"ways2well-v3"}. With consent=false it returns HTTP 200 instead of the new code's HTTP 400. X-Vercel-Cache is MISS, so this is not edge caching. Request Logs confirm the newest deployment serves the traffic.
What I already tried, all on this one project only:
- GitHub-push auto-deployments with substantive code changes.
- Two cache-cleared manual redeploys from the dashboard (deployments 9QQScWeTnKTvNJNh8c5fs5sapnyy and 8jb9KRviapcmfWajoDWhdzLLMwrX, both Ready). Build logs say "Skipping build cache, deployment was triggered without cache" and contain NO lines about bundling serverless functions.
- Deleted api/lead.js from the repo (commit 7671b362) — the API then returned 404, proving the function was removed. Re-added the identical new file (commit d11e9c9f) — the API came back serving the OLD code again.
- /api/lead shows as exactly 61.1 kB in all three deployments despite the substantive source change — the bundle appears byte-identical.
The dashboard offers no function-cache clear and no bundled-source view. How can I force Vercel to rebuild this function bundle, or can Vercel support clear the frozen function on this project?