You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky test: the word index's progress may not have its total yet - #1268
macOS CI failed at random (#1110, #1155) on the_index_is_built_in_the_background_and_says_how_far_it_has_got: straight after the list is first shown, the background thread may not have counted the messages yet, so the progress reads Building { done: 0, total: 0 }. The check there now takes any progress; the total is still checked once the index is complete.
This only changes a flaky test and does not affect production behavior. It is safe to merge.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Description check
The description states the problem (macOS CI flakiness, issues #1110 and #1155), the test name, the cause (the background thread may not have counted messages yet, giving Building { done: 0, total: 0 …
Add 'Closes #1110' (or the relevant issue number) at the top of the description. Fill in 'What changes for the person using MailCraft', noting that no user-facing behaviour changes if that is the case. Complete 'How it was checked' by stati…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the flaky test and the cause: the word index's progress may not have its total yet. It matches the single change in words_tests.rs, which relaxes the progress check right after the fir…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the flaky test and the cause: the word index's progress may not have its total yet. It matches the single change in words_tests.rs, which relaxes the progress check right after the first row display. The title is specific and describes the main change.
Full details: Description check
Explanation
The description states the problem (macOS CI flakiness, issues #1110 and #1155), the test name, the cause (the background thread may not have counted messages yet, giving Building { done: 0, total: 0 }), and the fix (any progress is accepted early; total is checked once complete). It also says the change is human-reviewed and AI-assisted. It does not fill in the template's 'Closes #' issue link, the 'What changes for the person using MailCraft' section, or the 'How it was checked' checklist (including cargo xtask ci status and maintainer edit permission and CLA signature). Since the change is a test-only fix with no user-facing impact, the missing user-facing section is minor, but the checklist and the issue reference are still absent.
Resolution
Add 'Closes #1110' (or the relevant issue number) at the top of the description. Fill in 'What changes for the person using MailCraft', noting that no user-facing behaviour changes if that is the case. Complete 'How it was checked' by stating that cargo xtask ci passes and by ticking the checklist items that apply, including the maintainer-edits box and the CLA acknowledgement.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Reviewing files that changed from the base of the PR and between b5cbc3c and 57b8258.
Files selected for processing: 1
crates/engine/src/words_tests.rs
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.
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
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.
macOS CI failed at random (#1110, #1155) on
the_index_is_built_in_the_background_and_says_how_far_it_has_got: straight after the list is first shown, the background thread may not have counted the messages yet, so the progress readsBuilding { done: 0, total: 0 }. The check there now takes any progress; the total is still checked once the index is complete.Human-reviewed, AI-assisted, nobody's mailbox harmed.
Summary by CodeRabbit