Skip to content

fmt/lint: gate all five published packages - #322

Merged
lannbot merged 2 commits into
mainfrom
chore/fmt-lint-workspace
Sep 11, 2026
Merged

fmt/lint: gate all five published packages#322
lannbot merged 2 commits into
mainfrom
chore/fmt-lint-workspace

Conversation

@lannbot

@lannbot lannbot commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Extends #316 and #321 from the runtime to the other four published packages: protocol, translator, wasi, ct-runner. just fmt-check and just lint now loop over a shipped list in the justfile; harness, examples, and tools are not shipped and stay ungated.

  • One-time deno fmt of the four packages — whitespace/wrap only (the bulk of the diff; wasi dominates).
  • Lint, stock rules, fixes not suppressions: dead type-only imports removed (hasBrand, OpenOptions x2, loadTagsInventory, analyzeImports); deno-lint-ignore no-explicit-any comments re-placed on the exact lines fmt had separated them from, or deleted where no any remained (normalize in two ct-runner tests); one async dropped from an assertRejects callback whose body throws synchronously (the helper catches sync throws).
  • No deno.json exclusions needed in these packages; no rules disabled.

Gates: just fmt-check, just lint, just test-protocol test-wasi test-ct-runner test-translate test-sockets-node publish-check all green. Runtime and deno.lock untouched.

Automerge armed.

Extends #316/#321 from runtime to protocol, translator, wasi, and
ct-runner. `fmt-check` and `lint` now loop over the `shipped` list;
harness, examples, and tools are not shipped and stay ungated.

One-time reformat of the four packages (whitespace/wrap only) plus the
handful of stock-rule lint hits: dead type imports removed
(`hasBrand`, `OpenOptions` x2, `loadTagsInventory`, `analyzeImports`),
`deno-lint-ignore no-explicit-any` comments moved onto the lines fmt
separated them from (or deleted where nothing was left to ignore), and
one `async` dropped from an `assertRejects` body that throws
synchronously.

`just test-protocol test-wasi test-ct-runner test-translate
test-sockets-node publish-check` green; runtime untouched.
@lannbot
lannbot enabled auto-merge September 10, 2026 23:58
version-guard-local's protocol-tear-identity check: any byte change to
the protocol package needs its version advanced before the next
publish. Formatting only; no host-ABI change (goldens untouched).
@lannbot
lannbot merged commit fd4266b into main Sep 11, 2026
4 checks passed
@lannbot
lannbot deleted the chore/fmt-lint-workspace branch September 11, 2026 00:06
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.

2 participants