Skip to content

Phase 1.1: fast discovery and explicit package analysis - #5

Merged
lucasbraum merged 3 commits into
mainfrom
phase-1-1
Oct 4, 2026
Merged

lucasbraum merged 3 commits into
mainfrom
phase-1-1

Conversation

@lucasbraum

@lucasbraum lucasbraum commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

The old default check spent a minute compiling whichever dependencies it could reach. Discovery now has its own fast command:

npx uptide list
npx uptide check zod stripe
npx uptide fix zod
  • list reads manifests, lockfiles, source syntax and registry metadata only. It reports current → latest, major/minor/patch, tier, importing files, direct calls/new/JSX, top symbols and workspaces. Ordering is deterministic; minors/patches collapse unless --all; unused declarations have their own section; --json includes every row and discovery failure.
  • check requires package names and exits 2 with a pointer to list when omitted. No --max-time or implicit budgeted scan. --only remains a compatibility alias for explicit names; all is rejected. Tiers, generic evidence rules and partial results remain.
  • plan uses discovery plus optional --results check.json, without compilation or tarball downloads. Unchecked/partial packages have unknown effort. Saved evidence must match repository, versions and workspaces; peer metadata constrains the order. Rerun check after source edits.
  • CPU count and available memory set workspace concurrency. Named checks load only importing workspaces, with importer files as roots for both baseline and target programs. The estimate follows their resolved graph, including ambient types and workspace source mappings, instead of charging for every installed declaration. Worker heaps plus estimated native overhead use a 60% available-memory reservation. Slots are capped by the number of active workspaces; workspaces run serially with the full reservation if they cannot fit in parallel. Unexpected parallel memory failures get one serial retry after all workers release memory. Only a scoped program that cannot fit alone is skipped, naming the workspace, estimate and available memory. Overrides cannot bypass the cap.
  • TypeScript 7's missing main-entry compiler API is one root-cause finding with retained downstream locations: 112 sites in the Umami evaluation, with two other diagnostics kept separate.
  • Recursive declaration analysis reports ANALYSIS_STACK_OVERFLOW per package. Reproduced pino on the PR Phase 1: generic mode, support tiers, uptide plan #3 baseline and opened pino analysis exceeds the recursion limit on Documenso #4; the underlying recursive extraction/diff remains an engine limitation, not a claimed fix.
  • README, CLI docs/help, Action guidance, terminal/HTML next commands and Docker smoke follow the new flow. The Action continues checking explicitly selected PR dependencies. A minor changeset covers the breaking no-argument check change.

How it was verified

  • pnpm lint, pnpm typecheck, pnpm test: pass (core 586 passed / 15 network-gated skipped; CLI 180 passed).
  • Docker smoke on Node 22: npm, npm workspaces, pnpm, Yarn classic and Yarn Berry; includes discovery, no-name refusal, named checks and verified fixes.
  • pnpm public:check: clean with the private denylist loaded only for that command.
  • Targeted coverage includes metadata-only discovery/planning, import forms, ignored/generated files and symlink cycles, stable ranking, multiple workspace versions, memory caps/preflight skips, serial retry ordering, scoped baseline/target roots and cache separation, unused removed imports, all 112 root-cause sites in details, and recursive extraction failure. Peer metadata caching is compatible with pre-existing registry caches.
  • Manual plan --results on Umami reused the checks and produced the HTML plan in 1.3 seconds, with the expected peer blockers and no implicit deep analysis.

Public-repository evaluation

Pinned to the same public revisions as PR #3:

Repository Commit Install used for final evaluation
umami-software/umami ec0ff50388c264ed8ce46f00967e92f7e71476ae npx [email protected] install --ignore-scripts --frozen-lockfile
outline/outline 478e8121cbe517b9d7773e9d68d20bfe26056c59 YARN_ENABLE_SCRIPTS=false corepack yarn install --immutable --mode=skip-build
documenso/documenso 80823ede73a5889753c341f2a5a22d1459cd99b7 npx npm@11 ci --ignore-scripts

Checkouts and installations stayed in a scratch directory outside Uptide. Nothing from those repositories is committed. Outline was freshly reinstalled with skip-build after discovering that Yarn's enableScripts=false alone can still build the root workspace.

Wall times below are local Node 22.20.0 runs on an 18 GB machine, with warmed registry metadata. Initial discovery measurements were also a few seconds (Outline 4.2 s, Documenso 3.5 s). JSON was captured and rendered through the same terminal formatters for the outputs below.

The memory-skip regression raised in review is fixed. Final named checks below all completed without memory skips. Measurements use /usr/bin/time -l on macOS (peak RSS of the CLI process, including worker threads), Node 22.20.0, the same 18 GB machine, pinned checkouts and warmed caches. Commands ran sequentially; JSON was rendered with the default terminal formatter below. RSS varies with garbage collection and host pressure, so estimates reserve margin rather than claim an exact prediction.

Repository Command Wall time Peak RSS Exit
umami uptide list (original discovery run) 0.87 s not measured 0
outline uptide list (original discovery run) 1.45 s not measured 0
documenso uptide list (original discovery run) 1.38 s not measured 0
outline uptide check mobx-react react-i18next 59.73 s 3,682.4 MiB 1
documenso uptide check zod 94.05 s 2,695.3 MiB 1
umami uptide check typescript @dicebear/core 3.46 s 777.0 MiB 1
outline uptide check mobx-react 31.99 s 2,955.4 MiB 1

