Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support atomic installation of browsers #2489

Merged
merged 1 commit into from Jun 5, 2020

Conversation

aslushnikov
Copy link
Collaborator

@aslushnikov aslushnikov commented Jun 5, 2020

Currently, Ctrl-C while extracting browser might yield users in
a bad place.

This patch extracts browsers in a temp directory that is later
moved to the installer registry.

Currently, Ctrl-C while extracting browser might yield users in
a bad place.

This patch extracts browsers in a temp directory that is later
moved to a installer registry.
@aslushnikov aslushnikov merged commit 3de0c08 into microsoft:master Jun 5, 2020
@aslushnikov aslushnikov deleted the atomic-installs branch June 5, 2020 23:26
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Jun 11, 2020
This reverts 2 commits:

- "fix(installer): create tmp directory inside `browserPath` (microsoft#2498)"
  commit 946b4ef.

- "feat: support atomic installation of browsers (microsoft#2489)"
  commit 3de0c08.

This addresses installation issues we see in some CI environments.
aslushnikov added a commit that referenced this pull request Jun 11, 2020
This reverts 2 commits:

- "fix(installer): create tmp directory inside `browserPath` (#2498)"
  commit 946b4ef.

- "feat: support atomic installation of browsers (#2489)"
  commit 3de0c08.

This addresses installation issues we see in some CI environments.
aslushnikov added a commit that referenced this pull request Jun 11, 2020
This reverts 2 commits:

- "fix(installer): create tmp directory inside `browserPath` (#2498)"
  commit 946b4ef.

- "feat: support atomic installation of browsers (#2489)"
  commit 3de0c08.

This addresses installation issues we see in some CI environments.
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Jul 17, 2020
Currently, Ctrl-C while extracting browser might yield users in
a bad place.

This patch adds a marker file inside browser directory to make
sure that browser extraction completed.

Note: this was already attempted in microsoft#2489, but was eventually
reverted in microsoft#2534.

References microsoft#2660
aslushnikov added a commit that referenced this pull request Jul 17, 2020
Currently, Ctrl-C while extracting browser might yield users in
a bad place.

This patch adds a marker file inside browser directory to make
sure that browser extraction completed.

Note: this was already attempted in #2489, but was eventually
reverted in #2534.

References #2660
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.

None yet

2 participants