Repository navigation
fix(slack-bot): isolate offline daemon startup - #2872
Merged
Merged
Conversation
Disable ToolHive discovery and WebSearch in the mock daemon fixture. Keep the bounded readiness deadline and existing bridge and approval coverage. Co-authored-by: Mecatl <[email protected]>
jbeda
marked this pull request as ready for review
November 18, 2026 21:26
jbeda
enabled auto-merge (squash)
November 18, 2026 21:26
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.
Summary
Disable unrelated ToolHive discovery (
--toolhive=false) and WebSearch (--websearch=off) when the Slack bot's offline fixture spawnsmecated --mock.The reported CI failure spent five seconds discovering a container runtime inside a ten-second readiness budget. This keeps the real daemon and existing bridge/session/approval assertions, while leaving the ten-second readiness deadline unchanged. Disabling WebSearch makes the offline boundary explicit; it does not imply Exa initialization was a proven cause of the timeout.
Issue relationship
Closes #2871.
Type of change
Test plan
task slack-bot:test: 79 passed, 36 skippedtask slack-bot:lint slack-bot:typecheckMCP DISABLED ... toolhive=falseandWebSearch DISABLED; one local readiness measurement was 81 mstask lintgo run ./cmd/mecademo: tool execution, permission ask/approval, and final result verifiedtask test: failed inTestMicroVMSelectedScheduleAndRestartReauthorizeContextandTestMicroVMScheduledPlacementSurvivesFiresRestartAndDeletion, both reporting "not the scheduler leader". Both passed three focused reruns. No Go code changes in this PR.task test:race: failed wheninternal/dtogenexceeded its 20-minute package timeout while runningTestViewBootstrap. No data-race report appeared.internal/apppassed in this run.Docs generation, site build, and engine API checks are not applicable: this changes only two daemon arguments in an example test fixture.
User-facing change
None. Offline test-fixture isolation only.
API compatibility
No wire, Go API, or stored-data changes. No major or feature identifier changes; no client upgrades required.
Special notes for reviewers
Draft because the repository-wide local gates are not green. The focused Slack checks pass; the broader failures are outside the changed fixture. No timeouts or assertions were weakened.