Exit 1 is the expected result when breaking findings are present. Outline reports the same four mobx-react errors as #3: app/index.tsx:7 (Provider import), app/hooks/useStores.ts:1 and shared/hooks/useStores.ts:1 (MobXProviderContext imports), plus shared/hooks/useStores.ts:5 (TS2571). react-i18next still reports TS2589. The removed JSX binding at app/index.tsx:7 required compiling every importer root, even when API usage attribution found no use of that binding.

Documenso analyzes zod across all eight importing workspaces, including the undeclared importer apps/remix; none is memory-skipped. Umami keeps one TypeScript API cause with 112 sites, plus two separate type diagnostics and the DiceBear removed export. The default output below shows one cause row; --details expands all 112 locations and messages. Partial-analysis reporting remains covered by the existing tests and never reports an incomplete package as clean.

Estimate versus measured RSS

The preflight estimates heap, and scheduling reserves another 40% for native/young-generation overhead. Compare that total RSS reservation with measured peak process RSS, not the heap number alone. The calibrated formula is 512 MiB + 150× reachable source bytes + 24× reachable declaration bytes + 4.5 MiB per importer root; coefficients are heuristics, not a hard RSS guarantee. The final runs chose one worker, with a full single-worker heap allowance around 4,107 MiB inside a 5,750 MiB total reservation.

Scoped program Importer roots Heap estimate Estimate incl. 1.4× overhead Measured peak RSS
Outline mobx-react 297 2,730 MiB 3,822 MiB 2,955.4 MiB
Outline mobx-react + react-i18next 421 3,289 MiB 4,604.6 MiB 3,682.4 MiB
Documenso zod, largest estimate (packages/trpc) 222 2,867 MiB 4,013.8 MiB 2,695.3 MiB (whole serial run peak)

Documenso's per-workspace heap estimates: apps/remix 2,718 MiB, packages/api 537, packages/auth 1,405, packages/ee 787, packages/lib 1,947, packages/prisma 525, packages/trpc 2,867 and packages/ui 569. Only reachable declarations count. During calibration, an earlier isolated mobx-react run peaked at 3,309 MiB and a serial zod run at 2,648 MiB; the final margins cover those observed variations too.

Pino reproduction used the PR #3 core with only: ['pino'], one workspace at a time and a 4096 MB heap: 134.8 s, ending in Maximum call stack size exceeded. See #4 for the public reproduction; recursion remains a clear per-package failure. This revision's requested Documenso rerun targets zod; it does not claim to fix pino's underlying recursion.

Usage is syntactic: indirect aliases/reflection are not followed, and counts are repository-wide when a name has multiple installed versions. A package with no source import may still be required by scripts or configuration. Saved check JSON is explicit evidence from that source state; there is no implicit stale analysis cache.

umami: list
uptide list · umami (pnpm) · 687ms

vitest  4.1.11 → 5.0.3  major · generic · 126 files, 3926 call sites · .
  top symbols: expect (1783), test (854), vi.fn (342), vi.mock (264), vi.mocked (207)
dotenv  17.4.2 → 18.0.5  major · generic · 11 files, 0 call sites · .
motion  12.43.0 → 14.0.0  major · generic · 4 files, 10 call sites · .
  top symbols: useSpring (5), useTransform (5), motion (0)
chalk  5.6.2 → 6.0.1  major · generic · 3 files, 4 call sites · .
  top symbols: default.greenBright (3), default.redBright (1), default (0)
typescript  6.0.3 → 7.0.2  major · generic · 2 files, 48 call sites · .
  top symbols: default.isIdentifier (8), default.isArrayLiteralExpression (4), default.isObjectLiteralExpression (3), default.isPropertyAccessExpression (3), default.isPropertyAssignment (3)
msw  2.15.0 → 3.0.2  major · generic · 2 files, 1 call sites · .
  top symbols: setupServer (1), RequestHandler (0)
react-simple-maps  3.0.0 → 5.0.5  major · generic · 1 files, 4 call sites · .
  top symbols: ComposableMap (1), Geographies (1), Geography (1), ZoomableGroup (1)
prisma  7.10.0 → 8.0.0-rc.19  major · generic · 1 files, 2 call sites · .
  top symbols: defineConfig (1), env (1)
@dicebear/core  9.4.3 → 10.7.0  major · generic · 1 files, 1 call sites · .
  top symbols: createAvatar (1)
redis  5.12.1 → 6.3.0  major · generic · 1 files, 1 call sites · .
  top symbols: createClient (1), RedisClientType (0)
13 minor/patch upgrades (@umami/react-zen, zod, next, @tanstack/react-query, lucide-react, next-intl, immer, serialize-error, react-resizable-panels, react-window, rrweb, react-error-boundary, rrweb-player) · --all to expand

Declared but unused — not imported anywhere, consider removing
7 minor/patch upgrades (@biomejs/biome, @netlify/plugin-nextjs, @types/node, jsdom, postcss-preset-env, rollup, tsx) · --all to expand
Tools used by scripts/configuration may need no source import; review before removing.

Usage is a syntax scan: direct calls/new/JSX through imported bindings; no type analysis.
Next: npx uptide check vitest
umami: check
uptide check · umami (pnpm) · 3.1s

typescript      6.0.3 → 7.0.2    major · latest on npm   generic   ✗ 114 breaking in 2 files    114 by agent
@dicebear/core  9.4.3 → 10.7.0   major · latest on npm   generic   ✗ 1 breaking                 1 by agent

verified: migration pack · generic: no pack, breaking only if the compiler or the runtime probe confirms it

typescript
  ✗ TypeScript 7 has no JavaScript compiler API in its main entry   112 sites   by agent
  ✗ A value no longer has the expected type                         2 sites     by agent

@dicebear/core
  ✗ createAvatar is no longer exported   Avatar.tsx:2   by agent

