Repository navigation
refactor(macos): consolidate gateway process fixtures - #117740
Merged
Merged
Conversation
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 2, 2026
llwijvbw123
pushed a commit
to llwijvbw123/openclaw
that referenced
this pull request
Aug 28, 2026
…elf-release * commit '10a390ed7fa88d09da0d4523c3ed1e3550ece5c6': (4646 commits) fix(release): allow larger npm plugin artifacts (openclaw#117745) refactor(macos): consolidate gateway process fixtures (openclaw#117740) fix(ui): preserve complete persisted log messages (openclaw#117666) fix(ui): decode artifact previews as UTF-8 (openclaw#117657) fix(control-ui): restore sandbox media previews (openclaw#117689) fix(plugins): link host declared as direct dependency (openclaw#117738) fix(macos): avoid self-named defaults suite (openclaw#117690) fix(inference): preserve run ownership and completion delivery (openclaw#117731) test(talk): align browser E2E tool completion test: consolidate OpenClaw E2E fixtures (openclaw#117701) fix(release): ignore bundle fields in npm locks (openclaw#117730) fix(meeting-bot): keep configured host options internal refactor(line): remove dead card helpers (openclaw#117729) perf(cli): attribute command startup stages (openclaw#117720) refactor(whatsapp): deduplicate reply delivery test fixtures (openclaw#117710) docs(changelog): note bounded WebRTC tool calls docs(changelog): note meeting audio bounds fix(meeting-bot): preserve node host SDK surface test(talk): split WebRTC tool lifecycle coverage fix(meeting-bot): break node host import cycle ... # Conflicts: # package.json # src/agents/model-auth.ts
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.
What Problem This Solves
The macOS gateway process test suite repeated launch-agent state, WebSocket setup, listener descriptors, status payloads, polling loops, and cleanup across many cases. That duplication made lifecycle-sensitive tests harder to review and left the file above the repository's file-length lint limit.
Why This Change Was Made
Consolidates the repeated test-only setup into private fixtures while keeping every test declaration, assertion, timing value, hook, and lifecycle transition intact. Global test connections now register cleanup before any throwing config setup, so fixture setup failures cannot leak state into the next serialized test.
User Impact
No runtime behavior changes. Maintainers get a smaller, more consistent gateway process suite with one canonical place for launch-agent and readiness fixture cleanup.
Evidence
#expect, 18#require, and 3Issue.recordexpressions (149 total).node scripts/check-changed.mjs -- apps/macos/Tests/OpenClawIPCTests/GatewayProcessManagerTests.swiftpassed through the documented local fallback, including the full SwiftLint app surfaces and macOS Node CI tests. Blacksmith Testbox was unavailable because its endpoint did not resolve.swiftformat --lint apps/macos/Tests/OpenClawIPCTests/GatewayProcessManagerTests.swift --config config/swiftformatpassed.swiftc -frontend -parse apps/macos/Tests/OpenClawIPCTests/GatewayProcessManagerTests.swiftpassed.git diff --checkpassed.swift test --package-path apps/macosare the exact-head merge gate.