Skip to content

Fix classic CAD worker boot and show loading notice#17

Merged
SmartAI merged 1 commit into
mainfrom
ui
Jul 12, 2026
Merged

Fix classic CAD worker boot and show loading notice#17
SmartAI merged 1 commit into
mainfrom
ui

Conversation

@SmartAI

@SmartAI SmartAI commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep the Pyodide worker valid as a classic worker in Vite dev mode
  • show a centered canvas notice while the CAD environment downloads or installs
  • add regression coverage for classic-worker imports and version synchronization

Root cause

The Pyodide CDN was healthy. A runtime import added to the classic worker caused Vite dev mode to serve syntax that classic workers cannot parse, leaving the UI at its initial downloading status before any runtime request started.

Verification

  • npm test
  • npm run build
  • Chromium cold boot reaches Ready with all Pyodide runtime requests returning 200
  • Chromium reload reaches Ready with zero console errors

@SmartAI SmartAI merged commit c84d91c into main Jul 12, 2026
1 check passed
@SmartAI SmartAI deleted the ui branch July 12, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant