You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read a with: Input Past a Deeper-Indented Comment in the Audit #1916
workflow_input_text() in spec/audit.py reads a caller's with: inputs by indentation. It takes the key column from the first non-blank line under with:, even when that line is a comment. So a comment indented deeper than the keys hides every key after it. The caller check then reports "validate job passes none", although the caller passes the directory.
A double-quoted value carrying an escape (for example "Tools\nOther") is returned with the escape unprocessed, which the runner would expand, so the audit and the runner read different values.
Fix
Skip comment-only lines when fixing the key column. Refuse a double-quoted python-directories value that carries a backslash escape, the same way a folded (>) value is refused, rather than modeling YAML's escapes. Add selftest cases for both.
Found by the local strict review of #1914. Both shapes are contrived, and no fleet caller writes either.
The comment-indent half is fixed in a5bdc15 (#1919): comment lines are skipped when fixing a with: block's key column. The escaped double-quoted value half is still open.
Activity
Promote develop to main: Gate Each Declared Python Directory on Its C…
ptr727 commentedon Sep 27, 2026
The comment-indent half is fixed in a5bdc15 (#1919): comment lines are skipped when fixing a with: block's key column. The escaped double-quoted value half is still open.
Refuse an Escaped or Folded python-directories Value Wherever It Star…