Skip to content

Fix compile-tests workflow#121

Merged
loganek merged 1 commit intoWebAssembly:mainfrom
wingo:fix-workflow
Aug 27, 2025
Merged

Fix compile-tests workflow#121
loganek merged 1 commit intoWebAssembly:mainfrom
wingo:fix-workflow

Conversation

@wingo
Copy link
Copy Markdown
Collaborator

@wingo wingo commented Aug 27, 2025

Moving source files out of the built dir effectively removed the built dir, causing merge conflicts in the workflow that rebuilt the wasm tests which were supposed to be in that dir.

Fix by doing a --strategy ours merge, then forcibly resetting the tree state to the main branch, then checking out the built files. This ensures that the tree contains precisely the upstream source code, plus our built files, while keeping the parent tree.

@wingo
Copy link
Copy Markdown
Collaborator Author

wingo commented Aug 27, 2025

Hmm, need to --no-commit the merge I think... apologies for the noise :/

Moving source files out of the built dir effectively removed the built
dir, causing merge conflicts in the workflow that rebuilt the wasm tests
which were supposed to be in that dir.

Fix by doing a `--strategy ours` merge, then forcibly resetting the tree
state to the main branch, then checking out the built files.  This
ensures that the tree contains precisely the upstream source code, plus
our built files, while keeping the parent tree.
@loganek loganek merged commit cac5e8a into WebAssembly:main Aug 27, 2025
14 checks passed
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.

2 participants