Skip to content

Fix role-relative task includes and three linting edge cases - #8

Merged
dmillzilla merged 2 commits into
mainfrom
fix/0.1.3-native-parity
Nov 7, 2026
Merged

dmillzilla merged 2 commits into
mainfrom
fix/0.1.3-native-parity

Conversation

@dmillzilla

@dmillzilla dmillzilla commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Role tasks that include tasks/configure.yml incorrectly produced a missing-file error for roles/example/tasks/tasks/configure.yml. Resolve existing static includes through the role, working-directory and playbook fallbacks in both dependency discovery and native syntax loading, preserving nested include lookup. The supplied fixture also passes when its target falls back to the playbook directory.

Also fix three linting cases for the next patch:

  • Quoted text and shell comments cannot fake set -o pipefail and hide a real pipeline finding.
  • Recognize complete Jinja expressions, blocks and comments for no-tabs, while preserving independent Jinja spacing/syntax checks.
  • Read mapping _raw_params when extracting commands, preserving cmd precedence and command exemptions.

Validation: the final optimized binary matches all 28 synthetic reference cases in complete JSON findings and exit codes. Another 28 DataLoader selections verify search precedence with matching and distinct loader bases/working directories. 202 Rust tests, strict Clippy, formatting, 16 distribution tests and source-selection checks pass. New CLI regressions run with an empty PATH. Reproduction uses public pinned dependencies and synthetic fixtures; DataLoader.path_dwim_relative checks do not execute the playbook. Local validation is Linux with ansible-lint 26.11.0, ansible-core 2.21.5 and Python 3.13.15; macOS ARM64/Python 3.14.8 remains unverified. Production checking remains native Rust. This prepares fixes for 0.1.3; it does not bump or publish the release or claim full parity.

@dmillzilla-bot dmillzilla-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Codex review as dmillzilla-bot of ce64d82.

Reviewed include search precedence in both loading paths, quote/escape/comment handling for pipefail, complete Jinja-marker recognition, and cmd/_raw_params precedence. The added conditional-pipefail control keeps an unexecuted set from weakening the pipeline check. Native CLI regressions run with an empty PATH; all 202 Rust tests and 16 distribution tests pass locally. No production Python/Ansible execution or new dependencies were introduced.

No blocking findings in this bounded patch. Hosted CI must pass before merge. This approval does not establish full compatibility or macOS validation.

@dmillzilla
dmillzilla merged commit a94ef06 into main Nov 7, 2026
6 checks passed
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.

2 participants