Repository navigation
Merge duplicate tests into shared and table-driven files - #16337
Merged
Merged
Conversation
Migrations run once per machine and are frozen once they ship, so their tests stop guarding anything. Drop the migration test files and the migration blocks inside other tests, and update the testing docs to say migrations get no suite test.
…lock heartbeat wait
…ated script instead of matching its text
omarchy-dns reads it through grep -q under pipefail; a second write after grep stopped reading died of SIGPIPE under load and sent the helper to polkit.
Contributor
[Low impact] The changes since the previous review appear safe to merge. SummaryThe PR combines duplicate tests into shared files and tables. The latest changes tighten hardware setup checks and make the sudo tests safer and less prone to false failures.
Review was based on code inspection; the test suites were not run. Reviews (3) · Last reviewed commit: "Accept either quote style in the native ..." · Reviewed by Greptile |
Quattro rebuilt the Kimi tests on agent-usage-helpers.sh against the current collector contract, which the fold here predates. The keybindings menu keeps this branch's loop over the script's own pairings in place of quattro's restated list.
… keep the shipped ids Set membership passed with the copy-url and yt-dlp grants swapped, and a regenerated key, which orphans an extension's settings, passed too.
A user namespace maps root to real root, so locale-gen would rebuild this machine's locale archive from the scratch locale.gen.
nvidia.sh names hardware/n1x.sh in a comment and a message, so n1x.sh passed as reached with its all.sh line removed.
rdoupe
added a commit
to omarchy-asus/omarchy-asus
that referenced
this pull request
Oct 28, 2026
… Omarchy 4.5.0rc2 (#376) * omarchy 4.5.0rc2-1.101: rebase onto Omarchy 4.5.0rc2 Our patches are now on fork branch asus/v4-5-0-rc2. Most of the adaptations follow upstream's test cleanup: it dropped tests that only read source text (omacom/omarchy#16334), so our edits to them go (0003, 0017, 0026, general-0004), and it merged the stranded-lock test into hyprland-session-lock-test.sh (omacom/omarchy#16337), where 0024's and 0027's cases are ported. 0016 now sits on top of omacom/omarchy#7623, which rc2 ships: the IPN-bus watch replaces its light closed-panel poll, and opening the panel fetches every peer. general-0001's timer stub moves beside upstream's new plugin stub. No carried fix is in rc2, so nothing drops. Co-Authored-By: Claude Opus 5.5 <[email protected]> * omarchy-settings 4.5.0rc2-1.101: rebase onto Omarchy 4.5.0rc2 The same patches as omarchy, from fork branch asus/v4-5-0-rc2; upstream now installs Omarchy's timesyncd drop-in. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: rdoupe <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
omarchybot
added a commit
to vovarbv/omarchy
that referenced
this pull request
Nov 1, 2026
quattro folded test/shell.d/migrate-wrapper-test.sh into migrate-scope-test.sh (omacom#16337), so the locked-run case moves there, written against that file's run_migrate and its own HOME so the earlier cases' markers do not hide the pending migrations. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 1, 2026
omarchybot
added a commit
to ReneXiong/omarchy
that referenced
this pull request
Nov 1, 2026
Quattro's test consolidation (omacom#16337) conflicted with this branch's tests at the end of screenrecording-test.sh; both blocks are kept, the stale-audio tests first, because this branch's block replaces the recorder-process stub they rely on. Quattro's omacom#15073 added a stop branch for a recording with no file to finalize, which relied on the indicator refresh this branch moves out of the common path. It now refreshes there too, with an assertion that a stop with no recording to finalize clears the indicator.
6 tasks done
omarchybot
added a commit
to Faisal-Fayaz/omarchy
that referenced
this pull request
Nov 1, 2026
quattro folded browser-policy-sudoers-test.sh into sudoers-test.sh (omacom#16337) and dropped its grep checks on the helper's source in favour of running it, so the deletion stands and this branch's added grep bans go with it. The rename's behaviour stays covered by browser-policy-dir-test.sh. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 1, 2026
omarchybot
added a commit
to baseman70/omarchy
that referenced
this pull request
Nov 1, 2026
quattro's omacom#16337 and the worktree-shell restart work both appended tests to the end of test/shell.d/restart-shell-test.sh, so the slow lock IPC cases and the worktree shell case now sit one after the other. bin/omarchy-restart-shell merged without conflict. Co-Authored-By: Claude Opus 5.5 <[email protected]>
omarchybot
added a commit
that referenced
this pull request
Nov 1, 2026
quattro folded hyprland-session-lock-stranded-test.sh into hyprland-session-lock-test.sh (#16337), so the voxtype cases move there, against the real omarchy-hyprland-session-locked, with the overlapping hyprlock and data-directory cases folded together. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 1, 2026
omarchybot
added a commit
to hanscnelson/omarchy
that referenced
this pull request
Nov 2, 2026
quattro folded hw-external-monitors-test.sh into hw-display-test.sh (omacom#16337), so the Touch Bar cases move there. Three of the eight are dropped as covered by the rest: the standalone and T1 interface-bound Touch Bar cases exercise the same interface lookup as the T2 case, and a disconnected Touch Bar beside HDMI was already ignored by the status check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
3 of 4 tasks
namespaceMarcello
added a commit
to namespaceMarcello/omarchy
that referenced
this pull request
Nov 2, 2026
omacom#16337 folded menu-guards-parallel-test.sh into menu-guards-test.sh, in the same order and with its menu_js helper. Move this branch's block there too, after the captured-reader case, as it stood in the old file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 3, 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.
Folds duplicated test files together and turns per-item files into tables, and makes several checks able to fail that couldn't.
Merges:
audio-pactlreplaces the three pactl tests.shell-ipccollects theomarchy-shellIPC tests. Its trailing-newline case goes:$()strips trailing newlines whatever the client prints.keybindings-menumerges the three keybindings tests.dev-linkanddev-unlinkshare one file, and the mise node and python dev-env tests become one table.menu-guards-parallelintomenu-guards,migrate-wrapperintomigrate-scope(which now stubs the dismiss so it doesn't close a real toast),mkinitcpio-apple-drop-insintomkinitcpio-hooks,factory-reset-limine-hashesintofactory-reset-limine,hw-external-monitorsintohw-display, the two session-lock files into one,screenrecording-stale-audiointoscreenrecording, andhook-state-name-guardinto one loop.Tables:
sudoers-testreplacestimezone,dns-sudoersandbrowser-policy-sudoers, plus the rule half oflocale-sudoers.visudo -cf; the timezone regex runs through permit/refuse rows.omarchy-dns,locale-generateandbrowser-policyrun as root in a user and mount namespace behind a poisoned PATH, instead of having their source grepped. The locale probe uses a code the packaged registry knows, so a root half that honouredOMARCHY_LOCALE_GENgoes red.sudoignores SIGPIPE.grep -qcloses the pipe at its first match, and under the parallel runner's load 41 of 300 elevation probes fell back topkexec; none do now. Thelocale-genprobe skips when the test itself runs as root, where the namespace would map to real root.hardware-quirks-testreplaces seven per-quirk files. It runs each leaf against a fake machine (no-op on a non-match, install on a match, plus SKU and failure rows), includingn1x.sh, whose next step after its gate drops every kernel but linux-omarchy. It also runs the real config, hardware and user dispatchers and requires every setup script to be reached, with platform setup last; a comment or message naming a leaf doesn't count as reaching it.chromium-extensions-testcomputes each bundled extension's id from itskey, pins the ids that shipped, and holds each native host to exactly the extensions whose scripts message it. It runs the realinstall/user/chromium.shinto a scratch home.Checks that could never fail now can:
v13while the code reads a newer key. It now builds a real cache first, and goes red with the key-names file left out of the cache key.migrate-notifyforeign lock: it would have passed against the shared/tmplock. It now holds that lock inside a private mount namespace, and goes red against a notifier reverted to the shared lock.theme-set-browser-testnow asserts the argument.Dropped on purpose: the exact migrate toast copy, the
--forcerejection frommigrate-wrapper, the exact mise call log (now per line), the WhatsApprun_atvalue and the copy-url permission list. They're output strings, an unknown-option branch or manifest values.Quattro rebuilt the Kimi tests, so the
agent-usage-kimifold is gone. Its version sits onagent-usage-helpers.sh(#14040) against the current collector contract. Now based on quattro, with quattro merged in; all 23 changed test files pass on their own.