(janitor/dependencies) remove unused itty-time from gastown and wasteland - #5927
Merged
Conversation
Contributor
Author
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by grok-4.6 · Input: 65.7K · Output: 4.5K · Cached: 214.8K Review guidance: REVIEW.md from base branch |
eshurakov
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependencies removed
itty-timefromservices/gastown(was1.0.6)itty-timefromservices/wasteland(was^1.0.6)Both are private, non-published Cloudflare Worker services, so removing an unused runtime
dependency carries no published-package contract impact.
Evidence each was unused
itty-timeis a small standalone time-parsing/formatting utility from the itty ecosystem.It has no imports anywhere in the repository:
node_modules,.git, andpnpm-lock.yaml) foritty-timematches only the twopackage.jsondeclarations — zero source, config,test, or script references.
import ... from 'itty-time',require('itty-time'), dynamicimport(), orimport typereferences exist in either service (or anywhere else in the monorepo).wrangler.jsonc/wrangler.toml,vitest.config.ts,tsconfig.json, or anyoxlint/build configuration for either service.This is consistent with a dependency left behind after the code that used it was removed.
Dynamic, configuration, and tooling references checked
requirecalls.tool (contrast with e.g.
@hono/trpc-server,@sentry/cloudflare, orwrangler).catalog.typecheck,lint,test) were verified to stillload and run after removal.
Package publication and peer-dependency considerations
cloudflare-gastownandcloudflare-wastelandare both"private": true; neither ispublished to npm, so no peer/optional/contract obligations apply.
itty-timeis a leaf package in the lockfile (itty-time@1.0.6: {}insnapshots) withno dependents and no peers of its own, so its removal cannot unmask any undeclared
transitive dependency or introduce a peer-resolution gap.
pnpm peers checkwarning is unchanged by this removal (leaf package,no peers).
Validation performed
pnpm install --prefer-offlinecompleted cleanly; lockfile diff is limited to the threeitty-timeentries (two importers + one package/snapshot pair), 13 deletions, nounrelated changes.
pnpm --filter cloudflare-gastown typecheck— passed (0 errors).pnpm --filter cloudflare-wasteland typecheck— passed (0 errors).pnpm --filter cloudflare-gastown lint— 0 warnings, 0 errors.pnpm --filter cloudflare-wasteland lint— 0 warnings, 0 errors.pnpm --filter cloudflare-gastown test— 335 passed (22 files).pnpm --filter cloudflare-wasteland test— 126 passed (12 files).Note: these service test suites are Durable Object / unit tests and do not require
PostgreSQL or Redis, which are unavailable in this sandbox; no DB-backed checks were
skipped as a result of the change.
Uncertainty
end-to-end in this environment (no
wrangler deploy), but sinceitty-timeis neverimported, the produced Worker bundle is unaffected by its removal.