Bump Homebrew formula to v0.1.13#23
Merged
Merged
Conversation
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
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>
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.
Mirrors MerlionOS/homebrew-merlion. sha256s match the v0.1.13 release artifacts.
🤖 Generated with Claude Code