Skip to content

Give reload-checking tests a Hyprland signature - #17455

Merged
dhh merged 1 commit into
quattrofrom
hyprctl-reload-tests-outside-session
Nov 3, 2026
Merged

dhh merged 1 commit into
quattrofrom
hyprctl-reload-tests-outside-session

Conversation

@dhh

@dhh dhh commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #17420, which merged before this landed.

Outside a Hyprland session (ssh, CI without a desktop), omarchy-restart-hyprctl now reloads with hyprctl --instance 0 reload. Four tests inherit the runner's environment and expect a plain reload from their hyprctl stub, so they fail there:

  • config-test.sh
  • hyprland-corners-test.sh
  • hyprland-floating-workspaces-test.sh
  • hyprland-window-transparency-test.sh

Each now exports a fake HYPRLAND_INSTANCE_SIGNATURE, as theme-set-budget-test.sh already does, so they test the in-session path wherever they run.

🤖 Generated with Claude Code

Run outside a session, the helper reaches Hyprland with --instance 0,
which these tests' hyprctl stubs didn't expect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dhh
dhh marked this pull request as ready for review November 3, 2026 15:01
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Four shell tests now export HYPRLAND_INSTANCE_SIGNATURE=test so their reload checks use the in-session path even over SSH or without a desktop.

  • Four reload-checking tests use a fake Hyprland session.

Reviews (1) · Last reviewed commit: "Give reload-checking tests a Hyprland si..." · Reviewed by Greptile

@dhh
dhh merged commit 857afe1 into quattro Nov 3, 2026
2 checks passed
@dhh
dhh deleted the hyprctl-reload-tests-outside-session branch November 3, 2026 15:23
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 3, 2026
Run outside a session, the helper reaches Hyprland with --instance 0,
which these tests' hyprctl stubs didn't expect.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
Run outside a session, the helper reaches Hyprland with --instance 0,
which these tests' hyprctl stubs didn't expect.

Co-authored-by: Claude Opus 5.5 <[email protected]>
berenddeboer pushed a commit to berenddeboer/omarchy that referenced this pull request Nov 6, 2026
Run outside a session, the helper reaches Hyprland with --instance 0,
which these tests' hyprctl stubs didn't expect.

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 857afe1)
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