Repository navigation
Conversation
Avoids failing the fetch mode ladder test when the developer running the test suite has `preview_lines = 0` configured in their local ~/.config/hylki/privacy.toml.
8000
Owner
|
Thanks for this fix! It will go out in 1.44.0 beta later today |
Contributor
Author
|
Great to hear, and thank you for Hylki! Finally an email client that both looks good and actually works for Linux. |
hyprlab
added a commit
that referenced
this pull request
Oct 10, 2026
The ladder test read privacy.toml, so it failed for anyone who shows no preview lines. Co-Authored-By: Yo'av Moshe <55081+bjesus@users.noreply.github.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.
worker::fetch_mode_tests::ladder_visits_every_way_of_asking_oncewas reading the local ~/.config/hylki/privacy.toml file, causing the test to fail if the user configured Hylki to show 0 preview lines.This fix ensures inline_previews_wanted assumes previews are enabled under cfg!(test), so unit tests remain isolated from local user configurations without affecting production builds.