Skip to content

feat: show the author the previous bot's comments on an issue, as unverified - #7

Merged
ascorbic merged 1 commit into
mainfrom
feat/previous-bot-context
Nov 6, 2026
Merged

ascorbic merged 1 commit into
mainfrom
feat/previous-bot-context

Conversation

@ascorbic

@ascorbic ascorbic commented Nov 6, 2026

Copy link
Copy Markdown
Member

Before restarting issues the previous bot stalled on (timeouts and sandbox failures, mostly bot:needs-attention), the new bot should see what it found. Its comments come from emdashbot[bot], and the issue context from #5 drops every [bot] account, so a restart had to rediscover everything. On emdash-cms/emdash#4067, for example, it had reported a verified fix before timing out.

Changes

  • New previousBots config list, set to ["emdashbot[bot]"] in both profiles.
  • On assignment to an issue, comments from those logins are included in the earlier comments, marked "previous bot, unverified", with a note that its findings must be checked against the code and that work it didn't publish isn't in the checkout. Hidden HTML markers are stripped.
  • Other bot accounts (including this bot) are still left out.

Testing

  • Extended the issue-context test in test/workers/intake.test.ts
  • pnpm check and pnpm test pass locally (283 tests)

…erified

Issues the previous bot stalled on hold its diagnosis and progress in
comments from emdashbot[bot], which the issue context dropped with every
other bot account. Comments from logins in the new previousBots setting
now reach the author, marked as unverified findings to check against the
code, with their hidden markers removed.
@ascorbic
ascorbic enabled auto-merge (squash) November 6, 2026 17:44
@ascorbic
ascorbic disabled auto-merge November 6, 2026 17:46
@ascorbic
ascorbic merged commit ee196fc into main Nov 6, 2026
2 checks passed
@ascorbic
ascorbic deleted the feat/previous-bot-context branch November 6, 2026 17:46
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