mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4361] [Issue]: Owner approval check is duplicated by unrelated PR activity #2365
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4361
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Pull requests can list
Pull Request Triage / Owner approval for outside contributorsmultiple times for the same head commit. PR #4356 demonstrates the workflow being rerun by PR edits and review activity that did not change the owner-approval decision.Expected behavior
Each pull request head should expose one meaningful owner-approval gate. The gate should re-evaluate only when an event can change its result, while preserving the existing policy:
SpicyMarinara.Actual behavior
The complete Pull Request Triage workflow runs on PR edits and on every submitted, edited, or dismissed review. As a result, CodeRabbit reviews, ordinary reviewer comments, and description edits can create additional
Owner approval for outside contributorscheck runs for the same commit.Steps to reproduce
staging.Pull Request Triage / Owner approval for outside contributorsentries for the same head commit.Environment
Logs, screenshots, or video
Reproduction: https://github.com/Pasta-Devs/Marinara-Engine/pull/4356
PR #4356 produced repeated
pull_request_targetruns from edits and repeatedpull_request_reviewruns from CodeRabbit and ordinary reviewer comments.Additional context
The current
.github/workflows/pull-request-triage.ymllistens topull_request_targetactionsopened,reopened,edited, andsynchronize, pluspull_request_reviewactionssubmitted,edited, anddismissed. The owner-approval job only checks the base branch, so it runs for every one of those events.Keep the fix focused on trigger and job filtering. Normal PR lifecycle events should establish or refresh the gate, base-branch changes should revalidate policy, and only approval-relevant review activity from
SpicyMarinarashould refresh the outside-contributor decision. CodeRabbit and non-owner review activity must not recreate the owner-approval check.Template check
@SpicyMarinara commented on GitHub (Jul 31, 2026):
SpicyMarinara is taking this in
agent/issue-sweep-4350-4361. Work is tracked in draft PR #4362.