Skip to content

test(mecatui): use a short perf admin socket path - #1681

Merged
jhrozek merged 1 commit into
mainfrom
fix/mecatui-embed-short-socket-path
Sep 17, 2026
Merged

jhrozek merged 1 commit into
mainfrom
fix/mecatui-embed-short-socket-path

Conversation

@jhrozek

@jhrozek jhrozek commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Makes the embed perf fixture use the existing Darwin short Unix-socket base instead of the harness-controlled temporary directory. The fixture now fails clearly before binding if its admin socket path would exceed the platform limit.

This fixes the macOS failure in TestWirePerfSinksFoldsInPreexistingTap without changing production listener behavior.

Verification

  • go test ./cmd/mecatui/embed -run '^TestWirePerfSinksFoldsInPreexistingTap$'
  • task test previously reproduced the failure and passed after this fixture correction.

Allocate the embed perf fixture under the existing Darwin short socket base and assert the pathname fits before binding.

Co-Authored-By: mecatl <[email protected]>
@jhrozek
jhrozek merged commit a74b0f1 into main Sep 17, 2026
35 checks passed
@jhrozek
jhrozek deleted the fix/mecatui-embed-short-socket-path branch September 17, 2026 13:22
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
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.

1 participant