Skip to content

test(discord): remove duplicate inbound context contract - #121318

Merged
steipete merged 1 commit into
mainfrom
claude/remove-duplicate-discord-inbound-contract
Aug 10, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/remove-duplicate-discord-inbound-contract

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Discord test shard invokes the finalized inbound-context contract twice with the same fixture and helper, adding redundant maintenance and execution cost without independent coverage.

Why This Change Was Made

Remove the duplicate invocation and its unused imports from the message-handler test. The canonical inbound-context.contract.test.ts proof remains unchanged, and the independent GroupSystemPrompt metadata test remains in place.

User Impact

None. This is test-only cleanup with no production behavior change.

Evidence

  • 13 focused Discord tests passed across the canonical contract, message-handler inbound-context, and message-handler context files.
  • Targeted formatting and Discord extension lint passed.
  • git diff --check passed; diff is one test file with eight deletions and no additions.
  • Changed-check dry-run selected the extensionTests lane.
  • Autoreview and TruffleHog completed cleanly with no actionable findings.
  • Remote extension-test typecheck was unavailable because the Crabbox/Blacksmith tooling could not provide that proof; exact-head CI must pass the extension test types lane before prepare/merge.

AI-assisted; the final diff and proof were reviewed before submission.

@clawsweeper

clawsweeper Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 10, 2026 01:19
@openclaw-barnacle openclaw-barnacle Bot added the channel: discord Channel integration: discord label Aug 10, 2026
@steipete steipete self-assigned this Aug 10, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 10, 2026
@steipete
steipete merged commit ba5895a into main Aug 10, 2026
144 of 151 checks passed
@steipete
steipete deleted the claude/remove-duplicate-discord-inbound-contract branch August 10, 2026 01:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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

Labels

channel: discord Channel integration: discord maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant