Skip to content

fix(slack-bot): match all open blog PRs in #N resolver, not just drafts#25

Merged
superterran merged 1 commit intomainfrom
fix/slack-bot-non-draft-prs
May 4, 2026
Merged

fix(slack-bot): match all open blog PRs in #N resolver, not just drafts#25
superterran merged 1 commit intomainfrom
fix/slack-bot-non-draft-prs

Conversation

@superterran
Copy link
Copy Markdown
Contributor

Summary

Follow-up to #24. The `#N` resolver was filtering on `pr.draft === true`, but `pr-creator.js` opens posts ready-for-review (since 5ddb53c). With the filter, the batch came back empty and `#3 …` replies fell through to the slug-matching path, which can't find unmerged drafts in `main`.

Drop the draft requirement — group purely by the `blog/YYYY-MM-DD-…` branch prefix.

Test plan

pr-creator.js opens posts ready-for-review (commit 5ddb53c removed --draft),
but getLatestIdeaBatch was filtering on pr.draft === true so the batch came
back empty and "#3 ..." replies fell through to the slug-matching parseIntent
path, which failed to find unmerged drafts in main.

Drop the draft requirement; identify the batch purely by the blog/YYYY-MM-DD-
branch prefix instead.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@superterran superterran merged commit 1a72a24 into main May 4, 2026
1 check passed
@superterran superterran deleted the fix/slack-bot-non-draft-prs branch May 4, 2026 18:50
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