Fix stable patch workflow dispatch input types

Contract-Neutral: Correct workflow_dispatch JSON value encoding without changing the governed release contract.
This commit is contained in:
rcourtman 2026-07-23 13:31:31 +01:00
parent 781e168e34
commit 01a9bd2734
2 changed files with 10 additions and 3 deletions

View file

@ -1128,6 +1128,13 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("--unsigned-windows-exception", helper)
self.assertIn("unsigned_windows_exception", helper)
self.assertIn("unsigned_windows_reason", helper)
self.assertIn('--arg hotfix_exception "$HOTFIX_EXCEPTION"', helper)
self.assertIn(
'--arg unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION"',
helper,
)
self.assertIn('--arg draft_only "false"', helper)
self.assertNotIn("--argjson", helper)
self.assertIn("Single-Build Release Path", policy)
self.assertIn("Routine Stable Patch Path", policy)
self.assertIn("single publish workflow performs the exact-SHA preflight", normalize_ws(policy))

View file

@ -214,11 +214,11 @@ else
--arg rollback_version "$ROLLBACK_TAG" \
--arg ga_date "" \
--arg v5_eos_date "" \
--argjson hotfix_exception "$HOTFIX_EXCEPTION" \
--arg hotfix_exception "$HOTFIX_EXCEPTION" \
--arg hotfix_reason "$HOTFIX_REASON" \
--argjson unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION" \
--arg unsigned_windows_exception "$UNSIGNED_WINDOWS_EXCEPTION" \
--arg unsigned_windows_reason "$UNSIGNED_WINDOWS_REASON" \
--argjson draft_only false \
--arg draft_only "false" \
--arg mobile_release_decision "$MOBILE_RELEASE_DECISION" \
--arg mobile_release_evidence "$MOBILE_RELEASE_EVIDENCE" \
'{