-
Notifications
You must be signed in to change notification settings - Fork 54
Studio CLI: Fix Windows E2E tests #2299
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
Open
fredrikekelund
wants to merge
48
commits into
dev/studio-cli-i2
Choose a base branch
from
f26d/fix-e2e-tests-windows
base: dev/studio-cli-i2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+270
−227
Open
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
2743dc8
Abort async operations on SIGTERM/SIGINT
fredrikekelund d34ee1e
Also send abort message to child server
fredrikekelund 9a31e58
Only create AbortController when topic is not `abort`
fredrikekelund 61f3256
Fix
fredrikekelund f81ba0c
More fixes
fredrikekelund bd6b4d9
Tweaks
fredrikekelund eb32b3b
Merge branch 'dev/studio-cli-i2' into f26d/cli-abort-async-operations
fredrikekelund a6a7e7a
Fix unit tests
fredrikekelund 27bd5c3
Merge branch 'dev/studio-cli-i2' into f26d/cli-abort-async-operations
fredrikekelund 569058f
Fix types
fredrikekelund 8786163
Remove `this.sessionPath` files individually
fredrikekelund abbcfc8
Stop running servers in a detached process
fredrikekelund fa0537e
Revert "Remove `this.sessionPath` files individually"
fredrikekelund c984234
Retry
fredrikekelund 87e62ec
Increase timeouts
fredrikekelund d42d25e
Fix deprecated blueprint syntax
fredrikekelund 3f9ef30
Merge branch 'dev/studio-cli-i2' into f26d/fix-e2e-tests-windows
fredrikekelund 10955cf
Increase timeout
fredrikekelund fc4fa56
Try adding a small delay
fredrikekelund 814d4ae
Kill `site list --watch` on SIGINT
fredrikekelund 96e03aa
Create main window after creating site watcher
fredrikekelund ef932ca
Try using async fs method for cleanup
fredrikekelund 0354512
Try rimraf (which has advanced retry strategies)
fredrikekelund 1511151
Merge branch 'dev/studio-cli-i2' into f26d/fix-e2e-tests-windows
fredrikekelund 71c5d1f
Merge branch 'dev/studio-cli-i2' into f26d/fix-e2e-tests-windows
fredrikekelund 07fc679
New approach: don't remove `sessionPath` dir
fredrikekelund 055d14c
Unused import
fredrikekelund 0d0dc26
Force close app
fredrikekelund bc83d93
disconnect from pm2 in response to SIGTERM
fredrikekelund 8264bbe
Revert user data watcher changes from #2313
fredrikekelund 1c0cfda
Wait for running button
fredrikekelund e12e4ad
Use Electron's will-quit event in `execute-command.ts`
fredrikekelund 21b2e77
SIGINT and SIGTERM listeners in `wp` command
fredrikekelund 6355215
More SIGINT and SIGTERM listeners in `wp` command
fredrikekelund 22bdd58
Merge branch 'dev/studio-cli-i2' into f26d/fix-e2e-tests-windows
fredrikekelund 0d16ae5
Temporarily skip blueprints test
fredrikekelund d64e35a
Revert "Temporarily skip blueprints test"
fredrikekelund 07eaa56
Try with force kill again
fredrikekelund 1534b2c
Logging
fredrikekelund f75e007
New approach to waiting for app close
fredrikekelund bc41e38
Logging again
fredrikekelund f99f4b0
Try to make all child processes detached
fredrikekelund 3596bac
Experiment
fredrikekelund 4b7364a
Revert "Experiment"
fredrikekelund c0ab642
Revert "Try to make all child processes detached"
fredrikekelund 1682341
Try a 5s timeout for closing the app
fredrikekelund e2faab8
Experiment with removing stopAllServersOnQuit
fredrikekelund 9d56d0c
shutdown message
bcotrim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
studio site list --watchcommand would previously not interrupt in response to Ctrl+C