Build the LaunchRig two-profile state once and copy it per test #190

Closed
opened 2026-10-26 20:14:44 -05:00 by ethan-hann · 1 comment
Owner

LaunchRig.WithTwoProfilesAsync() captures two profiles with real git in every test that uses it (about 20 test files, for example LaunchStoppedSwitchReviewTests, whose tests need Timeout = 150_000). The tests standard says to build expensive state once and copy it; RepoTemplates does that for EngineWorkspace only. Give LaunchRig a template path (build the two-profile state once per class or per run and copy it per test) and move its users over.

LaunchRig.WithTwoProfilesAsync() captures two profiles with real git in every test that uses it (about 20 test files, for example LaunchStoppedSwitchReviewTests, whose tests need Timeout = 150_000). The tests standard says to build expensive state once and copy it; RepoTemplates does that for EngineWorkspace only. Give LaunchRig a template path (build the two-profile state once per class or per run and copy it per test) and move its users over.
ethan-hann added this to the Code Cleanup milestone 2026-10-26 20:14:44 -05:00
Author
Owner

Shipped in 0.9.17 (PR 227).

Shipped in [0.9.17](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.17) (PR 227).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#190
No description provided.