Next
  npx uptide fix typescript                               migrate with the agent on a new branch, verify, no push
  npx uptide fix @dicebear/core                           migrate with the agent on a new branch, verify, no push
  npx uptide plan --only 'typescript,@dicebear/core'      the order to upgrade in, with the effort
  npx uptide check typescript @dicebear/core --details    every site and reason
outline: list
uptide list · outline (yarn) · 1.3s

react-i18next  12.3.1 → 17.0.15  major · generic · 359 files, 624 call sites · .
  top symbols: useTranslation (383), Trans (241), initReactI18next (0)
styled-components  5.3.11 → 6.5.3  major · generic · 349 files, 511 call sites · .
  top symbols: default (456), useTheme (43), ThemeProvider (5), ServerStyleSheet (2), default.button.attrs (2)
mobx-react  9.2.2 → 10.0.2  major · generic · 297 files, 334 call sites · .
  top symbols: observer (327), observer.observe (3), observer.disconnect (2), Observer (1), Provider (1)
react-router-dom  5.3.4 → 7.18.4  major · generic · 104 files, 164 call sites · .
  top symbols: useHistory (49), useLocation (37), Redirect (19), Route (16), Link (10)
mobx  6.16.1 → 7.0.6  major · generic · 100 files, 162 call sites · .
  top symbols: runInAction (42), action (36), makeObservable (29), isObservableProp (13), isAction (10)
date-fns  3.6.0 → 4.4.0  major · generic · 81 files, 205 call sites · .
  top symbols: subDays (75), format (21), subMinutes (16), subHours (15), addSeconds (8)
koa-router  7.4.0 → 14.0.0  major · generic · 65 files, 62 call sites · .
  top symbols: default (62), IRouterParamContext (0)
i18next  22.5.1 → 26.4.2  major · generic · 57 files, 213 call sites · .
  top symbols: t (165), default.t (32), default.changeLanguage (12), default.use (2), default.addResources (1)
styled-components-breakpoint  2.1.1 → 3.0.0-preview.20  major · generic · 41 files, 58 call sites · .
  top symbols: default (58)
markdown-it  14.3.2 → 15.0.2  major · generic · 37 files, 7 call sites · .
  top symbols: default (7), Options (0), PluginSimple (0)
uuid  11.1.1 → 14.0.2  major · generic · 26 files, 49 call sites · .
  top symbols: v4 (49)
vitest  4.1.11 → 5.0.3  major · generic · 24 files, 151 call sites · .
  top symbols: expect (37), vi.fn (35), vi.spyOn (27), it (15), vi.mock (13)
framer-motion  13.1.1 → 14.0.0  major · generic · 19 files, 10 call sites · .
  top symbols: AnimatePresence (5), m.div (2), LayoutGroup (1), LazyMotion (1), m.form (1)
copy-to-clipboard  3.3.3 → 4.0.2  major · generic · 15 files, 22 call sites · .
  top symbols: default (22)
@hocuspocus/server  1.1.3 → 4.7.0  major · generic · 13 files, 3 call sites · .
  top symbols: Server.configure (2), OutgoingMessage (1), Connection (0), Document (0), Extension (0)
@tanstack/react-table  8.21.3 → 9.2.5  major · generic · 11 files, 6 call sites · .
  top symbols: flexRender (2), createColumnHelper (1), functionalUpdate (1), getCoreRowModel (1), useReactTable (1)
msw  2.14.2 → 3.0.2  major · generic · 6 files, 46 call sites · .
  top symbols: http.get (17), HttpResponse.json (10), HttpResponse (9), HttpResponse.error (6), http.all (1)
@sentry/react  10.75.3 → 11.4.0  major · generic · 6 files, 11 call sites · .
  top symbols: captureException (3), withScope (2), addBreadcrumb (1), captureMessage (1), getCurrentScope (1)
react-dropzone  11.7.1 → 20.1.2  major · generic · 6 files, 6 call sites · .
  top symbols: default (4), useDropzone (2)
emoji-regex  10.6.0 → 11.0.0  major · generic · 5 files, 6 call sites · .
  top symbols: default (6)
content-disposition  0.5.4 → 3.0.0  major · generic · 5 files, 5 call sites · .
  top symbols: default (5)
node-fetch  2.7.0 → 3.3.2  major · generic · 5 files, 5 call sites · .
  top symbols: Headers (2), default (2), FetchError (1), RequestInit (0), Response (0)
rate-limiter-flexible  2.4.2 → 11.2.1  major · generic · 4 files, 6 call sites · .
  top symbols: RateLimiterRes (3), RateLimiterRedis (2), RateLimiterMemory (1), IRateLimiterStoreOptions (0)
@notionhq/client  2.3.0 → 5.27.0  major · generic · 4 files, 4 call sites · .
  top symbols: Client (1), isFullPage (1), isFullPageOrDatabase (1), isFullUser (1), APIErrorCode (0)
koa-body  6.0.1 → 8.0.1  major · generic · 4 files, 4 call sites · .
  top symbols: default (4)
@hocuspocus/provider  1.1.3 → 4.7.0  major · generic · 4 files, 0 call sites · .
  top symbols: HocuspocusProvider (0), HocuspocusProviderConfiguration (0), MessageType (0), WebSocketStatus (0)
koa-helmet  6.1.0 → 9.0.0  major · generic · 3 files, 4 call sites · .
  top symbols: contentSecurityPolicy (1), default (1), dnsPrefetchControl (1), referrerPolicy (1)
@benrbray/prosemirror-math  0.2.2 → 1.0.0  major · generic · 3 files, 3 call sites · .
  top symbols: MathView (1), insertMathCmd (1), makeBlockMathInputRule (1), mathBackspaceCmd (0), mathSchemaSpec (0)
js-yaml  4.3.2 → 5.4.2  major · generic · 3 files, 3 call sites · .
  top symbols: default.load (2), default.dump (1), default (0)
jsdom  22.1.0 → 30.1.1  major · generic · 3 files, 3 call sites · .
  top symbols: JSDOM (3)
ws  7.5.13 → 8.22.0  major · generic · 3 files, 3 call sites · .
  top symbols: default (2), default.Server (1)
dd-trace  5.123.0 → 6.19.0  major · generic · 3 files, 0 call sites · .
  top symbols: Span (0), SpanOptions (0), Tracer (0), default (0)
@dnd-kit/sortable  7.0.2 → 10.0.0  major · generic · 2 files, 3 call sites · .
  top symbols: SortableContext (1), arrayMove (1), useSortable (1), rectSortingStrategy (0), sortableKeyboardCoordinates (0)
@dotenvx/dotenvx  1.75.1 → 2.32.4  major · generic · 2 files, 2 call sites · .
  top symbols: default.parse (2), default (0)
@fortawesome/react-fontawesome  0.2.6 → 3.5.0  major · generic · 2 files, 2 call sites · .
  top symbols: FontAwesomeIcon (2)
@simplewebauthn/browser  13.3.0 → 14.0.0  major · generic · 2 files, 2 call sites · .
  top symbols: startAuthentication (1), startRegistration (1)
glob  11.1.0 → 13.0.6  major · generic · 2 files, 2 call sites · .
  top symbols: glob.sync (1), globSync (1), glob (0)
markdown-it-container  3.0.0 → 4.0.0  major · generic · 2 files, 2 call sites · .
  top symbols: default (2)
react-window  1.8.11 → 2.3.3  major · generic · 2 files, 1 call sites · .
  top symbols: FixedSizeList (1), ListChildComponentProps (0)
refractor  3.6.0 → 5.0.0  major · generic · 2 files, 0 call sites · .
  top symbols: RefractorSyntax (0), default (0)
@bull-board/api  6.21.3 → 9.10.2  major · generic · 1 files, 5 call sites · .
  top symbols: BullAdapter (4), createBullBoard (1)
@simplewebauthn/server  13.3.2 → 14.0.3  major · generic · 1 files, 5 call sites · .
  top symbols: generateAuthenticationOptions (1), generateRegistrationOptions (1), isoBase64URL.toBuffer (1), verifyAuthenticationResponse (1), verifyRegistrationResponse (1)
@sentry/node  10.75.3 → 11.4.0  major · generic · 1 files, 3 call sites · .
  top symbols: captureException (1), init (1), withScope (1), * (0)
koa-sslify  5.0.1 → 6.0.0  major · generic · 1 files, 3 call sites · .
  top symbols: default (1), httpsResolver (1), xForwardedProtoResolver (1)
react-zoom-pan-pinch  3.7.0 → 4.2.0  major · generic · 1 files, 3 call sites · .
  top symbols: TransformComponent (1), TransformWrapper (1), useTransformEffect (1), ReactZoomPanPinchRef (0)
diff  5.2.2 → 9.0.0  major · generic · 1 files, 2 call sites · .
  top symbols: diffChars (1), diffWordsWithSpace (1), Change (0)
pako  2.1.0 → 3.0.2  major · generic · 1 files, 2 call sites · .
  top symbols: inflate (2)
proxy-from-env  1.1.0 → 2.1.0  major · generic · 1 files, 2 call sites · .
  top symbols: getProxyForUrl (2)
@bull-board/koa  6.21.3 → 9.10.2  major · generic · 1 files, 1 call sites · .
  top symbols: KoaAdapter (1)
@hocuspocus/extension-redis  1.1.3 → 4.7.0  major · generic · 1 files, 1 call sites · .
  top symbols: Redis (1)
@hocuspocus/extension-throttle  1.1.3 → 4.7.0  major · generic · 1 files, 1 call sites · .
  top symbols: Throttle (1)
@mermaid-js/layout-elk  0.2.2 → 1.0.1  major · generic · 1 files, 1 call sites · .
  top symbols: default.find (1), default (0)
browserslist-to-esbuild  1.2.0 → 2.1.1  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
cookie  0.7.2 → 2.0.1  major · generic · 1 files, 1 call sites · .
  top symbols: default.parse (1), default (0)
fetch-retry  5.0.6 → 6.0.0  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
hot-shots  12.1.0 → 17.1.1  major · generic · 1 files, 1 call sites · .
  top symbols: StatsD (1)
https-proxy-agent  7.0.6 → 9.1.0  major · generic · 1 files, 1 call sites · .
  top symbols: HttpsProxyAgent (1)
koa-logger  3.2.1 → 4.0.0  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
react-avatar-editor  15.1.0 → 16.0.0  major · generic · 1 files, 1 call sites · .
  top symbols: default (1), AvatarEditorRef (0)
react-day-picker  8.10.2 → 10.0.2  major · generic · 1 files, 1 call sites · .
  top symbols: DayPicker (1)
react-virtualized-auto-sizer  1.0.26 → 2.0.3  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
rollup-plugin-webpack-stats  3.1.3 → 4.0.1  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
slug  5.3.0 → 12.0.1  major · generic · 1 files, 1 call sites · .
  top symbols: default (1)
unplugin-swc  1.5.11 → 2.0.0  major · generic · 1 files, 1 call sites · .
  top symbols: default.vite (1), default (0)
