Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependent events: followup #3760

Merged
merged 5 commits into from
Jul 25, 2024
Merged

dependent events: followup #3760

merged 5 commits into from
Jul 25, 2024

Conversation

bnjbvr
Copy link
Member

@bnjbvr bnjbvr commented Jul 24, 2024

I'm tired. Here are some improvements/bugfixes for the dependent event mechanism.

@bnjbvr bnjbvr requested a review from poljar July 24, 2024 16:08
@bnjbvr bnjbvr marked this pull request as ready for review July 24, 2024 16:08
@bnjbvr bnjbvr requested a review from a team as a code owner July 24, 2024 16:08
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

Attention: Patch coverage is 88.57143% with 4 lines in your changes missing coverage. Please review.

Project coverage is 84.02%. Comparing base (2eb6930) to head (a466751).
Report is 17 commits behind head on main.

Files Patch % Lines
crates/matrix-sdk/src/send_queue.rs 83.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3760      +/-   ##
==========================================
- Coverage   84.08%   84.02%   -0.06%     
==========================================
  Files         260      260              
  Lines       27031    27036       +5     
==========================================
- Hits        22730    22718      -12     
- Misses       4301     4318      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you; some questions.

crates/matrix-sdk-base/src/store/traits.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/send_queue.rs Show resolved Hide resolved
crates/matrix-sdk/src/send_queue.rs Show resolved Hide resolved
crates/matrix-sdk/src/send_queue.rs Show resolved Hide resolved
@andybalaam andybalaam removed the request for review from poljar July 25, 2024 08:37
@bnjbvr
Copy link
Member Author

bnjbvr commented Jul 25, 2024

@andybalaam For what it's worth, I've added a small commit that's a big "duh" from me: the previous PR introduced a transaction id for the dependent event, but forgot to make use of it. This isn't a big deal for edits/redacts, but it would have been a massive failure for reactions. I've addressed it here for edits/redacts, which isn't a big change, but wanted to let you know before I autosquash and merge later.

@andybalaam
Copy link
Member

All looks good to me, thanks!

@bnjbvr bnjbvr force-pushed the bnjbvr/dependent-events-followups branch from 7ed0fd2 to b023b7d Compare July 25, 2024 12:34
@bnjbvr bnjbvr enabled auto-merge (rebase) July 25, 2024 12:34
@bnjbvr bnjbvr force-pushed the bnjbvr/dependent-events-followups branch from b023b7d to a466751 Compare July 25, 2024 13:03
@bnjbvr bnjbvr merged commit 73759fc into main Jul 25, 2024
39 of 40 checks passed
@bnjbvr bnjbvr deleted the bnjbvr/dependent-events-followups branch July 25, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants