Repository navigation
test(docker): shorten Unix socket fixture paths - #119952
Merged
Merged
Conversation
Contributor
Author
|
Land-ready proof for exact head
Remaining gate: ClawSweeper is still a non-terminal placeholder with lease expiry |
Contributor
Author
|
ClawSweeper publication gate after the exact-head lease expired:
There are therefore no ClawSweeper moves to apply or skip; the only gap is the stale public placeholder, recorded here explicitly before repo-native merge. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #119944
AI-assisted: yes
What Problem This Solves
Fixes three deterministic macOS failures in the Docker setup E2E suite. The fixture created Unix-domain sockets below a suite root under
os.tmpdir(); macOS canonicalized that root through/private/var/folders/..., producing a 107-character socket path that cannot fit Darwin'ssockaddr_un.sun_path[104]field.The failures occurred before Docker setup assertions ran, so normal macOS validation reported 38/41 even though the setup behavior itself was correct.
Why This Change Was Made
The Docker setup test support now uses the suite tracker's existing
parentDirseam withresolvePreferredOpenClawTmpDir(). That shared owner provides a short, secure OpenClaw temp root on POSIX and the normal scoped fallback on other platforms.The test still owns one stable suite root and isolated child directory; only the parent location changes. Production Docker setup, config, socket handling, and runtime temp policy are unchanged.
Production LOC: +0/-0. Test support: +5/-1.
Evidence
Before on macOS current main
b0c368ae34d845ab2ef6a6c6adf160e1edf49442:listen EINVAL.usr/include/sys/un.h:sun_path[104].TMPDIR=/tmp: 41/41.After:
TMPDIRoverride.f63a584124cc8fon Linux Testboxtbx_01kzbjfj1ayecar3xq2wh07d40, run 31103789509: 41/41 plus completepnpm check:changed, 0 warnings/errors.User Impact
Maintainers can run the Docker setup E2E suite on macOS without a global
TMPDIRworkaround or false socket failures. No production behavior changes.Docs and Changelog
Not applicable; this is test-support isolation only.