Repository navigation
fix(editor): build the example plugin before the e2e run and stop pnpm examples following symlinks - #376
Open
Exeloo wants to merge 3 commits into
Open
fix(editor): build the example plugin before the e2e run and stop pnpm examples following symlinks#376Exeloo wants to merge 3 commits into
Exeloo wants to merge 3 commits into
Conversation
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.
What does this PR do?
Closes #237
Closes #297
Refs #224
Two fixes in the dev tooling scripts:
apps/editor/e2e/prepare-workspace.mjs): the example plugin (tooling/example-plugin, the dev plugin of every e2e run) is not in the editor build filter, so a fresh worktree had nodistand the marketplace e2e failed. The e2e prep now builds it at the start of each run, after the example theme. Both builds send their errors to the terminal (stdio: ['ignore', 'ignore', 'inherit']), so a failing build says why.pnpm examples(scripts/examples.mjs): the copy no longer follows symlinks (they are left out with a warning:skipped symlink <path>, orSkipped <group>/<name>: a symlink.for a game folder), and hidden folders are never taken as games, so no copy can replace.examples/.data, the data folder ofpnpm example.AGENTS.mdis updated for both (whatpnpm examplesleaves out; the e2e prep builds the example plugin).#224 (knip failed once in
pnpm lint) stays open: a possible cause was reproduced (knip running during a vite-plugin rebuild), but this PR changes nothing for it.How do you test this PR?
Commands run from the worktree on 5940fa7:
skipped symlink linked;.examples/.datauntouchedbasics/linkedgamesymlink next to a realbasics/realgameSkipped basics/linkedgame: a symlink.; onlyrealis copiedprettier --checkon both scriptspnpm lintNot rerun after 5940fa7:
pnpm build,pnpm typecheck, the unit tests (the commit only touches two.mjsscripts). A red run of #237 and #297 onmainis not recorded.Integration: a scratch branch with every editor branch of this sweep merged passed
pnpm build, lint, typecheck,pnpm test --force(1014 passed, 1 skipped) and the full e2e suite with the engine (141/141, Chromium only).Merge danger
mainstill deploys the editor app.pnpm run buildintooling/example-pluginon every run, which adds that build's time to each e2e start.AGENTS.md: fix/server-core-fs-safety and fix/project-fs-sync also add text there (fix/project-fs-sync adds a bullet right after the "after changing a plugin manifest" line this branch edits). Keep both texts.Follow-up issues
None filed.
Quality gate
Small gate: one reviewer covering every lane.
AGENTS.mdupdated)Last round 5940fa7 (the two Minors): producer checks above, not re-reviewed.