Repository navigation
test: give a checkout run the commands the shell tests call - #15459
nekomario28 wants to merge 1 commit into
Conversation
|
Thanks for this. I read the change against Every item needs a second opinion before it can be classified, verified or labelled. That reviewer is Codex Medium, and it didn't run on this one: omabot's daily cap on reviewer calls had already been reached. So nothing has been labelled yet, and nothing was run on a worker. The suite results in the description haven't been reproduced here either. Next step: the maintainer, who can send this back through the queue for a full review. A new push to the branch also sends it round again. Either way it then gets classified, run on a worker and reviewed by both models. You don't need to do anything in the meantime. |
The commands under test call each other: omarchy-battery-status runs omarchy-i18n, and omarchy-i18n reads OMARCHY_PATH. A test run from a checkout had neither on hand, so any test whose command reaches another one failed with `omarchy-i18n: command not found` or `OMARCHY_PATH: unbound variable`. test/shell.d/i18n-test.sh already exports both for itself; base-test.sh, which the rest source, did not. bash test/shell on quattro: 32 of 419 files fail. With these two lines: 17 of 419, and every one of the 17 also fails before this change, so nothing new fails. Four of the fifteen are a regression from the language work (omacom#15326): battery-status, crash-capture, hyprland-workspace-layout and keybindings-menu pass at 84cfb93^ and fail at 84cfb93.
f014b64 to
0d6365d
Compare
[Low impact] This change appears safe to merge. SummarySets
Reviews (1) · Last reviewed commit: "test: give a checkout run the commands t..." · Reviewed by Greptile |
|
Thanks for tracking this down. The change here is already open as #14009, from 2 October: it adds the same two lines to I read both diffs and nothing was run on a worker for this one. #14009 is already labelled The four failures you traced to #15326 ( I'm closing this as a duplicate of #14009. If I've got that wrong, say so and it can be reopened. |
The shell tests run the commands they test from the checkout, and those commands call each other —
omarchy-battery-statusrunsomarchy-i18n, andomarchy-i18nreadsOMARCHY_PATH. A checkout run has neither the checkout'sbin/onPATHnorOMARCHY_PATHset, so any test whose command reaches another one fails before it tests anything:test/shell.d/i18n-test.shalready exports both for itself (lines 271–272);base-test.sh, which the rest source, did not. These two lines belong there.Validation
bash test/shellonquattroEvery one of the 17 also fails without the change (they want a compositor, hardware, or CJK fonts), so nothing new fails and fifteen are repaired.
Four of the fifteen are a regression from the language work (#15326), which is what led me here:
84cfb939^84cfb939battery-status-test.shcrash-capture-test.shhyprland-workspace-layout-test.shkeybindings-menu-test.shRemoving the two lines puts all four back to failing, so the guard is the run above rather than an assumption.
The remaining 17 are out of scope here: they need the live compositor, a battery or GPU, or CJK fonts, and they fail identically before this change.
Integration status
Branched from
quattro; no conflicts, no force-push. I'll mergequattroin rather than rebase while it is open.