ci: fix stalled PRs by bypassing check-ai-tells cleanly - #1173
Conversation
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Claude finished review — View run Review: PR #1173 —
|
…sue (#3734) * memory: closing keywords don't auto-close a referenced PR, only an issue Merging d-morrison/rme#1173, whose body read "Fixes issue #1169" against an open duplicate PR (not an issue), left #1169 open after merge; it had to be closed by hand. Records the asymmetry so future sessions verify rather than assume. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems * fix: add semantic line breaks in closing-keyword memory addition check-new-line-breaks flagged 4 lines packing more than one sentence/clause. Reflows the added section to one clause per line. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems * fix: avoid a bare #N at line start tripping markdownlint MD018 A line starting "#1173 was..." reads as a malformed ATX heading to markdownlint (no space after #). Reword to avoid starting a line with a bare issue/PR reference. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems * fix: correct false claim about gh CLI's duplicate-close support Review finding: "GitHub's CLI has no native duplicate reason" was false. gh issue close has natively supported --reason duplicate and --duplicate-of since December 2024. Corrects the routing to use the native command for a duplicate issue, keeping the PR-close caveat. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems * fix: distinguish gh issue close from issue_write on a PR number Review finding, verified against cli/cli's close.go source: gh issue close resolves a PR number via REST (treats it as an issue) and succeeds via a PullRequestClose fallback, unlike issue_write which uses a GraphQL field that only resolves true issues and errors. The prior fix wrongly grouped both tools as erroring identically. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems * fix: gh issue close resolves a PR via GraphQL, not REST Review finding, this time independently verified against the actual gh v2.100.0 source (fetched pkg/cmd/issue/shared/lookup.go and api/queries_pr.go directly rather than trusting the review alone): both issue_write and gh issue close use GraphQL. The difference is the queried field (type-specific Repository.issue vs polymorphic issueOrPullRequest), not the transport. Corrects the third consecutive round's error on this exact point. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S3EW8dfJZQn8hj4gbVQems --------- Co-authored-by: Claude <noreply@anthropic.com>
Fixes issue #1169 where
check-ai-tellswould stall non-prose PRs because its required status check was skipped entirely by a top-levelpaths:filter. The workflow now always runs and delegates to a bypass reusable workflow when no prose changes are detected.PR created automatically by Jules for task 18175414958215205686 started by @d-morrison