From b5ce131bd4801741e8866f20d8d8f3a7853eb7ed Mon Sep 17 00:00:00 2001 From: Steve McDougall Date: Tue, 20 Oct 2026 11:49:11 +0100 Subject: [PATCH] chore: api-toolbox 0.3.1 for Octane 0.3.1 resolves the problem renderer and trace propagation from the container serving the request, so under Octane problems carry their instance again and outgoing requests carry the trace. vet.json records it after checking the release diff is the two reviewed files. The image job now asserts a problem's instance matches its own request ID. --- .github/workflows/ci-tests.yml | 3 +++ composer.lock | 12 ++++++------ vet.json | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 985b7b3..de1294b 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -90,6 +90,9 @@ jobs: http://127.0.0.1:8000/v1/auth/me | tee response.txt grep --quiet '^HTTP/1.1 401' response.txt grep --quiet --ignore-case '^content-type: application/problem+json' response.txt + # Under Octane each request is served from a sandbox; the problem must name this request. + request_id=$(grep --ignore-case '^x-request-id:' response.txt | cut -d' ' -f2 | tr -d '\r') + grep --quiet "\"instance\":\"urn:uuid:${request_id}\"" response.txt - name: Show the container log if: failure() diff --git a/composer.lock b/composer.lock index dfadf79..16aa399 100644 --- a/composer.lock +++ b/composer.lock @@ -1060,16 +1060,16 @@ }, { "name": "juststeveking/api-toolbox", - "version": "v0.3.0", + "version": "v0.3.1", "source": { "type": "git", "url": "https://github.com/JustSteveKing/api-toolbox.git", - "reference": "7917bf194ff02829280b0a7e07aca3f5d8c3002a" + "reference": "3f92ba497a93274c2af7af7d64dc064349514013" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JustSteveKing/api-toolbox/zipball/7917bf194ff02829280b0a7e07aca3f5d8c3002a", - "reference": "7917bf194ff02829280b0a7e07aca3f5d8c3002a", + "url": "https://api.github.com/repos/JustSteveKing/api-toolbox/zipball/3f92ba497a93274c2af7af7d64dc064349514013", + "reference": "3f92ba497a93274c2af7af7d64dc064349514013", "shasum": "" }, "require": { @@ -1120,9 +1120,9 @@ ], "support": { "issues": "https://github.com/JustSteveKing/api-toolbox/issues", - "source": "https://github.com/JustSteveKing/api-toolbox/tree/v0.3.0" + "source": "https://github.com/JustSteveKing/api-toolbox/tree/v0.3.1" }, - "time": "2026-10-20T09:42:04+00:00" + "time": "2026-10-20T10:42:41+00:00" }, { "name": "laminas/laminas-diactoros", diff --git a/vet.json b/vet.json index e4a19e2..cc274e2 100644 --- a/vet.json +++ b/vet.json @@ -53,8 +53,8 @@ "hash": "tree-v2:c5f332afdb641a8e51865f5fe4448a3c4c2d9ec959e76360003b5489525deaf6" }, "juststeveking/api-toolbox": { - "version": "v0.3.0", - "hash": "tree-v2:170dbefcc470a823490926a602216b6f1c5ba5f258a4ba16528a199269bd610c" + "version": "v0.3.1", + "hash": "tree-v2:f3be18b12bd2db610ae5e5abcbecd60ab41391b5d475d54403d9cc5167a021b0" }, "laminas/laminas-diactoros": { "version": "3.9.0",