vite-plugin-pwa  1.3.0 → 2.0.0  major · generic · 1 files, 1 call sites · .
  top symbols: VitePWA (1)
@dnd-kit/modifiers  6.0.1 → 9.0.0  major · generic · 1 files, 0 call sites · .
  top symbols: restrictToParentElement (0)
email-providers  1.14.0 → 2.26.0  major · generic · 1 files, 0 call sites · .
  top symbols: default (0)
i18next-http-backend  3.0.6 → 4.0.2  major · generic · 1 files, 0 call sites · .
  top symbols: default (0)
ioredis  5.11.1 → 6.0.0  major · generic · 1 files, 0 call sites · .
  top symbols: RedisOptions (0), default (0)
mermaid  11.17.1 → 12.1.0  major · generic · 1 files, 0 call sites · .
  top symbols: default (0)
41 minor/patch upgrades (es-toolkit, prosemirror-model, zod, koa, prosemirror-view, query-string, fs-extra, @faker-js/faker, yjs, prosemirror-commands, prosemirror-transform, react-hook-form, @modelcontextprotocol/sdk, prosemirror-markdown, ipaddr.js, @aws-sdk/s3-presigned-post, lib0, nodemailer, prosemirror-history, @getoutline/react-roving-tabindex, fuzzy-search, socket.io, vite, @aws-sdk/client-s3, @aws-sdk/s3-request-presigner, @css-inline/css-inline-wasm, prosemirror-changeset, @aws-sdk/lib-storage, @tanstack/react-virtual, compressorjs, mailparser, markdown-it-emoji, prosemirror-dropcursor, socket.io-client, @aws-sdk/signature-v4-crt, @firecrawl/pdf-inspector, chrono-node, discord-api-types, katex, mammoth, react-colorful) · --all to expand

Declared but unused — not imported anywhere, consider removing
@bull-board/ui  6.21.3 → 9.10.2  major · generic · 0 files, 0 call sites · .
@types/cookie  0.6.0 → 1.0.0  major · generic · 0 files, 0 call sites · .
@types/diff  5.2.3 → 8.0.0  major · generic · 0 files, 0 call sites · .
@types/formidable  2.0.6 → 3.5.1  major · generic · 0 files, 0 call sites · .
@types/glob  8.1.0 → 9.0.0  major · generic · 0 files, 0 call sites · .
@types/jsdom  28.0.1 → 30.0.0  major · generic · 0 files, 0 call sites · .
@types/jsonwebtoken  8.5.9 → 9.0.10  major · generic · 0 files, 0 call sites · .
@types/koa  2.15.1 → 3.0.3  major · generic · 0 files, 0 call sites · .
@types/markdown-it-container  2.0.11 → 4.0.1  major · generic · 0 files, 0 call sites · .
@types/natural-sort  0.0.24 → 1.0.0  major · generic · 0 files, 0 call sites · .
@types/node  20.19.43 → 26.6.4  major · generic · 0 files, 0 call sites · .
@types/pako  2.0.4 → 3.0.0  major · generic · 0 files, 0 call sites · .
@types/react-window  1.8.8 → 2.0.0  major · generic · 0 files, 0 call sites · .
@types/refractor  3.4.1 → 4.0.0  major · generic · 0 files, 0 call sites · .
@types/sequelize  4.28.20 → 6.12.0  major · generic · 0 files, 0 call sites · .
@types/yauzl  2.10.3 → 3.4.0  major · generic · 0 files, 0 call sites · .
@vitest/ui  4.1.11 → 5.0.3  major · generic · 0 files, 0 call sites · .
concurrently  8.2.2 → 10.0.5  major · generic · 0 files, 0 call sites · .
husky  8.0.3 → 9.1.7  major · generic · 0 files, 0 call sites · .
lint-staged  16.4.0 → 17.6.0  major · generic · 0 files, 0 call sites · .
11 minor/patch upgrades (@swc/core, @types/mailparser, @types/readable-stream, @types/semver, core-js, oxfmt, oxlint, oxlint-tsgolint, pg, react-refresh, terser) · --all to expand
Tools used by scripts/configuration may need no source import; review before removing.

Usage is a syntax scan: direct calls/new/JSX through imported bindings; no type analysis.
Next: npx uptide check react-i18next
outline: check
uptide check · outline (yarn) · 59s

mobx-react     9.2.2 → 10.0.2     major · latest on npm   generic   ✗ 4 breaking in 3 files    4 by agent
react-i18next  12.3.1 → 17.0.15   major · latest on npm   generic   ✗ 1 breaking               1 by agent

verified: migration pack · generic: no pack, breaking only if the compiler or the runtime probe confirms it

mobx-react
  ✗ An import no longer exists                      3 sites          by agent
  ✗ Type error introduced by the upgrade (TS2571)   useStores.ts:5   by agent
  ⚠ peer: mobx-react-lite 10.0.2 needs mobx ^7.0.0 (installed: 6.16.1): upgrade mobx first

react-i18next
  ✗ A type became too deep for the compiler to instantiate   useTemplateSettingsActions.tsx:28   by agent
  ⚠ peer: react-i18next 17.0.15 needs i18next >= 26.2.0 (installed: 22.5.1): upgrade i18next first

Next
  npx uptide fix mobx-react                              migrate with the agent on a new branch, verify, no push
  npx uptide fix react-i18next                           migrate with the agent on a new branch, verify, no push
  npx uptide plan --only 'mobx-react,react-i18next'      the order to upgrade in, with the effort
  npx uptide check mobx-react react-i18next --details    every site and reason
documenso: list
uptide list · documenso (npm, 16 packages) · 1.2s

