Skip to content

fix(pr-triage): refresh the liveness read before the approve-workflow and rerun guards - #2027

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/triage-guard-refresh-liveness
Nov 9, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/triage-guard-refresh-liveness

Conversation

@potiuk

@potiuk potiuk commented Nov 9, 2026

Copy link
Copy Markdown
Member

Summary

  • triage guard checks the head against any saved liveness-<N>.json, whichever action it runs for. approve-workflow.md and rerun.md never refresh that file, so a copy left from an earlier step reports a head move that never happened.
  • Both actions now save gql-pr-liveness <N> before the guard, as rebase.md and mark-ready.md already do.

Seen on apache/airflow#76510: after a fixup push, guard approve-workflow refused with "the head moved" until the liveness read was refreshed.

Type of change

  • Skill change (.claude/skills/<name>/) — eval fixtures updated below

Test plan

RFC-AI-0004 compliance

  • HITL — no new mutation; the added step is a read

Linked issues

None found.

🤖 Generated with Claude Code

… and rerun guards

triage guard checks the head against any saved liveness-<N>.json, so a
copy left from an earlier step reported a head move that never happened.
Save gql-pr-liveness before the guard in both actions, as rebase and
mark-ready already do.

Generated-by: Claude Opus 5
@potiuk potiuk added family:pr-management pr-management-* skills capability:fix Implement code change to resolve an issue labels Nov 9, 2026
@github-actions github-actions Bot added the capability:triage Sweep + classify + propose disposition label Nov 9, 2026
@potiuk
potiuk merged commit f4171b9 into apache:main Nov 9, 2026
9 checks passed
@potiuk
potiuk deleted the fix/triage-guard-refresh-liveness branch November 9, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:fix Implement code change to resolve an issue capability:triage Sweep + classify + propose disposition family:pr-management pr-management-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant