ci(runner): allow native Codex comparison cell

This commit is contained in:
Dotta committed 2026-09-03 01:02:48 -05:00
1 parent a67f5086f0
commit 84d372a54f
1 file changed
+8 -3
+8 -3
View File
@@ -66,12 +66,17 @@ jobs:
run: |
set -euo pipefail
validation_ref="refs/heads/validation/runner-local-integrity-e2e"
validation_ids="core-compatibility.runner-acpx-codex.local.message-marker"
validation_acpx_codex="core-compatibility.runner-acpx-codex.local.message-marker"
validation_native_codex="core-compatibility.runner-codex.local.message-marker"
if [ "$REF" != "refs/heads/$DEFAULT_BRANCH" ]; then
if [ "$REF" != "$validation_ref" ] || [ "$EVENT_NAME" != workflow_dispatch ] || [ "${SELECT_ALL:-false}" = true ] || [ "${SELECT_ID:-}" != "$validation_ids" ]; then
if [ "$REF" != "$validation_ref" ] || [ "$EVENT_NAME" != workflow_dispatch ] || [ "${SELECT_ALL:-false}" = true ]; then
echo "Non-default refs may run only the pinned scoped repair matrix from the validation branch." >&2
exit 1
fi
case "${SELECT_ID:-}" in
"$validation_acpx_codex"|"$validation_native_codex") ;;
*) echo "Non-default refs may run only one pinned Codex validation cell." >&2; exit 1 ;;
esac
fi
if ! jq -e 'type == "array" and length > 0 and all(.[]; type == "number" and . > 0 and floor == .)' <<< "${ALLOWED_ACTOR_IDS:-}" >/dev/null; then
echo "RUNNER_E2E_ALLOWED_ACTOR_IDS must be a non-empty JSON array of numeric GitHub user IDs." >&2
@@ -319,7 +324,7 @@ jobs:
if [ "$REF" != "refs/heads/$DEFAULT_BRANCH" ]; then
test "$REF" = "refs/heads/validation/runner-local-integrity-e2e"
case "$EXECUTION_ID" in
core-compatibility.runner-acpx-codex.local.message-marker|core-compatibility.runner-opencode.local.message-marker|local-session-integrity.runner-opencode.local.structured-question-restart-resume|local-session-integrity.runner-acpx-claude.local.structured-question-restart-resume|local-session-integrity.runner-acpx-codex.local.structured-question-restart-resume) ;;
core-compatibility.runner-codex.local.message-marker|core-compatibility.runner-acpx-codex.local.message-marker|core-compatibility.runner-opencode.local.message-marker|local-session-integrity.runner-opencode.local.structured-question-restart-resume|local-session-integrity.runner-acpx-claude.local.structured-question-restart-resume|local-session-integrity.runner-acpx-codex.local.structured-question-restart-resume) ;;
*) echo "Execution is outside the pinned scoped repair matrix." >&2; exit 1 ;;
esac
fi