Repository navigation
Probe CJK coverage explicitly in the single-font injection test - #16884
Conversation
#9193 made CJK font-fallback injection fail closed when the configured family cannot be resolved. testShouldInjectCJKFontFallbackAllowsSingle FontWithoutExplicitOverrides relied on JetBrains Mono being installed, so it failed on CI runners without that font. It now passes a coverage probe that reports no CJK coverage, which tests the single-font rule without depending on the machine's fonts.
|
All contributors have signed the CLA ✍️ ✅ |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe single-font fallback test now injects a range-coverage probe. It checks for ChangesFont fallback test
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~4 minutes Change: Other Merge Risk: ⚪ Minimal · up to This makes the fallback test independent of fonts installed on the test machine without changing product behavior. No actionable merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Merge receipt for |
23d3e88 Probe CJK coverage explicitly in the single-font injection test (manaflow-ai#16884)
Main's full suite on b9ca453 (https://github.com/manaflow-ai/cmux/actions/runs/37017476521) failed a test that had not run while the app test target could not compile (fixed in #16797).
#9193 made CJK font-fallback injection fail closed when the configured family cannot be resolved.
testShouldInjectCJKFontFallbackAllowsSingleFontWithoutExplicitOverridesrelied on JetBrains Mono being installed, so it failed on runners without that font. It now passes a coverage probe that reports no CJK coverage. That tests the rule (a single font without overrides still gets injection) without depending on installed fonts. Product behavior is unchanged; #9193 has its own tests for the fail-closed path.The same full-suite run also failed
SimulatorPrivatePrivacyAdapterTests"Runtime-wide TCC readback groups applications and stays bounded" once. It is not changed here: it passed 25 of 25 local stress runs, its query returns all 258 rows on SQLite 3.43.2 (the macOS 15 runner's version), and the code it covers has not changed since 2026-09-10. It looks like a rare flake under CI load.Testing
macos / macOS compile admissionrancmuxTests/GhosttyMouseFocusTests, andtestShouldInjectCJKFontFallbackAllowsSingleFontWithoutExplicitOverridespassed.Changelog
No user-facing change.