The GitHub Actions job "Tests" on airflow.git/worktree-modular-stargazing-lampson has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 7a1cffde1c28a150042bdf8130e41dfc746d5116 / Jarek Potiuk <[email protected]> Add optimistic locking to verify PR state before executing actions Before executing any state-changing triage action (draft, comment, close, ready, rebase, rerun, ping), the system now re-fetches the PR from GitHub and compares key state fields against a snapshot taken when the PR was first displayed to the user. Tracked state fields: - head_sha: detects new commits pushed since display - updated_at: detects any PR mutation (comments, labels, reviews) - is_draft: detects draft status changes - mergeable: detects merge conflict status changes When a change is detected: - The PR data is updated in place with fresh values - Deterministic checks are re-run synchronously - The new DeterministicResult is returned to the caller - In TUI mode: the entry is re-categorized and user returns to list - In sequential mode: callers can handle the stale result New types and functions: - PRStateSnapshot: captures key PR fields for comparison - _snapshot_pr_state: creates a snapshot from current PR data - _refresh_pr_if_stale: re-fetches PR, compares, re-evaluates Integration points: - _execute_triage_action: accepts optional snapshot parameter - _prompt_and_execute_flagged_pr: snapshots at display time, passes through to _execute_triage_action - TUI FLAGGED/PASSING handlers: handle DeterministicResult returns by re-categorizing entries and returning to the list Report URL: https://github.com/apache/airflow/actions/runs/23375401345 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
