Skip to content

build: drop tooling and maintain the type declarations by hand - #656

Draft
evenstensberg wants to merge 1 commit into
mainfrom
bun2
Draft

build: drop tooling and maintain the type declarations by hand#656
evenstensberg wants to merge 1 commit into
mainfrom
bun2

Conversation

@evenstensberg

Copy link
Copy Markdown
Member

No description provided.

`tooling` reaches for the TypeScript compiler API, which the native port no
longer exposes from the `typescript` entry point, and its `git+ssh` dependency
entry is what breaks `bun install` on the cross-runtime job: npm records an
integrity hash over its own packed tarball, so the tarball bun fetches instead
can never match it.

`types.d.ts` becomes the source of truth rather than generated output.
`lint:types-public` checks that it compiles, and `lint:types-test` already
checks it against the test suite, which consumes the package through these
declarations and so fails when they drift from `lib/`.
@changeset-bot

changeset-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 622c3b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.14%. Comparing base (e21cfb8) to head (622c3b4).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #656   +/-   ##
=======================================
  Coverage   98.14%   98.14%           
=======================================
  Files          49       49           
  Lines       10018    10018           
=======================================
  Hits         9832     9832           
  Misses        186      186           
Flag Coverage Δ
integration 98.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented Aug 29, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 74.21%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 3 regressed benchmarks
✅ 139 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory extensions-many: 6-extension list (warm) 2.8 KB 102.9 KB -97.29%
Memory node-compare: node require.resolve x 1000 22 KB 27.9 KB -21.06%
Memory restrictions: path prefix + regex (warm) 6 KB 7.5 KB -19.71%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing bun2 (622c3b4) with main (e21cfb8)

Open in CodSpeed

@evenstensberg
evenstensberg marked this pull request as draft August 29, 2026 22: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