Skip to content

Fix runtime-smoke bar put by putting a widget the default bar lacks - #15297

Merged
dhh merged 1 commit into
quattrofrom
fix/bar-put-smoke-widget
Oct 14, 2026
Merged

dhh merged 1 commit into
quattrofrom
fix/bar-put-smoke-widget

Conversation

@dhh

@dhh dhh commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What

The runtime smoke test's bar put checks put omarchy.keyboard-layout after omarchy.clock and expected it in center. But config/omarchy/shell.json already carries omarchy.keyboard-layout in right, and put correctly leaves a widget that is already on the bar where it is (PluginRegistry.putBarWidget returns early on inBar(id)) — so the widget could never appear in center and the test failed on quattro with a compositor present.

The test side was wrong, not bar put. This puts omarchy.microphone instead, which the default bar does not carry, so the first put genuinely places it and the second genuinely exercises leave-alone.

Verification

  • Reproduced on quattro: not ok - bar put places a widget after the one it names — keyboard-layout absent from center.
  • With this change, full test/shell.d/runtime-smoke-test.sh passes with a compositor (all 20 checks, including both bar-put checks).
  • Codex review: confirms the test now exercises insertion and idempotence with a registered widget absent from the default bar.

From plans/overnight-quality.md §3 (runtime-smoke "bar put" failure).

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] This test-only change appears safe to merge.

Summary

Replaces omarchy.keyboard-layout with omarchy.microphone in the runtime smoke test’s bar put checks.

  • The runtime smoke test checks bar put with a widget missing from the default bar.

Reviews (1) · Last reviewed commit: "Put a widget the default bar does not al..." · Reviewed by Greptile

'bar put' leaves a widget that is already on the bar where it is, but
the test put omarchy.keyboard-layout, which the default bar already
carries in right, so it could never appear in center after the clock.
Put omarchy.microphone instead, which the defaults do not carry.
@dhh
dhh force-pushed the fix/bar-put-smoke-widget branch from bc31e06 to bd0970d Compare October 14, 2026 01:24
@dhh
dhh merged commit 2b8177f into quattro Oct 14, 2026
@dhh
dhh deleted the fix/bar-put-smoke-widget branch October 14, 2026 06:03
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
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