Repository navigation
Honor ignore_errors for shell pipelines and verify conditional spacing - #9
Conversation
dmillzilla-bot
left a comment
There was a problem hiding this comment.
Automated Codex review as dmillzilla-bot of eb9899b.
Reviewed the shell-only exemption and Python-style truthiness handling. The change skips only risky-shell-pipe; independent ignore-errors checks remain active, and false/omitted controls still report risky pipelines. Regression fixtures cover complete CLI output and exits for failure handling and both conditional operators/file kinds. The task-file spacing difference is explicitly retained and tested rather than silently disabling native checks.
203 Rust tests, strict Clippy, formatting and 16 distribution tests pass locally. No new dependency or production interpreter invocation. No blocking findings in this scoped patch; hosted CI must pass before merge.
…compatibility # Conflicts: # CHANGELOG.md
dmillzilla-bot
left a comment
There was a problem hiding this comment.
Automated Codex re-review of f48208b after merging main's PR #7 licensing cleanup.
Reviewed the full remaining four-file diff against current main. Resolved changelog conflict preserves both the ignore_errors fix and licensing entry; no production behavior changed during integration. The task-level exemption and scoped conditional regressions remain intact. Combined branch passes all 203 Rust tests, 21 distribution tests, formatting and 377-package legal-notice verification locally. No blocking findings. Fresh hosted CI must pass before protected merge.
A shell pipeline with
ignore_errors: trueincorrectly receivedrisky-shell-pipe. Honor the pinned rule's task-level truthiness exemption, including nonempty template strings, while preserving the independentignore-errorsrule. False and omitted settings still require pipefail. Production checking remains native Rust.Add CLI regression fixtures for five failure-handling cases and eight conditional-expression cases, covering
>and>=, task files and playbooks, and spaced/unspaced filter syntax. The implicit task-file spacing findings are deliberately retained: ansible-lint 26.11.0 tests kindtaskwhile its loader reportstasks; the identical expressions produce spacing findings in playbooks. This verified extra check is covered explicitly rather than suppressing valid analysis.Validation: optimized native replay has 11 exact complete-field/exit matches, two verified extra task-file spacing findings, and zero unexplained differences. 203 Rust tests, strict Clippy, formatting and 16 distribution tests pass. Native CLI regressions run with an empty PATH. Reference comparisons use identical fixtures and
offline: trueconfig with public ansible-lint 26.11.0 / ansible-core 2.21.5 on Linux/Python 3.13.15. No playbook execution or private repository access. This is an unreleased 0.1.3 patch; full parity is not claimed.