Skip to content

conditional_tasks → graph-derived (same pass as conditional_decision_… - #12

Merged
jier merged 2 commits into
mainfrom
feature/authorative-complexity-reachability
Sep 13, 2026
Merged

jier merged 2 commits into
mainfrom
feature/authorative-complexity-reachability

Conversation

@jier

@jier jier commented Sep 13, 2026

Copy link
Copy Markdown
Owner

error_handlers fixed: was dead (scanned flattened tasks for a rescue/always key that never exists → always 0). Now the graph detects block/rescue/always and sets error_handling on the node; error_handlers counts it. Unit-tested (rescue block → 1); stays 0 for roles genuinely without rescue (CIS, openstack).
Reachability is now a complete, honest partition (the candidate-10 finding): static_reachable + dynamically_reachable + unreachable == task_files. openstack now reads 2 + 13 + 5 = 20 (previously "static 2 / orphan 5" silently hid the 13 dynamic-gated files). orphan_task_files renamed unreachable_task_files, with a README note explaining the tiers (and that files behind an unresolved dynamic boundary stay "unreachable" — the graph still won't guess {{ pkg_mgr }}.yml).

…points): the duplicate flattened-task scan is gone, so they can't drift like task_includes did.

error_handlers fixed: was dead (scanned flattened tasks for a rescue/always key that never exists → always 0). Now the graph detects block/rescue/always and sets error_handling on the node; error_handlers counts it. Unit-tested (rescue block → 1); stays 0 for roles genuinely without rescue (CIS, openstack).
Reachability is now a complete, honest partition (the candidate-10 finding): static_reachable + dynamically_reachable + unreachable == task_files. openstack now reads 2 + 13 + 5 = 20 (previously "static 2 / orphan 5" silently hid the 13 dynamic-gated files). orphan_task_files renamed unreachable_task_files, with a README note explaining the tiers (and that files behind an unresolved dynamic boundary stay "unreachable" — the graph still won't guess {{ pkg_mgr }}.yml).
@jier
jier merged commit 232597b into main Sep 13, 2026
8 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.

1 participant