You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/04/27 21:43:39 UTC

[PR] Add maintainer-review skill for sequential PR code review [airflow]

potiuk opened a new pull request, #65981:
URL: https://github.com/apache/airflow/pull/65981

   Adds `.github/skills/maintainer-review/` (with the symlink at
   `.claude/skills/maintainer-review`) — the deep-review
   counterpart to `pr-triage`.
   
   Where `pr-triage` decides *whether* to engage with a PR
   (draft/comment/close/rebase/rerun/mark-ready/ping), this skill
   walks a maintainer through the actual code review: read the
   diff, apply the project's review criteria
   (`.github/instructions/code-review.instructions.md` + `AGENTS.md`
   + any per-area `AGENTS.md` discovered along the touched paths),
   optionally run a locally-configured adversarial reviewer
   (today: the OpenAI Codex plugin), draft an `APPROVE` /
   `REQUEST_CHANGES` / `COMMENT` review with verbatim findings,
   and — on the maintainer's confirmation — post via
   `gh pr review`.
   
   ## Layout
   
   Mirrors `pr-triage`:
   
   - `SKILL.md` — entry point, 9 golden rules, step-by-step.
   - `prerequisites.md` — `gh` auth, repo access, plugin detection.
   - `selectors.md` — default `review-requested-for-me` plus
     filters: `area:`, `collab:true|false`, `team:`, `ready`,
     `pr:<N>`, `repo:`, `max:`, `dry-run`, `no-adversarial`.
   - `review-flow.md` — sequential per-PR workflow with prefetch.
   - `adversarial.md` — second-reviewer integration, including the
     "assistant proposes, user fires" pattern for slash-command
     invocation (`/codex:adversarial-review`).
   - `posting.md` — `gh pr review` recipes, body templates, and
     the AI-attribution footer (per-disposition variant).
   - `criteria.md` — pointer + summary checklist of the project's
     review criteria.
   
   ## Other changes in this commit
   
   - `.gitignore` — add the new symlink to the keep-list,
     alongside `pr-triage`.
   - `.pre-commit-config.yaml` — add the new `SKILL.md` to the
     agentic-markdown `insert-license` exclude list. Frontmatter
     must be the first content of the file; without the exclude
     the hook prepends a license comment and breaks frontmatter
     parsing.
   - `dev/breeze/doc/images/output_ci_selective-check.txt` — the
     `update-breeze-cmd-output` hook regenerates this on any
     `.pre-commit-config.yaml` change; including the new hash so
     the hook exits clean on the next run.
   
   ## Out of scope
   
   - Triage actions (drafting, closing, rerunning, marking
     ready) — those stay in `pr-triage`.
   - Merging — separate flow.
   - Editing contributor branches — never.
   
   ## Adversarial-reviewer integration
   
   The skill detects the OpenAI Codex plugin
   (`codex@openai-codex`) at session start and proposes
   `/codex:adversarial-review` per PR. Slash commands cannot be
   invoked from the assistant side — the skill explicitly uses
   the "assistant proposes, user fires" pattern documented in
   `adversarial.md`. Other adversarial reviewers can be wired up
   the same way via project- or user-scope CLAUDE.md /
   memory entries.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add maintainer-review skill for PR code review [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #65981:
URL: https://github.com/apache/airflow/pull/65981#issuecomment-4337400748

   ### Backport failed to create: v3-2-test. View the failure log <a href='https://github.com/apache/airflow/actions/runs/25066323776'> Run details </a>
   
   Note: As of [Merging PRs targeted for Airflow 3.X](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#merging-prs-targeted-for-airflow-3x)
   the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.
   
   In matter of doubt please ask in [#release-management](https://apache-airflow.slack.com/archives/C03G9H97MM2) Slack channel.
   
   <table>
       <tr>
           <th>Status</th>
           <th>Branch</th>
           <th>Result</th>
       </tr>
       <tr>
           <td>❌</td>
           <td>v3-2-test</td>
           <td><a href="https://github.com/apache/airflow/commit/dbf558c641f9db3927ba099105057dba93065aeb"><img src='https://img.shields.io/badge/Commit-dbf558c-red' alt='Commit Link'></a></td>
       </tr>
   </table>
   
   You can attempt to backport this manually by running:
   
   ```bash
   cherry_picker dbf558c v3-2-test
   ```
   
   This should apply the commit to the v3-2-test branch and leave the commit in conflict state marking
   the files that need manual conflict resolution.
   
   After you have resolved the conflicts, you can continue the backport process by running:
   
   ```bash
   cherry_picker --continue
   ```
   
   If you don't have cherry-picker installed, see the [installation guide](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#how-to-backport-pr-with-cherry-picker-cli).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add maintainer-review skill for PR code review [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #65981:
URL: https://github.com/apache/airflow/pull/65981


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org