Skip to content

Bump Homebrew formula to v0.1.13#23

Merged
lai3d merged 1 commit into
mainfrom
claude/bump-formula-v0.1.13
May 22, 2026
Merged

Bump Homebrew formula to v0.1.13#23
lai3d merged 1 commit into
mainfrom
claude/bump-formula-v0.1.13

Conversation

@lai3d

@lai3d lai3d commented May 22, 2026

Copy link
Copy Markdown
Contributor

Mirrors MerlionOS/homebrew-merlion. sha256s match the v0.1.13 release artifacts.

🤖 Generated with Claude Code

sha256s for v0.1.13 release artifacts (mirrors MerlionOS/homebrew-merlion):
- aarch64-apple-darwin     52e7ef7af461bad6e8fb293718b1b440d8946fb2bd872801cda6844850d5425d
- x86_64-apple-darwin      cafa1cdbef89a8cc3f806c532ffaf4cff0ef20840879b4c5a7967ec53c2e8d51
- aarch64-unknown-linux-gnu 5fb088ba9c3c005f0d633d5a37f0128fbfcc960d346efe35cbdf769efd79ca9d
- x86_64-unknown-linux-gnu  fde77851a7a4d84615a0251d3d90168867ef8304135bd310e93201ba6529337b

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lai3d lai3d merged commit cf6556c into main May 22, 2026
1 of 2 checks passed
@lai3d lai3d deleted the claude/bump-formula-v0.1.13 branch May 22, 2026 03:20
lai3d added a commit that referenced this pull request May 22, 2026
PR #23 (Homebrew v0.1.13 bump) tripped a pre-existing race in
`tui::theme::tests` on macOS. The two tests shared a process-global
env var:

  dark_is_default_when_env_unset:  remove_var("MERLION_THEME")
  light_kicks_in_when_env_is_light: set_var("MERLION_THEME","light")

`cargo test` runs tests on parallel threads; the env var is per-process,
not per-thread, so when scheduling interleaved them the "default" test
saw the "light" value left over from the other thread and panicked.
The ordering had been benign on Ubuntu but flipped on macOS.

Fix: extract a pure `ThemeKind::parse(Option<&str>)` from `from_env()`.
Tests now call `parse(None)` / `parse(Some("light"))` and never touch
process env. Three tests instead of two — added an "unknown value /
empty string falls back to Dark" case for free.

Note: v0.1.13 itself shipped fine (the tagged release workflow on a
fresh checkout passed; this race is `cargo test` order-dependent). This
patch just cleans up CI signal for future PRs.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant