Repository navigation
feat(monaco-editor): add upstream parity harness and playground - #691
Closed
JesseKoldewijn wants to merge 3 commits into
Closed
JesseKoldewijn wants to merge 3 commits into
JesseKoldewijn wants to merge 3 commits into
Conversation
JesseKoldewijn
force-pushed
the
feat/monaco-editor-harness
branch
2 times, most recently
from
August 10, 2026 19:43
45d7e00 to
22ef7b1
Compare
Vendor @monaco-editor/[email protected], mirror its module layout on the existing ownership-aware binding, and land adapted/differential/SSR/hydration/browser lanes plus examples/monaco-playground without package-specific react-parity CI. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
JesseKoldewijn
force-pushed
the
feat/monaco-editor-harness
branch
from
August 10, 2026 19:50
22ef7b1 to
08daba9
Compare
Contributor
Author
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 08daba9. Configure here.
Align Editor, DiffEditor, Loading, and MonacoContainer declarations with default-only runtime exports so named imports cannot typecheck and fail. Co-authored-by: Cursor <[email protected]>
Contributor
Author
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit d1ca554. Configure here.
5 of 9 tasks
Collaborator
|
Thank you for your contribution! This pull request was incorporated into |
kotarotaniguchi0523
pushed a commit
to kotarotaniguchi0523/octane
that referenced
this pull request
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expand
@octanejs/monaco-editorwith an upstream/parity harness on top of the ownership-aware Editor/DiffEditor runtime from #441. Vendors@monaco-editor/[email protected](eb120e66378471315620fe5339b73ba003f199ad), mirrors its module layout, and lands adapted/differential/SSR/hydration/browser/pristine lanes plusexamples/monaco-playground. No package-specific react-parity CI job.Validation
pnpm syncpnpm react-parity:validate/pnpm react-parity:checkpnpm ci:workflow:testexamples/monaco-playgrounde2e (4)pnpm format:checkpnpm typecheckpnpm test— ran full suite locallyRisk / follow-ups
container-ref,loading-octane-node; ownership-aware dispose is intentional vs upstream.audit/react-parity.jsonevidence hashes forvitest.config.js.Provenance
agent-authored)Note
Medium Risk
Touches editor lifecycle, model ownership/disposal, and hydration—areas where regressions affect real editing apps—but risk is mitigated by broad new test lanes and an example e2e suite rather than production auth or data paths.
Overview
@octanejs/monaco-editorgains a full upstream/parity evidence stack for@monaco-editor/[email protected]: vendoredupstream/source,audit/manifests withparity:generate, adapted upstream shell tests, React/Octane differential lanes, pristine RTL specs, paired typetests, SSR/hydration suites, and a Chromium browser harness with real[email protected]workers.The binding source is reorganized to mirror upstream (
Loading,MonacoContainer,Editor,DiffEditor,hooks/useMonaco), replacing the flatContainer+containerRefpattern withrefon the host div,WeakMapview state keyed by model identity, and documented ownership-aware model disposal (WeakSet/lease counts).examples/monaco-playgroundis a new consumer app (controlled Editor, DiffEditor, theme/language toggles) with Playwright e2e. CI addspackages/monaco-editor/tests/browserto the Chromium shard and excludes it from the default Node shard; docs andstatus.jsonnow claim verified hydration without mismatch warnings.Reviewed by Cursor Bugbot for commit d1ca554. Bugbot is set up for automated code reviews on this repo. Configure here.