From bd301a1696abcbfe75fcf2d88c0bf46dc53ea975 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Sat, 17 Oct 2026 22:37:00 +0200 Subject: [PATCH] test(19-07): require TestTeammateDMWriteIDOR in the phase gate The fail-closed postgres list now names the teammate DM write-IDOR case so CR-01 cannot regress silently. TestDeletingCascade stays required. Co-authored-by: Cursor --- scripts/check-phase19.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-phase19.sh b/scripts/check-phase19.sh index 09a99506..57f136b6 100755 --- a/scripts/check-phase19.sh +++ b/scripts/check-phase19.sh @@ -66,7 +66,7 @@ USER_CLASSES_SHORT=(TestHandle TestUserAuthorizer) # postgres stage: testcontainers suites. TestDMThrottle and # TestAttachmentDownload need the host (they skip under -short). PG_CHAT_TESTS=( - TestChatTracer TestChatHTTPTracer TestDMThrottle + TestChatTracer TestChatHTTPTracer TestTeammateDMWriteIDOR TestDMThrottle TestAttachmentDownload TestThreadMute ) PG_CHATCHANNELS_TESTS=( @@ -213,7 +213,7 @@ run_self_test() { echo "refuse: --all does not honour PHASE19_REQUIRE_POSTGRES" >&2 return 1 } - for token in TestGoldenEvents TestChannelGoldenEvents TestNoQuestStreamTrace TestPHPMethodMap TestDMThrottle TestHandle TestUserAuthorizer TestFixtureAbsentFromProduction; do + for token in TestGoldenEvents TestChannelGoldenEvents TestNoQuestStreamTrace TestPHPMethodMap TestDMThrottle TestTeammateDMWriteIDOR TestHandle TestUserAuthorizer TestFixtureAbsentFromProduction; do grep -qF "$token" "${BASH_SOURCE[0]}" || { echo "refuse: self-test missing required token $token" >&2 return 1