Skip to content

style(paperclip): format plugin.spec.ts with prettier - #5290

Merged
nicoloboschi merged 1 commit into
mainfrom
fix/paperclip-spec-formatting
Oct 6, 2026
Merged

nicoloboschi merged 1 commit into
mainfrom
fix/paperclip-spec-formatting

Conversation

@nicoloboschi

Copy link
Copy Markdown
Collaborator

Summary

main is currently red on verify-generated-files: #5268 landed
hindsight-integrations/paperclip/tests/plugin.spec.ts unformatted, and that job runs
./scripts/hooks/lint.sh after the generation scripts and then fails on any resulting diff.
This commit is prettier's output for that one file — whitespace only, no logic.

Why it slipped through

lint.sh formats an integration only when that integration already has uncommitted changes
(integration_changed, lines 73-92), so a clean local run skips paperclip entirely and reports
All lints passed. npx prettier --check tests/plugin.spec.ts in that directory does fail.

Verification

  • npx prettier --check tests/plugin.spec.ts passes after the change.
  • The diff reformats three harness.executeTool(...) call sites onto multiple lines; nothing else.
  • Local npm test cannot run the suite (@paperclipai/plugin-sdk is not installed in this
    checkout) — CI covers it.

`verify-generated-files` runs lint.sh after the generation scripts and then
fails on the diff, so main has been red since #5268 landed this file
unformatted. lint.sh only formats an integration whose files are dirty
(`integration_changed`), which is why a clean local run does not catch it.
@nicoloboschi
nicoloboschi merged commit 5dcb947 into main Oct 6, 2026
100 checks passed
@nicoloboschi
nicoloboschi deleted the fix/paperclip-spec-formatting branch October 6, 2026 10:22
@nicoloboschi nicoloboschi mentioned this pull request Nov 3, 2026
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