Skip to content

fix(slack-bot): isolate offline daemon startup - #2872

Merged
jbeda merged 1 commit into
mainfrom
fix/slack-bot-offline-startup-2871
Nov 18, 2026
Merged

jbeda merged 1 commit into
mainfrom
fix/slack-bot-offline-startup-2871

Conversation

@jbeda

@jbeda jbeda commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Disable unrelated ToolHive discovery (--toolhive=false) and WebSearch (--websearch=off) when the Slack bot's offline fixture spawns mecated --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

  • Bug fix

Test plan

  • task slack-bot:test: 79 passed, 36 skipped
  • Bridge suite repeated ten times: 120 tests passed
  • task slack-bot:lint slack-bot:typecheck
  • Actual fixture startup diagnostics: MCP DISABLED ... toolhive=false and WebSearch DISABLED; one local readiness measurement was 81 ms
  • task lint
  • go run ./cmd/mecademo: tool execution, permission ask/approval, and final result verified
  • task test: failed in TestMicroVMSelectedScheduleAndRestartReauthorizeContext and TestMicroVMScheduledPlacementSurvivesFiresRestartAndDeletion, both reporting "not the scheduler leader". Both passed three focused reruns. No Go code changes in this PR.
  • task test:race: failed when internal/dtogen exceeded its 20-minute package timeout while running TestViewBootstrap. No data-race report appeared. internal/app passed 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.

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
jbeda marked this pull request as ready for review November 18, 2026 21:26
@jbeda
jbeda enabled auto-merge (squash) November 18, 2026 21:26
@jbeda
jbeda merged commit cea6d32 into main Nov 18, 2026
69 of 76 checks passed
@jbeda
jbeda deleted the fix/slack-bot-offline-startup-2871 branch November 18, 2026 21:37
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.

Isolate Slack bot offline test startup from unrelated discovery

1 participant