Skip to content

test(e2e): stop re-fetching every room's state on each poll - #80

Merged
arthware-dev merged 1 commit into
mainfrom
perf/e2e-await-room
Sep 10, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
perf/e2e-await-room

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

A helper polled with client.sync(full_state=True) up to twelve times.
full_state re-fetches the complete state of every joined room, so each
tick cost more as the suite created rooms: a test whose own work takes
0.7s was taking over five minutes by the end of a run.

Only the first sync asks for full state now. Later ones are incremental
and still carry the membership events it waits for.

@arthware-dev
arthware-dev merged commit f4560f2 into main Sep 10, 2026
1 check passed
@arthware-dev
arthware-dev deleted the perf/e2e-await-room branch September 22, 2026 20:13
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.

1 participant