a73x

dba2175a

check_unbounded_vk: comment the PATTERNS list as maintainer-update target

a73x   2026-04-18 15:24

Commit message
check_unbounded_vk: comment the PATTERNS list as maintainer-update target

Reminds future contributors that adding a new blocking Vulkan primitive
to vk_sync.zig (e.g. waitSemaphores) requires a corresponding entry in
PATTERNS, otherwise the gate silently won't catch direct calls to it.

Part of issue ab6c92f0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

tests/check_unbounded_vk.sh
Old New
@@ -9,6 +9,8 @@ set -euo pipefail
9 REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" 9 REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
10 cd "$REPO_ROOT" 10 cd "$REPO_ROOT"
11 11
12 # UPDATE THIS LIST when adding new blocking Vulkan primitives to vk_sync.zig
13 # (e.g. vkd.waitSemaphores would need a corresponding bounded wrapper + entry).
12 PATTERNS=( 14 PATTERNS=(
13 'vkd\.waitForFences' 15 'vkd\.waitForFences'
14 'vkd\.acquireNextImageKHR' 16 'vkd\.acquireNextImageKHR'