fix(build): support decorator metadata with TypeScript 7 #9540
pr_checks.yml
on: pull_request
Detect changes
8s
code-quality
/
code-quality
2m 9s
Matrix: e2e / cli-v3
Matrix: packages / 🧪 Unit Tests: Packages
Matrix: sdk-compat / node-compat
Matrix: webapp / 🧪 Unit Tests: Webapp
typecheck
/
typecheck
1m 30s
runops-guard
/
runops-guard
1m 27s
e2e-webapp
/
🧪 E2E Tests: Webapp
5m 39s
internal
/
🧪 Unit Tests: Internal
1m 40s
obsmap
/
🧪 Unit Tests: Observability Map
1m 21s
sdk-compat
/
Bun Runtime
1m 39s
sdk-compat
/
Deno Runtime
1m 43s
sdk-compat
/
Cloudflare Workers
1m 50s
All PR Checks
6s
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
Expired
|
89.9 KB |
sha256:c4a65bced50c4028a7f621846232e6576f9517e4971a6076aa193dac80f2b5d8
|
|
|
packages-blob-report-2
Expired
|
75.5 KB |
sha256:f74b006caf767b8eea197e1a12a001722be21d32cbc5bd64ad265bef4b3f6265
|
|
|
packages-blob-report-3
Expired
|
91.4 KB |
sha256:6fd946cedfd330264604b64d304df0654ff8c18f4156fd16f8bcaea525ec14e3
|
|
|
webapp-blob-report-1
Expired
|
66.6 KB |
sha256:5e8b457a1495ab29e3060c3f3b784ab49865e2cd3277e89d34c56faa7a306fa2
|
|
|
webapp-blob-report-10
Expired
|
77.3 KB |
sha256:645b82c688406488103ad836c7fbb2621fd2532887d126db1eacc0baa7ca7087
|
|
|
webapp-blob-report-11
Expired
|
88.6 KB |
sha256:ae941f4f487ae4aac9f93ed0e2400dbd8eb597246d0b1b1091fcbe24d828bf10
|
|
|
webapp-blob-report-12
Expired
|
83.7 KB |
sha256:7b1e0a456fa7317ac5b65175bad5c4327ff716de2183dc0ed9b404b11331ff2f
|
|
|
webapp-blob-report-2
Expired
|
87.5 KB |
sha256:c7d045a4e4902eb08554d6a6c9fcf82406b076f95c701216ada499debc78bcbe
|
|
|
webapp-blob-report-3
Expired
|
83 KB |
sha256:4559d5d3008a57cf01765d8a307b2e35f0e36189119eca8bac63d8964f9e9c8a
|
|
|
webapp-blob-report-4
Expired
|
89.7 KB |
sha256:4516cb33b3c7fe38c72416d32635aac5783748607355981919f47849f0ba303a
|
|
|
webapp-blob-report-5
Expired
|
97 KB |
sha256:11d6c49c66a6a891945c1d5c275e71e05abbb907e2aaad4cafcad9ed3dc5c8fa
|
|
|
webapp-blob-report-6
Expired
|
99.2 KB |
sha256:42eadc51e3e521f2144d5446ea524d428edf5c2168ef9fd5ca7e0b4485c01d82
|
|
|
webapp-blob-report-7
Expired
|
69.8 KB |
sha256:9a305d470f689c533b9e7b262c95ab9a3be9a637262e99730668574a63aa2d57
|
|
|
webapp-blob-report-8
Expired
|
89.8 KB |
sha256:4cedb7bba139084f3a5cddb832ed0b800715b970547c5f96e1660cc0bc16770f
|
|
|
webapp-blob-report-9
Expired
|
78 KB |
sha256:7154d7da86e23d5ea2bdb1728c780fae65554d72eb05d7ae2128c31cceead227
|
|