Skip to content

test(e2e): cover TypeScript 7 auto inputs - #652

Merged
wan9chi merged 2 commits into
test/e2e-cfg-filtersfrom
test/typescript-7-auto-input
Aug 12, 2026
Merged

test(e2e): cover TypeScript 7 auto inputs#652
wan9chi merged 2 commits into
test/e2e-cfg-filtersfrom
test/typescript-7-auto-input

Conversation

@wan9chi

@wan9chi wan9chi commented Aug 12, 2026

Copy link
Copy Markdown
Member

Motivation

TypeScript 7 uses a native compiler, so automatic input tracking needs coverage against its real filesystem access behavior. TypeScript 7.1.0-dev.20260812.1 includes the macOS DYLD entitlements required for fspy injection, allowing one cross-platform assertion instead of platform-specific expectations.

Summary

  • Pin the test tools workspace to TypeScript 7.1.0-dev.20260812.1.
  • Add an ignored end-to-end fixture that runs the native compiler with automatic inputs.
  • Run the same ungated test on every supported platform and verify that changing src/main.ts invalidates the inferred input fingerprint.

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  +0.90%  [ -3.67% ..  +6.02%]  overhead   +51.87%
dynamic/access             change  -0.32%  [ -5.38% ..  +4.51%]  overhead    +6.26%
dynamic/access-relative    change  +0.00%  [ -1.58% ..  +2.00%]  overhead   +51.78%
static/launch              change  +0.38%  [ -3.34% ..  +6.54%]  overhead  +151.12%
static/access              change  +0.11%  [ -6.97% .. +10.99%]  overhead  +741.82%
static/access-relative     change  -0.03%  [ -2.26% ..  +2.52%]  overhead +1178.73%

macos

dynamic/launch             change  -0.52%  [ -4.83% ..  +4.51%]  overhead  +238.89%
dynamic/access             change  +1.03%  [-56.77% .. +11.19%]  overhead    +0.83%
dynamic/access-relative    change  +0.31%  [ -5.71% .. +16.84%]  overhead  +250.00%

windows

dynamic/launch             change  -2.02%  [-10.19% ..  +8.30%]  overhead   +23.45%
dynamic/access             change  +0.00%  [ -1.95% ..  +2.16%]  overhead    +1.10%
dynamic/access-relative    change  +7.28%  [ -2.26% .. +52.28%]  overhead   +14.77%

@wan9chi
wan9chi force-pushed the test/typescript-7-auto-input branch 2 times, most recently from 8fa81c9 to 6b13999 Compare August 12, 2026 01:49
@wan9chi
wan9chi force-pushed the test/typescript-7-auto-input branch from 6b13999 to 42e33ca Compare August 12, 2026 01:54
@socket-security

socket-security Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​typescript@​7.1.0-dev.20260812.110010088100100

View full report

@wan9chi
wan9chi force-pushed the test/typescript-7-auto-input branch 4 times, most recently from 80e7777 to 8dce1f2 Compare August 12, 2026 02:56
@wan9chi
wan9chi force-pushed the test/typescript-7-auto-input branch from 8dce1f2 to afcd714 Compare August 12, 2026 08:54
@wan9chi
wan9chi marked this pull request as ready for review August 12, 2026 09:01
@wan9chi
wan9chi merged commit 76e5de3 into main Aug 12, 2026
19 checks passed
@wan9chi
wan9chi deleted the test/typescript-7-auto-input branch August 12, 2026 09:01
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