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

fix(core): lower socket path by 10 chars to reduce chances of too-long paths #28920

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

MaxKless
Copy link
Collaborator

@MaxKless MaxKless commented Nov 13, 2024

Current Behavior

Socket paths have quite a short allowed length. It's easy to hit the maximum.

Expected Behavior

We should exceed the maximum as rarely as possible. By lowering the workspacePath hash portion, we reduce the chances of exceeding the path.

Related Issue(s)

Fixes #27725

@MaxKless MaxKless requested a review from a team as a code owner November 13, 2024 14:02
Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 2:06pm

@MaxKless MaxKless merged commit be8029d into master Nov 13, 2024
6 checks passed
@MaxKless MaxKless deleted the socket-path-10-chars branch November 13, 2024 16:18
FrozenPandaz pushed a commit that referenced this pull request Nov 13, 2024
…g paths (#28920)

## Current Behavior
Socket paths have quite a short allowed length. It's easy to hit the
maximum.

## Expected Behavior
We should exceed the maximum as rarely as possible. By lowering the
workspacePath hash portion, we reduce the chances of exceeding the path.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #27725

(cherry picked from commit be8029d)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase NX_SOCKET_DIR limit
2 participants