Map fixtures and dejima-allow to the suites that actually exercise them
tests / confined (config) (pull_request_target) Successful in 4m28s
tests / confined (conversation) (pull_request_target) Successful in 1m11s
tests / confined (launch) (pull_request_target) Successful in 2m11s
tests / confined (project) (pull_request_target) Successful in 2m54s
tests / confined (providers) (pull_request_target) Successful in 1m59s
tests / confined (proxy) (pull_request_target) Successful in 1m19s
tests / confined (remote) (pull_request_target) Successful in 2m35s
tests / confined (share) (pull_request_target) Successful in 1m22s
tests / confined (static) (pull_request_target) Successful in 2m30s
tests / confined (shellcheck) (pull_request_target) Successful in 1m12s
tests / privileged (pull_request_target) Successful in 6m44s
tests / runner-env (confined) (pull_request_target) Successful in 51s
tests / runner-env (privileged) (pull_request_target) Successful in 48s
tests / confined (audit) (pull_request_target) Successful in 1m49s

test/fixtures/fake-anthropic.py is executed as proxy.bats' upstream, but
test/* mapped every non-bats test file to static alone, so a fixture-only
change ran a suite that never touches it and skipped the one that does.
bin/dejima-allow likewise: static.bats asserts on its class wiring, and the
project-only rule skipped the suite holding that guard.

runtime.bats consumes the fixture too, but no confined selection can carry
it - that half stays CI's.
This commit is contained in:
2026-09-16 17:21:51 -07:00
parent e9e1c2bc52
commit b91b8f5fb3
+7 -1
View File
@@ -53,7 +53,9 @@ suites_for() {
# stores, and the share layout, so a change to it is not one area's.
bin/dejima-slug-lib.sh) echo 'share conversation audit static' ;;
bin/dejima-credential-proxy|docker/credential-proxy-forwarder.js) echo proxy ;;
bin/dejima-project-lib.sh|bin/dejima-project|bin/dejima-dep|bin/dejima-allow) echo project ;;
bin/dejima-project-lib.sh|bin/dejima-project|bin/dejima-dep) echo project ;;
# static.bats asserts on dejima-allow's class wiring as well.
bin/dejima-allow) echo 'project static' ;;
bin/dejima-attach|bin/dejima-ttyd|bin/dejima-notify-watch) echo remote ;;
web/*|systemd/*) echo remote ;;
bin/dejima-provider-lib.sh|bin/dejima-harness-lib.sh) echo providers ;;
@@ -72,6 +74,10 @@ suites_for() {
.dejima/*) echo 'static config project providers' ;;
test/*.bats) local n="${1##*/}"; echo "${n%.bats}" ;;
# Fixtures are executed by the suites that consume them, not merely
# read: fake-anthropic.py is the upstream in proxy.bats (and in
# runtime.bats, which no confined selection can carry).
test/fixtures/*) echo 'proxy static' ;;
test/*) echo static ;;
*) echo ALL ;;