matrix-org / matrix-org/matrix-rust-sdk

`media::store::memory_store::tests::media_store_integration_tests_time::test_lease_locks` intermittently fails

Open
#5,751 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

intermittent-failure
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

https://github.com/matrix-org/matrix-rust-sdk/actions/runs/18275152000/job/52025455674

might just be a dumb "increase the timeout value" kind of solution, but I'd like to make sure it's that.

Also, there's an underlying question if the media store really needs the cross-process lock, because I don't think it needs it 🤔

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions job and the named test, media_store_integration_tests_time::test_lease_locks, to inspect the intermittent failure and its timing. Read the media store lock behavior around that test, then determine whether the timeout or cross-process lock is responsible. Done means a reliable test result and a documented decision on the lock or timeout change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.