@prisma/client  6.19.0 → 7.10.0  major · generic · 681 files, 12 call sites · ., packages/prisma
  top symbols: Prisma.Decimal (9), PrismaClient (2), Prisma.validator (1), ApiToken (0), BackgroundJobStatus (0)
@lingui/react  5.6.0 → 6.9.0  major · generic · 546 files, 3659 call sites · apps/remix, packages/lib, packages/ui
  top symbols: Trans (3157), useLingui (433), Plural (65), I18nProvider (4)
zod  3.25.76 → 4.6.5  major · verified · 464 files, 3693 call sites · ., packages/api, packages/auth, packages/ee, packages/lib, packages/prisma, packages/trpc, packages/ui
  top symbols: z.string (1070), z.object (919), z.number (483), z.boolean (231), z.array (227)
@lingui/core  5.6.0 → 6.9.0  major · generic · 354 files, 101 call sites · ., apps/remix, packages/lib
  top symbols: msg (69), plural (17), i18n._ (10), i18n.loadAndActivate (3), setupI18n (2)
lucide-react  0.554.0 → 1.51.0  major · generic · 272 files, 713 call sites · apps/remix, packages/ui
  top symbols: InfoIcon (48), Loader (43), CheckIcon (12), ChevronDown (12), Plus (12)
lucide-react  0.563.0 → 1.51.0  major · generic · 272 files, 713 call sites · apps/docs
  top symbols: InfoIcon (48), Loader (43), CheckIcon (12), ChevronDown (12), Plus (12)
react-router  7.18.2 → 8.4.0  major · generic · 237 files, 506 call sites · apps/remix
  top symbols: Link (210), redirect (62), useSearchParams (54), useNavigate (52), useRevalidator (28)
@hookform/resolvers  3.10.0 → 5.9.1  major · generic · 110 files, 112 call sites · apps/remix, packages/ui
  top symbols: zodResolver (112)
framer-motion  12.43.0 → 14.0.0  major · generic · 33 files, 104 call sites · apps/remix, packages/ui
  top symbols: motion.div (49), AnimatePresence (19), motion.p (7), useTransform (5), motion.span (4)
nanoid  5.1.16 → 6.0.1  major · generic · 21 files, 36 call sites · ., apps/remix, packages/auth, packages/lib, packages/prisma
  top symbols: nanoid (24), customAlphabet (12)
vitest  4.1.11 → 5.0.3  major · generic · 19 files, 800 call sites · packages/lib
  top symbols: expect (450), it (253), describe (74), vi.fn (5), expect.objectContaining (4)
zod-form-data  2.0.8 → 3.0.3  major · generic · 10 files, 15 call sites · packages/trpc
  top symbols: zfd.json (9), zfd.repeatableOfType (4), zfd.file (2), zfd (0)
react-dropzone  14.3.8 → 20.1.2  major · generic · 10 files, 7 call sites · apps/remix
  top symbols: useDropzone (7), DropEvent (0), ErrorCode (0), FileRejection (0)
react-call  1.8.1 → 2.0.2  major · generic · 9 files, 9 call sites · apps/remix
  top symbols: createCallable (9)
ua-parser-js  1.0.41 → 2.0.10  major · generic · 9 files, 9 call sites · apps/remix
  top symbols: UAParser (9)
@scure/base  1.2.6 → 2.4.0  major · generic · 8 files, 7 call sites · packages/lib, packages/ui
  top symbols: base32.decode (2), base64.decode (2), base64.encode (2), base32.encode (1), base32 (0)
pino  9.14.0 → 10.4.0  major · generic · 8 files, 1 call sites · ., packages/lib
  top symbols: pino (1), Logger (0), TransportTargetOptions (0)
@simplewebauthn/server  13.3.3 → 14.0.3  major · generic · 7 files, 11 call sites · apps/remix, packages/auth, packages/lib, packages/trpc
  top symbols: isoBase64URL.fromBuffer (4), generateAuthenticationOptions (2), verifyAuthenticationResponse (2), generateRegistrationOptions (1), isoBase64URL.toBuffer (1)
@noble/hashes  1.8.0 → 2.4.0  major · generic · 6 files, 10 call sites · packages/lib
  top symbols: sha256 (6), hmac (1), sha1 (1), sha384 (1), sha512 (1)
nodemailer  9.1.1 → 10.0.14  major · generic · 6 files, 8 call sites · ., packages/email
  top symbols: createTransport (8), Address (0), SentMessageInfo (0), Transport (0), Transporter (0)
oslo  0.17.0 → 1.2.1  major · generic · 6 files, 6 call sites · packages/lib
  top symbols: generateHOTP (4), createTOTPKeyURI (2)
@react-router/dev  7.18.1 → 8.4.0  major · generic · 5 files, 5 call sites · apps/remix
  top symbols: reactRouter (2), route (2), index (1), Config (0), RouteConfig (0)
pdfjs-dist  5.4.296 → 6.4.299  major · generic · 5 files, 5 call sites · ., packages/ui
  top symbols: getDocument (5), * (0), default (0)
recharts  2.15.4 → 3.10.1  major · generic · 4 files, 25 call sites · apps/remix
  top symbols: Bar (4), BarChart (4), ResponsiveContainer (4), Tooltip (4), XAxis (4)
react-hotkeys-hook  4.6.2 → 5.3.3  major · generic · 4 files, 13 call sites · apps/remix
  top symbols: useHotkeys (13)
stripe  12.18.0 → 23.0.0  major · generic · 4 files, 1 call sites · packages/lib
  top symbols: default (1)
