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

chore: fix development issues on Windows #14030

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Mar 18, 2022

Fixes some local development issues that have creeped up over the past few weeks on Windows.

Please merge on review

Closes #14014

@@ -2334,7 +2334,7 @@ fn issue9750() {
Input("yy\n"),
Output("⚠️ ️Deno requests env access. Run again with --allow-env to bypass this prompt.\r\n Allow? [y/n (y = yes allow, n = no deny)]"),
Input("n\n"),
Output("⚠️ ️Deno requests env access to \"SECRET\". Run again with --allow-run to bypass this prompt.\r\n Allow? [y/n (y = yes allow, n = no deny)]"),
Output("⚠️ ️Deno requests env access to \"SECRET\". Run again with --allow-env to bypass this prompt.\r\n Allow? [y/n (y = yes allow, n = no deny)]"),
Copy link
Member Author

@dsherret dsherret Mar 18, 2022

Choose a reason for hiding this comment

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

Ummm... how is this passing on linux & mac? (these tests don't run on the CI on Windows)

Copy link
Member Author

@dsherret dsherret Mar 18, 2022

Choose a reason for hiding this comment

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

This fails for me on linux and then hangs forever. I think these tests also are not running the CI on Linux & Mac because it's not a tty. I guess nobody ever runs the full test suite locally that often (been broken for over a month). I only did because I'm trying to upgrade swc.

Copy link
Contributor

Choose a reason for hiding this comment

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

See #14014, couldn't figure out why CI wasn't failing but was hanging locally, seems you figured it out.

Comment on lines +9 to +10
# double the stack size to prevent swc overflowing the stack in debug
"link-arg=/STACK:2097152",
Copy link
Member

Choose a reason for hiding this comment

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

Again...? 😬

Copy link
Member Author

Choose a reason for hiding this comment

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

That happened in the past? FWIW swc’s tests on its repo requires increasing the stack size.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I believe we once increased stack size on Windows, but then there were some improvements that rendered it unneeded

Copy link
Member Author

Choose a reason for hiding this comment

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

I think probably something must have increased on our side that just tipped it over. It never used to stack overflow on Windows with this swc version.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit b410937 into denoland:main Mar 21, 2022
@dsherret dsherret deleted the fix_windows_dev branch March 21, 2022 13:49
kitsonk pushed a commit to kitsonk/deno that referenced this pull request Mar 23, 2022
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.

integration::run::issue9750 gets stuck forever
3 participants