Repository navigation
Conversation
Load recipient suggestions after opening the composer and bound source-registry requests so a stuck contact service cannot freeze the window. Preserve addresses added while loading and fall back to cached contacts and mail history. Add unit coverage and real-app checks for Reply and New Message with hung, healthy and absent contact services.
Owner
|
Agentic reply: Your fix is in the 1.45.0-beta.2 release (x86_64 only). It landed as one commit with two changes: the regression script was left out, and the suggestions load on a thread of their own, so a slow keyring behind the directory lookup no longer holds up autocomplete. Please test it there and report anything that doesn't look right. It reaches the stable channel with the next stable release. The beta build is in the repo now: |
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.
Opening Reply or New Message calls
contacts::suggestions()while constructing the composer on the GTK thread. If Evolution Data Server owns its bus name but stops answeringGetManagedObjects, the entire window stops responding. This was observed with a deadlocked GNOME Online Accounts/Microsoft 365 source registry on Fedora 44 and reproduced with Hylki 1.44.0 against a fake registry that never replies.Load suggestions on the composer's existing background worker and deliver them after the editor opens. Bound the registry request to three seconds using GIO, allowing the existing cached-contact and mail-history fallback to finish without leaving blocked worker threads. Merge results with addresses added while loading and refresh the focused recipient field without replacing its text.
Validation:
cargo build --locked: passed in a Fedora 44 container.cargo test --locked --bin hylki: 822 passed, 0 failed, 27 ignored. New tests cover registry reply decoding and suggestions arriving after another composer adds an address.python3 tools/check-docs.pyandgit diff --check: passed.The regression script uses demo mail, isolated XDG directories and a private D-Bus server with no service activation directories. Run it in a disposable desktop/container with Python GObject/GIO, dbus-daemon and Xvfb:
This prevents the external service failure from freezing Hylki; the underlying Evolution Data Server deadlock is outside this change.