@noble/ciphers  0.6.0 → 2.4.0  major · generic · 3 files, 9 call sites · packages/lib
  top symbols: bytesToHex (3), hexToBytes (2), managedNonce (2), utf8ToBytes (2), xchacha20poly1305 (0)
@simplewebauthn/browser  13.2.2 → 14.0.0  major · generic · 3 files, 5 call sites · apps/remix
  top symbols: browserSupportsWebAuthn (2), startAuthentication (2), startRegistration (1)
@napi-rs/canvas  0.1.83 → 1.0.10  major · generic · 3 files, 4 call sites · packages/app-tests, packages/lib
  top symbols: createCanvas (3), loadImage (1)
tailwindcss  3.4.19 → 4.3.3  major · generic · 3 files, 2 call sites · apps/remix, packages/tailwind-config
  top symbols: default (2), fontFamily (0)
@tanstack/react-table  8.21.3 → 9.2.5  major · generic · 2 files, 4 call sites · packages/ui
  top symbols: flexRender (2), getCoreRowModel (1), useReactTable (1), ColumnDef (0), PaginationState (0)
content-disposition  1.1.0 → 3.0.0  major · generic · 2 files, 4 call sites · apps/remix
  top symbols: default (4)
vite  7.3.6 → 8.3.2  major · generic · 2 files, 3 call sites · ., apps/remix
  top symbols: defineConfig (2), normalizePath (1)
@hono/node-server  1.19.17 → 2.1.3  major · generic · 2 files, 2 call sites · apps/remix
  top symbols: serve (1), serveStatic (1)
@lingui/vite-plugin  5.6.0 → 6.9.0  major · generic · 2 files, 2 call sites · apps/remix
  top symbols: lingui (2)
@react-router/node  7.18.1 → 8.4.0  major · generic · 2 files, 2 call sites · apps/remix
  top symbols: createReadableStreamFromReadable (2)
posthog-node  4.18.0 → 5.55.0  major · generic · 2 files, 2 call sites · ., apps/remix, packages/lib
  top symbols: PostHog (2)
trpc-to-openapi  2.1.5 → 3.3.0  major · generic · 2 files, 2 call sites · packages/trpc
  top symbols: createOpenApiNodeHttpHandler (1), generateOpenApiDocument (1), OpenApiRouter (0)
vite-plugin-static-copy  3.1.4 → 4.1.1  major · generic · 2 files, 2 call sites · .
  top symbols: viteStaticCopy (2)
vite-tsconfig-paths  5.1.4 → 6.1.1  major · generic · 2 files, 2 call sites · apps/remix
  top symbols: default (2)
tailwind-merge  1.14.0 → 3.7.0  major · generic · 2 files, 1 call sites · packages/ui
  top symbols: twMerge (1)
@bull-board/api  6.20.6 → 9.10.2  major · generic · 1 files, 2 call sites · packages/lib
  top symbols: BullMQAdapter (1), createBullBoard (1)
@lingui/detect-locale  5.6.0 → 6.9.0  major · generic · 1 files, 2 call sites · apps/remix
  top symbols: detect (1), fromHtmlTag (1)
bullmq  5.76.7 → 6.3.11  major · generic · 1 files, 2 call sites · packages/lib
  top symbols: Queue (1), Worker (1), Job (0)
inngest  3.54.0 → 4.21.1  major · generic · 1 files, 2 call sites · ., packages/lib
  top symbols: Inngest (1), serve (1), Context (0), Handler (0), InngestFunction (0)
@bull-board/hono  6.20.6 → 9.10.2  major · generic · 1 files, 1 call sites · packages/lib
  top symbols: HonoAdapter (1)
@react-router/remix-routes-option-adapter  7.18.1 → 8.4.0  major · generic · 1 files, 1 call sites · apps/remix
  top symbols: remixRoutesOptionAdapter (1)
@rollup/plugin-babel  6.1.0 → 7.1.0  major · generic · 1 files, 1 call sites · apps/remix
  top symbols: default (1)
@rollup/plugin-commonjs  28.0.9 → 29.0.3  major · generic · 1 files, 1 call sites · apps/remix
  top symbols: default (1)
clsx  1.2.1 → 2.1.1  major · generic · 1 files, 1 call sites · packages/ui
  top symbols: clsx (1), ClassValue (0)
dotenv  17.4.2 → 18.0.5  major · generic · 1 files, 1 call sites · ., packages/prisma
  top symbols: default.config (1), default (0)
ioredis  5.10.1 → 6.0.0  major · generic · 1 files, 1 call sites · packages/lib
  top symbols: default (1)
next-plausible  3.12.5 → 4.0.0  major · generic · 1 files, 1 call sites · apps/docs
  top symbols: default (1)
prisma-extension-kysely  3.0.0 → 4.0.0  major · generic · 1 files, 1 call sites · ., packages/prisma
  top symbols: default (1)
react-day-picker  8.10.1 → 10.0.2  major · generic · 1 files, 1 call sites · packages/ui
  top symbols: DayPicker (1)
@lingui/babel-plugin-lingui-macro  5.6.0 → 6.9.0  major · generic · 1 files, 0 call sites · apps/remix
  top symbols: default (0)
@lingui/conf  5.6.0 → 6.9.0  major · generic · 1 files, 0 call sites · .
  top symbols: LinguiConfig (0)
