Skip to content

tests: damage the teams store, not a teams.json, before continuing a chat - #2182

Open
santoshkumarradha wants to merge 2 commits into
app/v3from
c40/teams-store-test
Open

santoshkumarradha wants to merge 2 commits into
app/v3from
c40/teams-store-test

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

What changes

Only one test. TestContinuingAChatKeepsItsLeaseDespiteDamagedTeamsAndLaterHeals damaged a computer's teams by overwriting the bytes at teams.Path and later wrote them back. Since #2066 teams live in an SQLite store, so that no longer damages anything: the take never met a failed rebind and the test failed at failed rebind had no notice. It now uses teamstest.Break and its restore, as the other teams tests have done since #2099. The assertions are unchanged.

Validation

Limits

Test-only change. No product behaviour changes.

🤖 Generated with Claude Code

…chat

#2066 moved teams into an SQLite store. TestContinuingAChatKeepsItsLease-
DespiteDamagedTeamsAndLaterHeals still damaged teams by overwriting the bytes
at teams.Path and later wrote them back, which no longer breaks the store, so
the take never met a failed rebind and never said so. It now uses
teamstest.Break and its restore, as the other teams tests did in #2099.
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