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

[create-astro] update shell logic #8089

Merged
merged 4 commits into from
Aug 15, 2023
Merged

[create-astro] update shell logic #8089

merged 4 commits into from
Aug 15, 2023

Conversation

natemoo-re
Copy link
Member

Changes

  • The timeout logic added in Reduce create-astro dependencies #8077 caused some issues
  • This PR refactors shell to rely on Node's built-in timeout support
  • If a ChildProcess times out, it will emit the close event but the exitCode will be null.

Testing

Tested manually because it's spawning a shell

Docs

N/A, bug fix only

@github-actions github-actions bot added the pkg: create-astro Related to the `create-astro` package (scope) label Aug 15, 2023
@changeset-bot
Copy link

changeset-bot bot commented Aug 15, 2023

🦋 Changeset detected

Latest commit: a1c05b0

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@natemoo-re natemoo-re changed the title [create-astro] update shell logic [create-astro] update shell logic Aug 15, 2023
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Don’t know enough to judge the fix, but I’d say NWTWWHB — ship it!

@natemoo-re natemoo-re merged commit 04755e8 into main Aug 15, 2023
@natemoo-re natemoo-re deleted the fix/shell branch August 15, 2023 17:25
@astrobot-houston astrobot-houston mentioned this pull request Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: create-astro Related to the `create-astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants