Skip to content

Add cluster-policies skill - #258

Closed
odaneau-astro wants to merge 2 commits into
mainfrom
skill/cluster-policies
Closed

Add cluster-policies skill#258
odaneau-astro wants to merge 2 commits into
mainfrom
skill/cluster-policies

Conversation

@odaneau-astro

Copy link
Copy Markdown

Summary

  • Adds a skill for Airflow cluster policies (dag_policy, task_policy, task_instance_mutation_hook, pod_mutation_hook) covering hook selection, safety-critical rules (no blocking I/O), and testing.
  • Follow-up commit fixes a cross-reference pointing at the wrong step and applies the Astronomer style guide plus an AI-writing-tell cleanup pass (em dashes, hollow intensifiers).

Test plan

  • Verify hook signatures against the introspection commands (Step 2) on a real Airflow install
  • Confirm the safety-critical rules section matches current guidance on blocking I/O in the DAG processor/scheduler

odaneau-astro and others added 2 commits September 2, 2026 22:25
Documents the four Airflow cluster policy hooks (dag_policy, task_policy,
task_instance_mutation_hook, pod_mutation_hook), both implementation paths
(airflow_local_settings.py vs. a shared @hookimpl plugin/entry point), and
the two production-safety rules that matter most: no blocking I/O in a
policy function, and always log/document what a policy mutates.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Fixes a cross-reference pointing at the wrong step number and applies
the Astronomer style guide plus a pass to remove AI-writing tells (em
dashes, hollow intensifiers).
@odaneau-astro

Copy link
Copy Markdown
Author

Closing: opened against the wrong repo. This work is being redone against astronomer/hosted-skills.

@odaneau-astro
odaneau-astro deleted the skill/cluster-policies branch September 3, 2026 13:37
@odaneau-astro
odaneau-astro restored the skill/cluster-policies branch September 3, 2026 19:15
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