Skip to content

Feat/migrate scratch vm tests#3

Merged
takaokouji merged 6 commits into
developfrom
feat/migrate-scratch-vm-tests
Jan 20, 2026
Merged

Feat/migrate scratch vm tests#3
takaokouji merged 6 commits into
developfrom
feat/migrate-scratch-vm-tests

Conversation

@takaokouji
Copy link
Copy Markdown

No description provided.

takaokouji and others added 6 commits January 19, 2026 18:35
- Migrated Mesh v2, Koshien, and RateLimiter unit tests
- Migrated extensions integration tests
- Migrated load tests

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
- Switch scratch-svg-renderer to @scratch/scratch-svg-renderer for monorepo consistency
- Add jsdom and jsdom-global to scratch-vm devDependencies
- Remove global setup.js requirement from tap tests to prevent hangs
- Add webpack rule for .mjs files in node_modules to support modern dependencies
- Update package-lock.json

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
- Restore Smalruby proxy URL for Translate extension
- Add DefinePlugin to webpack config for Mesh v2 environment variables
- Restore custom format-message lint rules and configuration file

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
@takaokouji takaokouji merged commit 06d61a0 into develop Jan 20, 2026
@takaokouji takaokouji deleted the feat/migrate-scratch-vm-tests branch January 20, 2026 03:46
takaokouji pushed a commit that referenced this pull request Mar 8, 2026
* fix: handle modern workspace comment events

* fix: correctly access coordinates on events
takaokouji added a commit that referenced this pull request Apr 12, 2026
- Add next-steps guidance after student joins classroom (#1)
- Add submit hint for students who haven't submitted yet (#2)
- Add STAGE !== 'prod' failsafe for DEV_BYPASS_TOKEN (#3)
- Add fullscreen tooltip to join code expand button (#4)
- Improve member grid prompt to clarify clickable seats (#5)
- Remove window._classroomIdToken debug variable (#8)

Closes #495

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
takaokouji added a commit that referenced this pull request Apr 18, 2026
Bare string/number/array literals (e.g. "Jimmy", 42, [1,2,3]) are
now auto-assigned to temp variables (_lit_1_, _lit_2_) instead of
causing converter errors. A @ruby:literal:type comment marker
enables the generator to output just the literal on roundtrip.

String: "Jimmy" → data_setvariableto(_lit_1_, "Jimmy") [@ruby:literal:string]
Integer: 42 → data_setvariableto(_lit_1_, 42) [@ruby:literal:integer]
Float: 3.14 → data_setvariableto(_lit_1_, 3.14) [@ruby:literal:float]
Array: [1,2,3] → data_deletealloflist + data_addtolist [@ruby:literal:array]

Symbol (:foo) still errors as before (needs .to_s).

Note: Array literal roundtrip needs further work (TODO).

Refs #524 (Phase 1 #3)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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