Commit Graph
3 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 79914ca4fa Validate GITHUB_SHA and git HEAD independently; align the summary producer
Review r1: a non-empty but invalid GITHUB_SHA short-circuited the
resolver to "local" even when the repository HEAD was valid. Validate
each source on its own and fall back to "local" only if both fail.

Move the git helpers to scripts/conditional_gate_metadata.py and use them
from conditional_gate_summary.py too, so the workflow summary records the
same git_sha and git_dirty. Add summary-producer cases and a real
temporary-repository test for clean, tracked-dirty and untracked states.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:08:47 -04:00
Joseph Magly c90240f1e9 test: govern unavailable conditional environments 2026-08-16 09:05:41 -04:00
Joseph Magly c1a1275291 ci: add conditional environment test gates 2026-08-14 14:29:14 -04:00