fix(build): support decorator metadata with TypeScript 7 #9542
pr_checks.yml
on: pull_request
Detect changes
7s
code-quality
/
code-quality
1m 57s
Matrix: e2e / cli-v3
Matrix: packages / 🧪 Unit Tests: Packages
Matrix: sdk-compat / node-compat
Matrix: webapp / 🧪 Unit Tests: Webapp
typecheck
/
typecheck
1m 19s
runops-guard
/
runops-guard
1m 51s
e2e-webapp
/
🧪 E2E Tests: Webapp
6m 11s
internal
/
🧪 Unit Tests: Internal
1m 38s
obsmap
/
🧪 Unit Tests: Observability Map
1m 18s
sdk-compat
/
Bun Runtime
2m 5s
sdk-compat
/
Deno Runtime
2m 8s
sdk-compat
/
Cloudflare Workers
2m 24s
All PR Checks
9s
Annotations
32 errors and 4 warnings
|
src/cli.test.ts > map > writes the report where --out names it when not asked to skip the write:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:144:15
|
|
src/cli.test.ts > map > renders the whole report without writing when asked not to:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:130:15
|
|
src/cli.test.ts > map <target> > honours --json for a single route instead of printing the text format:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:112:15
|
|
src/cli.test.ts > map <target> > says so rather than printing a bare 100 when nothing applied:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:105:15
|
|
src/cli.test.ts > map <target> > prefers an exact match over the routes it is a prefix of:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:99:15
|
|
src/cli.test.ts > map <target> > warns when a prefix matches more than one route rather than silently taking the first:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:90:15
|
|
src/cli.test.ts > map <target> > exits 1 with a message when nothing matches:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:84:15
|
|
src/cli.test.ts > map <target> > accepts a directory route by the path its directory segment spells:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:78:15
|
|
src/cli.test.ts > map <target> > accepts a file name too:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:72:15
|
|
src/cli.test.ts > map <target> > accepts the route path the report prints:
internal-packages/observability-map/src/scan.ts#L1289
TypeError: Cannot read properties of undefined (reading 'Latest')
❯ scanFile src/scan.ts:1289:68
❯ scan src/scan.ts:1632:12
❯ scanDirectory src/scan.ts:1645:45
❯ main src/cli.ts:92:42
❯ run src/cli.test.ts:57:16
❯ src/cli.test.ts:65:15
|
|
typecheck / typecheck
Property 'isPropertyAccessExpression' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Property 'isCallExpression' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'Node'.
|
|
typecheck / typecheck
Property 'ScriptTarget' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Property 'createSourceFile' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Property 'forEachChild' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Property 'getLeadingCommentRanges' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'Node'.
|
|
typecheck / typecheck
Property 'ScriptTarget' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
typecheck / typecheck
Property 'createSourceFile' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
internal / 🧪 Unit Tests: Internal
Process completed with exit code 1.
|
|
internal / 🧪 Unit Tests: Internal
Property 'isParenthesizedExpression' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'Expression'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'Expression'.
|
|
internal / 🧪 Unit Tests: Internal
Property 'isArrowFunction' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
internal / 🧪 Unit Tests: Internal
Property 'isFunctionExpression' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
internal / 🧪 Unit Tests: Internal
Property 'isFunctionDeclaration' does not exist on type 'typeof import("/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version")'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'Node'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'ArrowFunction'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'FunctionExpression'.
|
|
internal / 🧪 Unit Tests: Internal
Namespace '"/home/runner/work/trigger.dev/trigger.dev/node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/lib/version"' has no exported member 'FunctionDeclaration'.
|
|
All PR Checks
Process completed with exit code 1.
|
|
obsmap / 🧪 Unit Tests: Observability Map
Failed to restore: Cache service responded with 404
|
|
typecheck / typecheck
Failed to restore: Cache service responded with 404
|
|
typecheck / typecheck
Failed to restore: Cache service responded with 404
|
|
eslint(no-constant-condition):
apps/webapp/test/helpers/sessionStream.ts#L277
Unexpected constant condition
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
packages-blob-report-1
|
89.9 KB |
sha256:759271eb5e73da720b7d7062bd1afecf1444561a3dd4161cd55615a555ff9381
|
|
|
packages-blob-report-2
|
75.3 KB |
sha256:862b654b012583940ca76469415a3a585dc4ebe8d0ddee76972ac13b7675e06a
|
|
|
packages-blob-report-3
|
90.9 KB |
sha256:47e8355abb80029125acf40f2afd18248fa25e54e194ac878acf2ad170f3705c
|
|
|
webapp-blob-report-1
|
66.7 KB |
sha256:ed023765871bcac6fef6d6a5aaf58736c1f5d7e9d0c1d437da7ebdd0df04cf6f
|
|
|
webapp-blob-report-10
|
75.9 KB |
sha256:900bef2fa72cae58fe988cac2edb44d1528b8cfcfb9ada2fd6b32fa97af878a2
|
|
|
webapp-blob-report-11
|
86.7 KB |
sha256:54ac9ff47e8c3e88f51adca153c0a04c77b9cc2fd82a685119703ab12f31cafc
|
|
|
webapp-blob-report-12
|
84.2 KB |
sha256:172331fbb1c1fb66e2b4ed401e4f03c7397a5c7d57591f9cda863ecf1ea20d23
|
|
|
webapp-blob-report-2
|
86.4 KB |
sha256:534a5e3ce863253ccc5fdf03ceaa8883bdeaeacea52f1363b262b8035e867525
|
|
|
webapp-blob-report-3
|
83.7 KB |
sha256:92f20b774778144201f40768a8c6e532a1e607ad6eb0c7987bdcbd19d8cc03c9
|
|
|
webapp-blob-report-4
|
87.3 KB |
sha256:e26b2e701731b4641017f6fe08f524c1368ac43b07bd50e29860889514a9046a
|
|
|
webapp-blob-report-5
|
100 KB |
sha256:ff98599dc888038626f6b6a2456952e935d0dab920cebd800cd043f513537bc4
|
|
|
webapp-blob-report-6
|
98.9 KB |
sha256:0612970c27fc9eda5c662e0440c134300aa182c89db6e5a1f2ee1ca4ce1dd2fd
|
|
|
webapp-blob-report-7
|
68.5 KB |
sha256:5e059a944684fe9540f14f11f22520f9f88ce60030d7f9341cadbec60d4bf837
|
|
|
webapp-blob-report-8
|
87.7 KB |
sha256:abac5ad566003837bf25083722fce32655d2b398505ac9c248f7e2e2c5040afa
|
|
|
webapp-blob-report-9
|
78 KB |
sha256:0771fc84dbf43ea4f74db8342ef3f116a2148ace7cdf444655c7455abecd7598
|
|