Fix failing regression-tests CI job: mise shim argv[0] and webapp x position - #280
Merged
timmo001 merged 2 commits intoAug 14, 2026
Merged
Conversation
…position Co-authored-by: timmo001 <28114703+timmo001@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job regression-tests
Fix failing regression-tests CI job: mise shim argv[0] and webapp x position
Aug 14, 2026
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
dotfiles-docs | fcb4281 | Commit Preview URL Branch Preview URL |
Aug 14 2026, 01:46 PM |
timmo001
marked this pull request as ready for review
August 14, 2026 13:56
timmo001
enabled auto-merge (squash)
August 14, 2026 14:00
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.
Two test bugs introduced in recent commits caused the
regression-testsjob to fail.tests/scripts/mise.test.sh— shim argv[0] assertionThe test for
exec -aargv[0] preservation usedperl -e 'print $0', but Perl always sets$0to"-e"for inline scripts regardless of the actual argv[0]. Since Perl is a native ELF binary,exec -a name perl script.plcorrectly propagates argv[0] at the OS level — it just can't be observed via$0in-emode.Fix: replace the inline script with a Perl script file that reads
/proc/$$/cmdlineto get the real argv[0]:tests/scripts/launch-floating-webapp.test.sh— wrong expected x positionThe expected x coordinate was
1520but the script correctly computes1514:Fix: update the assertion from
x = 1520tox = 1514.