You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d7e663
Browse filesBrowse the repository at this point in the historyBrowse files
docs: add Option C WebWorker implementation progress summary
- Document all 5 phases and 16 tasks completed
- Note current issue: iframe can't connect to localhost:5173
- List all files modified/created
- Provide reproduction steps and investigation checklist for next session
Copy file name to clipboardExpand all lines: AGENTS.md
+105Lines changed: 105 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,3 +54,108 @@ Steps to re-enable:
54
54
`vector` base class, giving a performance boost for vector-heavy programs.
55
55
56
56
5.**Rebuild vpython.zip** — `npm run zip` in wmWVPRunner, then `do_build.sh`.
57
+
58
+
## Option C (WebWorker) Implementation — Issue #1 Fix (In Progress)
59
+
60
+
**Status:** Code complete and committed (14 commits), but runtime integration broken. Iframe at `localhost:5173` refuses to connect from Flask parent.
61
+
62
+
### What Was Done
63
+
64
+
Implemented Option C architecture from wmWVPRunner/ISSUES.md to resolve Issue #1 (rate() inside user functions causing SyntaxError). Full 5-phase implementation across 16 tasks:
65
+
66
+
**Phase 1 (Tasks 1-3):** Worker skeleton
67
+
- Created `src/lib/workers/pyodide-worker.js` — Pyodide initialization on worker thread
68
+
- Added `initializeWorker()` helper to `src/lib/utils/utils.js` with proper resource cleanup
0 commit comments