Skip to content

Merge conflict fix stops ask for Resume too often #3881

Closed

Description

@sentry-junior

The Merge conflict · #N Review item with Resume (#3709) shows up often on Junior pull requests. Each one stops conflict fixes until a person acts. The default branch of this repo takes dozens of commits a day (about 60 from 2026-11-19 to 2026-11-20), so open pull requests conflict often.

Policy in packages/junior-github/src/merge-conflict-checks/policy.ts:

  • Fixes run only within 2 days of the latest activity by a person, at most once a day (an approved PR skips both limits), and at most 3 in a row.
  • A stop adds the Resume item for one of three reasons: idle (more than 2 days without activity by a person), limit (3 fixes since the latest activity), or unlanded (the head commit is the same a day after a fix).
  • After 3 days without activity, a conflict does nothing, and nobody is told.
  • Activity by a person: opening the PR, a commit or force push by someone other than a bot, a submitted review, a PR conversation comment, or Resume. A message in the Slack or dashboard Conversation does not count.
  • Activity resets both counters, so the next conflict check fixes again without Resume. But the Resume item stays open until the conflict goes away, the PR merges or closes, or someone picks Resume.
  • Inference, not traced: Dismiss closes only that one item. A later stop adds a new item, so a person cannot turn the asks off for one PR.

Proposed by @BYK: tune the limits so a stop is rare. Keep Resume as the stopgap, and when the item shows, let the person resume or dismiss it for good.

Related: design/attention.md says Junior tells nobody when it stops upkeep that it owns. The Resume ask is recorded as a gap there (#3867).

via @BYK.

--

View Session [Sentry]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions