chore(plan): weekly routine 2026-06-12 + fix .env.production base path#264
Conversation
… palettes (User Idea) - Mobile-lite render mode (last week's focus) reconciled to Done (PR #251); runtime verify → Backlog - Storage save-back + sync landed (#254); issue #252 rating-hookup remnant → Backlog - Today's focus: dynamic per-instrument color palettes (extends colorPalette uniform / PR #148) - Decoupled Copilot issue this run: media overlay auto-sync + timing controls
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesProject Status and Focus Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Weekly routine — 2026-06-12 (+ a build-pipeline fix)
Two things in this branch:
1.
weekly_plan.mdupdate (Mode: User Idea)colorPaletteuniform / PR Fix color-per-note drift, expression LEDs, and add palette switching #148).2.
fix(build): make.env.productionactually set the Vite base pathFound during a pipeline-hygiene pass.
vite.config.tsreadprocess.env.VITE_APP_BASE_PATH, but Vite does not populateprocess.envfrom.envfiles (onlyimport.meta.env, vialoadEnv). So the.env.productionadded earlier this cycle ("so production builds always use /xm-player/ base path") was a no-op forbase— a plainnpm run buildemitted base/and would produce a broken subdirectory deploy, caught only bydeploy.py'svalidate_build_base_path()backstop.Fix:
loadEnv(mode, cwd, 'VITE_')with precedence inline/shell env var →.env[.mode]→/. Verified empirically:npm run build→ now emits/xm-player/base via.env.production✅build:xm-player(inline env) → still/xm-player/✅ (no regression).env.development) → still/✅ (no regression)tsc && vite buildgreen; canonical dist audited (correct/xm-player/asset URLs, no double-prefix, 32 shaders + worklets copied).https://claude.ai/code/session_01Q6U84mzffZsvu3yZPeo83h