Skip to content

test: promote guard validator rejects inline job maps and workflow-level defaults/env (#242 follow-up) - #244

Open
luisleo526 wants to merge 1 commit into
mainfrom
fu/cg242-promote-validator
Open

luisleo526 wants to merge 1 commit into
mainfrom
fu/cg242-promote-validator

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Follow-up to #242 (SEC846): job_blocks() rejects unparsed inline job mappings, and assert_promotion_guard() rejects workflow-level defaults/env; red controls for the three inputs.

Post-merge review follow-up (owner 「把和進去的也審一下」/「怕有遺漏」): red-first regression tests + fix, mutation controls listed in the lane report. Reads (R237 fresh gpt-6.1-sol + argon) run on this head before merge.

Author: CI-CX lane, for CORE-TOP.

🤖 Generated with Claude Code

…flow-level defaults/env (SEC846 follow-up)

Post-merge read of #242: job_blocks() recognised only block-style job headers, so an
extra unguarded job written as an inline mapping was invisible, and workflow-level
defaults.run.shell / env were not checked. job_blocks() now rejects every job
declaration it cannot parse and assert_promotion_guard() rejects workflow-level
defaults and env, with red controls for the three reported inputs.

Lane: ci-fu-cg242 (Codex gpt-6.1-sol).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant