Skip to content

fix: don't install version until run#1367

Merged
dsanders11 merged 1 commit intomainfrom
dont-eager-install
Jun 5, 2023
Merged

fix: don't install version until run#1367
dsanders11 merged 1 commit intomainfrom
dont-eager-install

Conversation

@dsanders11
Copy link
Member

Refs #1366.

Don't do the install step for a version until the user tries to run a fiddle. Doing so avoids collision on disk from multiple versions being installed at once (see reference issue). Also provides a nicer UX by not showing the unzipping spinner every time on start. Trade off is slightly longer initial run for a version since it needs to be unzipped and installed, but subsequent runs with the same version skip that step.

Should hopefully clear up a number of the disk errors being seen on Sentry around version management.

This partially reverts #1242 since that behavior becomes the only behavior.

@dsanders11 dsanders11 force-pushed the dont-eager-install branch from 3ccbb39 to 584af3a Compare June 2, 2023 06:44
@dsanders11 dsanders11 marked this pull request as ready for review June 2, 2023 06:52
@dsanders11 dsanders11 requested review from a team and codebytere as code owners June 2, 2023 06:52
Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

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

LGTM

@dsanders11 dsanders11 merged commit add6296 into main Jun 5, 2023
@dsanders11 dsanders11 deleted the dont-eager-install branch June 5, 2023 16:02
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.

3 participants