Skip to content

[pull] main from lynx-family:main#593

Merged
pull[bot] merged 1 commit intocolinaaa:mainfrom
lynx-family:main
Apr 22, 2026
Merged

[pull] main from lynx-family:main#593
pull[bot] merged 1 commit intocolinaaa:mainfrom
lynx-family:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 22, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@coderabbitai summary

## Overview

- Snapshot runtime internals were still spread across public-looking
runtime source and test roots, which made it unclear which code belongs
to the legacy Snapshot backend and which paths ET should be allowed to
depend on.
- This change contains those Snapshot-owned runtime modules and tests
under snapshot-specific roots while keeping the existing package entries
and runtime root modules as the stable integration surface.

## Key Points

- Moves the legacy Snapshot implementation directories under
`packages/react/runtime/src/snapshot/` instead of introducing a broad
facade layer.
- Moves Snapshot-specific runtime tests, including CSS and shared test
utilities, under `packages/react/runtime/__test__/snapshot/` and keeps
non-Snapshot runtime tests outside that subtree.
- Adds a guardrail suite that fails if old Snapshot implementation roots
reappear, if ET code imports Snapshot-private paths, or if package
metadata exposes stale internal locations.
- Leaves the existing dark-mode transform self-import unchanged because
`__SetClassesDarkMode` is not exported from the runtime root today; the
guardrail documents that as a narrow known exception.

## Checklist

- [x] Tests updated (or not required).
- [x] Documentation updated (or not required).
- [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be
clearly marked (or not required).
@pull pull Bot locked and limited conversation to collaborators Apr 22, 2026
@pull pull Bot requested a review from colinaaa as a code owner April 22, 2026 03:37
@pull pull Bot added the ⤵️ pull label Apr 22, 2026
@pull pull Bot merged commit e9fe5c5 into colinaaa:main Apr 22, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant