From 643efa87811da509ec330c3cf6cc308ef4d16196 Mon Sep 17 00:00:00 2001 From: Al Amin Date: Sun, 6 Sep 2026 14:19:45 +0200 Subject: [PATCH] fix: mount the Slack stub from the directory the recipe actually runs in `just --justfile e2e-tests/justfile` runs recipes from that file's own directory, so `$(pwd)/e2e-tests/stubs/slack` pointed a level too deep. Docker created the missing path and mounted it empty, WireMock started with no mappings, and every Slack call answered 404. CI was unaffected: it mounts the stub by workspace path. --- e2e-tests/justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/justfile b/e2e-tests/justfile index d0d39ab813..de665e25ec 100644 --- a/e2e-tests/justfile +++ b/e2e-tests/justfile @@ -170,7 +170,7 @@ up: _ensure-images if ! docker ps --format '{{ '{{.Names}}' }}' | grep -q "^e2e-slack-stub$"; then echo "Starting Slack stub..." docker run -d --network={{ network }} --name e2e-slack-stub \ - -v "$(pwd)/e2e-tests/stubs/slack:/home/wiremock:ro" \ + -v "$(pwd)/stubs/slack:/home/wiremock:ro" \ {{ slack_stub_image }} fi