mermaid  11.16.1 → 12.1.0  major · generic · 1 files, 0 call sites · apps/docs
58 minor/patch upgrades (react, @playwright/test, react-hook-form, hono, remeda, nuqs, konva, next, @hono/standard-validator, react-dom, fumadocs-ui, p-map, @node-rs/bcrypt, @trpc/server, @tanstack/react-query, kysely, superjson, sharp, @cantoo/pdf-lib, @aws-sdk/client-sesv2, react-icons, fumadocs-core, playwright, @marsidev/react-turnstile, @sindresorhus/slugify, uqr, ai, @trpc/client, @lingui/macro, fumadocs-mdx, jose, isbot, pixelmatch, tailwind-merge, autoprefixer, posthog-js, @aws-sdk/client-s3, @azure/storage-blob, perfect-freehand, @aws-sdk/s3-request-presigner, react-colorful, @ai-sdk/google-vertex, @aws-sdk/cloudfront-signer, @hono/trpc-server, @prisma/extension-read-replicas, @team-plain/typescript-sdk, @trpc/react-query, cron-parser, csv-parse, input-otp, mailchecker, papaparse, postcss, react-rnd, satori, @tailwindcss/typography, @vvo/tzdb, react-email) · --all to expand

Declared but unused — not imported anywhere, consider removing
@babel/core  7.29.7 → 8.0.6  major · generic · 0 files, 0 call sites · apps/remix
@babel/preset-react  7.28.5 → 8.0.1  major · generic · 0 files, 0 call sites · apps/remix
@babel/preset-typescript  7.28.5 → 8.0.1  major · generic · 0 files, 0 call sites · apps/remix
@bull-board/ui  6.20.6 → 9.10.2  major · generic · 0 files, 0 call sites · packages/lib
@commitlint/cli  20.1.0 → 21.2.3  major · generic · 0 files, 0 call sites · .
@commitlint/config-conventional  20.0.0 → 21.2.3  major · generic · 0 files, 0 call sites · .
@google-cloud/kms  5.2.1 → 6.2.1  major · generic · 0 files, 0 call sites · packages/signing
@google-cloud/secret-manager  6.1.1 → 7.1.1  major · generic · 0 files, 0 call sites · packages/signing
@lingui/cli  5.6.0 → 6.9.0  major · generic · 0 files, 0 call sites · .
@react-router/serve  7.18.1 → 8.4.0  major · generic · 0 files, 0 call sites · apps/remix
@types/node  20.19.43 → 26.6.4  major · generic · 0 files, 0 call sites · apps/openpage-api, apps/remix, packages/app-tests
@types/node  25.9.5 → 26.6.4  major · generic · 0 files, 0 call sites · apps/docs
date-fns  3.6.0 → 4.4.0  major · generic · 0 files, 0 call sites · packages/ui
lint-staged  16.2.7 → 17.6.0  major · generic · 0 files, 0 call sites · .
prisma  6.19.3 → 8.0.0-rc.19  major · generic · 0 files, 0 call sites · ., packages/prisma
prisma-json-types-generator  3.6.2 → 5.1.1  major · generic · 0 files, 0 call sites · ., packages/prisma
prisma-kysely  2.3.0 → 3.2.1  major · generic · 0 files, 0 call sites · ., packages/prisma
start-server-and-test  2.1.3 → 3.0.12  major · generic · 0 files, 0 call sites · packages/app-tests
syncpack  14.0.0-alpha.27 → 15.3.3  major · generic · 0 files, 0 call sites · .
typescript  5.6.2 → 7.0.2  major · generic · 0 files, 0 call sites · ., apps/docs, apps/openpage-api, apps/remix, packages/prisma, packages/ui
zod-openapi  4.2.4 → 6.0.2  major · generic · 0 files, 0 call sites · ., packages/trpc
20 minor/patch upgrades (@aws-sdk/signature-v4-crt, @biomejs/biome, @datadog/pprof, @playwright/browser-chromium, @types/formidable, @types/luxon, @types/mdx, @types/nodemailer, @types/papaparse, @types/pg, @types/react, @types/react-dom, inngest-cli, pg, pino-pretty, resend, rollup, tsx, turbo, zod-prisma-types) · --all to expand
Tools used by scripts/configuration may need no source import; review before removing.

Usage is a syntax scan: direct calls/new/JSX through imported bindings; no type analysis.
Next: npx uptide check @prisma/client
documenso: check
uptide check · documenso (npm, 16 packages) · 1m 34s

zod  3.25.76 → 4.6.5   major · latest on npm   verified   ✗ 141 breaking in 31 files    141 by agent

zod
  ✗ A property no longer exists               21 sites             by agent
  ✗ Schema generics                           5 fixes, 14 errors   by agent
  ✗ A value no longer has the expected type   12 sites             by agent
  ✗ ZodNullable takes different arguments     11 sites             by agent
  ✗ ZodString takes different arguments       11 sites             by agent
  ✗ ZodEnum#Enum removed                      10 sites             by agent
  ✗ A callback parameter lost its type        8 sites              by agent
  … 15 more changes, 54 sites (--details)
  ! 204 deprecated calls (nativeEnum, .url, ZodIssueCode, ...)   25 by rule
  ⚠ apps/remix · imports zod without declaring it

Next
  npx uptide fix zod                migrate on a new branch, verify, no push
  npx uptide check zod --details    every site and reason

Checklist

  • Tests cover discovery, explicit selection, planning, memory skips and analysis failures
  • pnpm lint, pnpm typecheck, pnpm test pass
  • Docker smoke passes on Node 22 across all five scenarios
  • README, CLI help, Action guidance and docs updated
  • Minor changeset added
  • No new dependency
  • Public-tree check clean with the private denylist
  • Runtime safety rules in CONTRIBUTING.md preserved (evaluation install correction disclosed above)

@lucasbraum
lucasbraum merged commit 8906993 into main Oct 4, 2026
4 checks passed
@lucasbraum
lucasbraum deleted the phase-1-1 branch October 4, 2026 18:17
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