Repository navigation
native/check.sh: a relative MERE is made absolute before the compile - #264
Merged
Merged
Conversation
The script compiles dump.mere from its own directory, so a MERE relative to where it was started named nothing there. CI passes .mere-compiler/_build/default/bin/mere.exe since #261, and the step would have stopped at "check: build failed". tree_check.sh likewise.
284km
commented
Nov 25, 2026
284km
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed acb898f. No findings.
check.shandtree_check.shnow make a relativeMEREabsolute against the caller's directory before the subshell that compiles from the script's own directory. The CI step's.mere-compiler/_build/default/bin/mere.exefrom #261 resolved againsttools/iseq/native/and failed with "build failed". The fix leaves an absolute path, and a bare name found on PATH, unchanged.${MERE:?}keeps the existing requirement that MERE be set (the usage line already says so).git merge-treeagainst current main: clean. No mere-pr-review-watch inline comments. A small CI-tooling fix to a step that is broken on main right now. Merging.
This was referenced Nov 25, 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.
A fix to #261, before main's CI reaches the new step.
tools/iseq/native/check.shcompilesdump.merewith(cd "$here" && "$MERE" -c dump.mere ...), from its own directory. #261 runs it in the corpus job asMERE=.mere-compiler/_build/default/bin/mere.exe sh tools/iseq/native/check.sh corpus/*.rb, a path relative to the checkout, which names nothing after thecd. Reproduced here with the same relative path:The script now makes a relative
MEREabsolute before thecd.tree_check.shhas the same form and the same fix.Checked: with the relative path,
check.shover corpus 801 and 820 (2 the same) andtree_check.shover 801; with an absolute path as before.#261's PR run never ran (it was merged with its checks pending), so main's run 45530405053 is the first to reach these steps. Its other three steps are watched there, and their times will be added to #261.
🤖 Generated with Claude Code