Skip to content

feat(seer): Comment on the PR when the PR iteration setting skips feedback - #131321

Merged
joseph-sentry merged 2 commits into
masterfrom
joey--pr-iter-nudge-comment
Nov 17, 2026
Merged

joseph-sentry merged 2 commits into
masterfrom
joey--pr-iter-nudge-comment

Conversation

@joseph-sentry

@joseph-sentry joseph-sentry commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

we're changing PR iteration so auto iteration is opt in and is enabled by the
project setting

when this setting is disabled we're not queueing up automated feedback, but we still
want the user to know that we're able to fix that

so we're posting a comment on the PR based on the automated feedback that we got
to prompt the user to make a comment to trigger an iteration

Co-Authored-By: Claude Opus 5.5 [email protected]

@joseph-sentry joseph-sentry changed the title joey pr iter nudge comment feat(seer): Comment on the PR when the PR iteration setting skips feedback Nov 16, 2026
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 16, 2026
@joseph-sentry
joseph-sentry force-pushed the joey--pr-iter-nudge-comment branch 2 times, most recently from 411bdcf to 9e124ef Compare November 16, 2026 20:31
@joseph-sentry
joseph-sentry marked this pull request as ready for review November 16, 2026 21:16
@joseph-sentry
joseph-sentry requested a review from a team as a code owner November 16, 2026 21:16
@joseph-sentry
joseph-sentry force-pushed the joey--pr-iter-nudge-comment branch 2 times, most recently from 2b237f3 to ce629c6 Compare November 16, 2026 21:37
@joseph-sentry
joseph-sentry force-pushed the joey--pr-iter-nudge-comment branch from ce629c6 to 53dd481 Compare November 16, 2026 21:38
Base automatically changed from joey--pr-iter-skip-unrequested to master November 17, 2026 16:39
@joseph-sentry
joseph-sentry force-pushed the joey--pr-iter-nudge-comment branch from 53dd481 to aeddbf7 Compare November 17, 2026 16:39
joseph-sentry and others added 2 commits November 17, 2026 12:18
pause, emit, missing permissions, and out of credits each looked up a run's SeerRun
row with their own copy of the same query. they now share get_seer_run in
run_markers, next to the other SeerRun.extras helpers

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dback

we're changing PR iteration so auto iteration is opt in and is enabled by the
project setting

when this setting is disabled we're not queueing up automated feedback, but we still
want the user to know that we're able to fix that

so we're posting a comment on the PR based on the automated feedback that we got
to prompt the user to make a comment to trigger an iteration

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@joseph-sentry
joseph-sentry force-pushed the joey--pr-iter-nudge-comment branch from aeddbf7 to d328c70 Compare November 17, 2026 17:19
@joseph-sentry
joseph-sentry merged commit d7d8df2 into master Nov 17, 2026
75 checks passed
@joseph-sentry
joseph-sentry deleted the joey--pr-iter-nudge-comment branch November 17, 2026 20:16
leeandher added a commit that referenced this pull request Nov 17, 2026
Master's #131321 replaced the per-file SeerRun lookup helpers in
seer/autofix/pr_iteration (emit.py, missing_permissions.py, out_of_credits.py,
pause.py) with a shared get_seer_run() in run_markers.py. Take master's side
in all five conflicts, which drops the # noqa: S035 comments on the deleted
lines. The PR stays comment-only.

New S035 violations from master are not marked here:
- run_markers.py get_seer_run() and four Supabase Integration lookups are
  handled in #131503.
- .agents/skills/verify-sentry/scripts/sentry_dev.py is exempted in #130924.

Refs ISWF-3679
leeandher added a commit that referenced this pull request Nov 17, 2026
Address a new S035 violation that landed on master after the noqa PRs:
#131321 added get_seer_run() in seer/autofix/pr_iteration/run_markers.py with
an unordered SeerRun .first(). SeerRun.seer_run_state_id is unique but
nullable, the case the noqa PRs leave for a person to check, so mark it
instead of switching to get_or_none().

Refs ISWF-3679
leeandher added a commit that referenced this pull request Nov 18, 2026
Address a new S035 violation that landed on master after the noqa PRs:
#131321 added get_seer_run() in seer/autofix/pr_iteration/run_markers.py with
an unordered SeerRun .first(). SeerRun.seer_run_state_id is unique but
nullable, the case the noqa PRs leave for a person to check, so mark it
instead of switching to get_or_none().

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

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants