Skip to content

Handle transient target thread lookup errors as run failures - #2643

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2635
Aug 28, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2635

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Human comments

What was wrong

The target reuse path treated every lookup error as proof that the thread was gone. It then disabled all automations for that thread. The reproduction report verifies this cause in two clean checkouts.

What changed

The target reuse path now uses terminal cleanup only for a verified 404 error. Other lookup errors use the existing automation failure policy. The change adds no wire, CLI, guide, protocol, schema, dependency, or stored-data change.

How you verified

  • The focused test failed before the fix. Both target automations became disabled.
  • The focused test passed after the fix. It also verifies that a 404 still disables both automations.
  • pnpm exec turbo run test --filter=bb-plugin-automations --force passed 72 tests.
  • pnpm exec turbo run typecheck --filter=bb-plugin-automations passed.
  • git diff --check passed.
  • The change has 165 text lines across two files.

Fixes #2635

AGENT GENERATED

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.

A transient thread-read failure permanently disables every automation targeting that thread

1 participant