refactor: replace axios with native fetch [P1.04]#120
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (9)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review by Qodo
1.
|
|
Persistent review updated to latest commit 6e6435d |
… in finally Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
P1.04 Replace axios with native fetchagents/p1-03-eslint-plugin-svelte3-eslint-plugin-svelte-full-migrationcleancompleted at 2026-05-02 08:16 UTCExternal AI Review
response.okcheck (src/routes/api/wakatime/current/durations/+server.ts): Non-2xx WakaTime responses were silently treated as success and returned to the cron pipeline. Addedif (!response.ok) throw error(...)before.json(). Commit28c08bf.loading.off()not called on fetch error (src/routes/+page.svelte):onWakaRangeleft the loading store stuck on network/parse failure. Wrapped intry/finally. Commit28c08bf.axiosreference: The reference in the State management section is addressed in PR docs(phase-01): closeout ticket - mark complete, update CLAUDE.md, roadmap, and plan [P1.06] #122.