Community
Troubleshooting
Stuck batch? Auth fail? Decision trees for common Phase1 failures: alarms/heartbeats/auth middleware.
TL;DR: Stuck? Check heartbeats/alarms. Auth 401? Verify tokens. Decision trees below. ✅ Recover fast.
Table of Contents
Stuck Batch
From PLAN.md batch/heartbeat:
Auth Fail
From auth.ts:
Common Errors
| Error | Cause | Fix |
|---|---|---|
| Batch stuck | No heartbeat | Resend query |
| 401 Auth | Missing token | bun scripts/config.ts |
| Tests fail | Lint error | bun run check |
| Deploy fail | Wrangler login | bunx wrangler login |
Quiz: Stuck >30s?
A: Watchdog recovers ✅
Pro Tip ✅: Logs in Cloudflare dashboard.
CTA: Share fix -> Feedback | Issues
Contrib: "Fixed X via Y!"