Skip to content

Conversation

@aeisenberg
Copy link
Contributor

This avoids stack overflows when using the spread operator on directories that have many, many children.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@aeisenberg aeisenberg requested a review from a team as a code owner July 12, 2022 16:15
Copy link
Contributor

@henrymercer henrymercer left a comment

Choose a reason for hiding this comment

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

Looks good. While we're here, perhaps it's worth auditing the rest of the spread operators in the codebase to make sure these aren't likely to cause a stack overflow.

@aeisenberg aeisenberg force-pushed the aeisenberg/concat-not-push branch from e60faa7 to b7e2196 Compare July 12, 2022 17:26
This avoids stack overflows when using the spread operator on
directories that have many, many children.
@aeisenberg aeisenberg force-pushed the aeisenberg/concat-not-push branch from b7e2196 to 7ce9ef9 Compare July 12, 2022 20:23
@aeisenberg
Copy link
Contributor Author

I did a quick look and did not find any other likely dangerous locations.

@aeisenberg aeisenberg enabled auto-merge July 12, 2022 20:24
@aeisenberg aeisenberg disabled auto-merge July 12, 2022 21:19
@aeisenberg aeisenberg enabled auto-merge July 12, 2022 21:19
@aeisenberg aeisenberg merged commit 548f07e into main Jul 13, 2022
@aeisenberg aeisenberg deleted the aeisenberg/concat-not-push branch July 13, 2022 09:39
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.

2 participants