Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,19 @@ jobs:
- name: Build packages (excluding docs)
run: pnpm build

# [#15042] The closure-wide declaration re-check. `check-dts-emitted` runs
# per package, immediately after that package's `tsup`, and is the LAST
# thing that ever looks: on the filing observation it reported
# `3/3 declared declaration file(s) present` and the files were gone later
# in the same tree, with no second build and no `rm`. Sits directly after
# the build so the tree the steps BELOW read is the tree this swept — a
# package whose declarations are absent makes an importing symbol `any`,
# and the direction that does NOT throw is a suite passing against a type
# nothing is checking (#7668, #12078). No `dist/` anywhere is exit 3
# PREREQUISITE NOT MET, never a pass.
- name: Sweep the built closure for vanished declarations
run: pnpm check:dts-closure

# A package that builds with plain `tsc` and does not exclude tests emits
# `dist/**/*.test.js`. Two costs, and the second is the dangerous one:
#
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5014,6 +5014,19 @@ jobs:
- name: Build the ledgered packages' dependencies
run: pnpm exec turbo run build --filter='./packages/*' --filter='./packages/*/*'

# [#15042] The closure-wide declaration re-check. `check-dts-emitted` runs
# per package, immediately after that package's `tsup`, and is the LAST
# thing that ever looks: on the filing observation it reported
# `3/3 declared declaration file(s) present` and the files were gone later
# in the same tree, with no second build and no `rm`. Sits directly after
# the build so the tree the steps BELOW read is the tree this swept — a
# package whose declarations are absent makes an importing symbol `any`,
# and the direction that does NOT throw is a suite passing against a type
# nothing is checking (#7668, #12078). No `dist/` anywhere is exit 3
# PREREQUISITE NOT MET, never a pass.
- name: Sweep the built closure for vanished declarations
run: pnpm check:dts-closure

# ⚠️ `NODE_OPTIONS` here is HALF of the heap ceiling this gate runs tsc
# under, and the two halves ship together or not at all (#14569, ruled
# 2026-09-03). The other half is `CI_TSC_HEAP_CEILING_MB` in
Expand Down Expand Up @@ -5189,6 +5202,19 @@ jobs:
- name: Build the nested packages the consumer gates resolve through
run: pnpm exec turbo run build --filter='./packages/*' --filter='./packages/*/*'

# [#15042] The closure-wide declaration re-check. `check-dts-emitted` runs
# per package, immediately after that package's `tsup`, and is the LAST
# thing that ever looks: on the filing observation it reported
# `3/3 declared declaration file(s) present` and the files were gone later
# in the same tree, with no second build and no `rm`. Sits directly after
# the build so the tree the steps BELOW read is the tree this swept — a
# package whose declarations are absent makes an importing symbol `any`,
# and the direction that does NOT throw is a suite passing against a type
# nothing is checking (#7668, #12078). No `dist/` anywhere is exit 3
# PREREQUISITE NOT MET, never a pass.
- name: Sweep the built closure for vanished declarations
run: pnpm check:dts-closure

- name: Type check example apps
run: pnpm --filter './examples/*' run typecheck

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"check:published-readme-exports": "node scripts/check-published-readme-exports.mjs --self-test && node scripts/check-published-readme-exports.mjs",
"check:published-readme-links": "node scripts/check-published-readme-links.mjs --self-test && node scripts/check-published-readme-links.mjs",
"check:dual-build-cjs-loads": "node scripts/check-dual-build-cjs-loads.mjs --self-test && node scripts/check-dual-build-cjs-loads.mjs",
"check:dts-closure": "node scripts/check-dts-closure.mjs --self-test && node scripts/check-dts-closure.mjs",
"check:type-check-coverage": "node scripts/check-type-check-coverage.mjs --self-test && node scripts/check-type-check-coverage.mjs",
"check:type-check-debt": "node scripts/check-type-check-coverage.mjs --self-test && node scripts/check-type-check-coverage.mjs --re-measure",
"check:driver-conformance": "node scripts/check-driver-conformance.mjs --self-test && node scripts/check-driver-conformance.mjs",
Expand Down
Loading
Loading