Skip to content

Scope auto approval failures to active workflow rounds - #242

Merged
matteius merged 1 commit into
mainfrom
codex/fix-auto-approval-round
Nov 19, 2026
Merged

matteius merged 1 commit into
mainfrom
codex/fix-auto-approval-round

Conversation

@matteius

Copy link
Copy Markdown
Contributor

Fixes the remaining auto-approval finding after #241 was closed.

A send-back creates fresh tasks on the same submission, so a returned task from a completed round could permanently block auto-approval. This change identifies a new round when a completed return is followed by a later task on the same workflow track. Failures on other tracks and in the current round still block approval. The check now runs before pending tasks are skipped.

Validation: pytest -q (1,133 passed, 3 skipped); Ruff lint and format checks passed.

@matteius
matteius merged commit 69d9200 into main Nov 19, 2026
16 checks passed
@matteius
matteius deleted the codex/fix-auto-approval-round branch November 19, 2026 08:09
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