Skip to content

CI: no guard catches a package whose types resolve only through pnpm's hidden hoist (the #37015 Mac build failure family) #37068

Backlog

Description

@objectstack-fleet

repo:objectstack#2 · huangyiirene · session_01J8VVAm8Y73VGNq3PkTe3dc

Filing gate: ③ fleet follow-up with named locations · Source: fleet (area f2-F's fix for #37015, draft PR #37066, os-dev-report 7140190970: "no durable family guard")

What is missing

#37015 was the maintainer's macOS build failing at @object-ui/i18n with TS2339. The cause is that 31 lockfile packages ship .d.ts files that import react without declaring @types/react. They resolve it only through pnpm's hidden hoist (node_modules/.pnpm/node_modules). With hoist=false the console build also fails at @object-ui/components (lucide-react, input-otp, cmdk), and 24 more tasks cascade behind that. PR #37066 fixes today's 31 packages with a packageExtensions block in pnpm-workspace.yaml, plus one guard test in i18n.

Nothing stops the next dependency from bringing the same gap. CI installs with the hoist on, so it stays green, and only a machine whose install does not hoist sees the failure.

Expected

One durable guard, either of:

  • a check script that lists the lockfile's packages whose published types import a package they neither depend on nor peer, and fails on any not covered by packageExtensions; or
  • a CI leg that installs with --config.hoist=false and runs the console build and the type-check sweep.

Surface: scripts/ (a check) and/or .github/workflows/** (a leg, Tier H). Lands after #37066.
Business reason: a contributor or the maintainer on a non-hoisting install loses a build with an error that names a file far from the cause. #37015 took a day of rounds to trace.
Dedupe: repo:objectstack-ai/objectstack is:issue is:open hoist types guard → #37015 only (being fixed by #37066).
Clause-②: no · Metadata-protocol: none
Grade: area:fleet · Task · CI guard for a build regression that hit the maintainer (#37015, p1) → p2.

Activity

  1. added
    priority:p2
    pm:queue
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T18:37Z

  3. added and removed
    priority:p2
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions