Skip to content

test(runtime): block unmocked Slack delivery - #106

Merged
johnnyhuy merged 1 commit into
mainfrom
ao/wingman-dev/agent/issue-105-offline-runtime-slack
Dec 4, 2026
Merged

johnnyhuy merged 1 commit into
mainfrom
ao/wingman-dev/agent/issue-105-offline-runtime-slack

Conversation

@johnnyhuy

Copy link
Copy Markdown
Contributor

Load a Slack HTTP guard before the Pi runtime tests and their forked fixtures run. Default Slack delivery fails locally, and existing tests still use injected receipts and loopback HTTP. No user-facing change.

Part of #103 (offline Slack test isolation)
Closes #105

  • mise run install passed.
  • mise run test-backend passed with 335 tests.
  • mise run test-frontend passed with 58 tests.
  • mise run test-runtime passed with 24 tests.

The gates ran in a clean source archive with UV_OFFLINE=1 and fixture credentials only.

✔ default Slack delivery is blocked by the runtime test runner
✔ acknowledged Slack reply survives a restart with its question and answer
Forked runtime process rejected default Slack delivery before transport

Running the regression directly with node --test and without the preload failed with the expected AbortError from its pre-aborted signal. With the preload, both the test and a forked process rejected delivery with the guard's mock-required error. All Slack verification used fixtures and mocks.

Co-authored-by: OpenAI Codex <noreply@openai.com>
@johnnyhuy
johnnyhuy merged commit 3fc7d81 into main Dec 4, 2026
10 checks passed
@johnnyhuy
johnnyhuy deleted the ao/wingman-dev/agent/issue-105-offline-runtime-slack branch December 4, 2026 14:26
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.

Block unmocked Slack delivery in Pi runtime tests

1 participant