Skip to content

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

Merged
MaxKless merged 1 commit into
masterfrom
socket-path-10-chars
Nov 13, 2024
Merged

fix(core): lower socket path by 10 chars to reduce chances of too-long paths#28920
MaxKless merged 1 commit into
masterfrom
socket-path-10-chars

Conversation

@MaxKless
Copy link
Copy Markdown
Contributor

@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
@vercel
Copy link
Copy Markdown

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

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 13, 2024

@MaxKless MaxKless merged commit be8029d into master Nov 13, 2024
@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)
@github-actions
Copy link
Copy Markdown
Contributor

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