Skip to content

fix(signer): typecheck the signer with the site - #557

Merged
harlan-zw merged 1 commit into
mainfrom
fix/signer-typecheck
Oct 7, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/signer-typecheck

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Found while preparing #556.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The artifact signer Worker imports shared/server code, but no CI job typechecked it. main fails the signer's tsc. #525 and #540 call new TextDecoder('utf-8', { fatal: true }) in shared/server/github-app-credential.ts, and the Workers types require ignoreBOM as well. The other decoders the signer reaches already pass ignoreBOM: false.

The root typecheck script now also runs the signer's typecheck, so the site CI job covers it. Without the one-line fix, the extended script fails.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The signer imports shared/server code, but no CI job typechecked it, so
a shared change broke it on main unnoticed. Workers types require
ignoreBOM in TextDecoder options.
@harlan-zw
harlan-zw merged commit bef6377 into main Oct 7, 2026
7 checks passed
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