fix(build): support decorator metadata with TypeScript 7 #9541
pr_checks.yml
on: pull_request
Detect changes
8s
code-quality
/
code-quality
2m 35s
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
2m 23s
e2e-webapp
/
🧪 E2E Tests: Webapp
6m 6s
internal
/
🧪 Unit Tests: Internal
1m 35s
obsmap
/
🧪 Unit Tests: Observability Map
1m 19s
sdk-compat
/
Bun Runtime
2m 32s
sdk-compat
/
Deno Runtime
2m 31s
sdk-compat
/
Cloudflare Workers
2m 9s
All PR Checks
4s
Annotations
55 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
|
|
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'.
|
|
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")'.
|
|
webapp / 🧪 Unit Tests: Webapp (7, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (1, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (1, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (3, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (3, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (5, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (5, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (2, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (2, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (8, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (8, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (9, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (9, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (11, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (11, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (4, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (4, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (6, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (6, 12)
The operation was canceled.
|
|
webapp / 🧪 Unit Tests: Webapp (10, 12)
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
webapp / 🧪 Unit Tests: Webapp (10, 12)
The operation was canceled.
|
|
🤖 PR Checks
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
🤖 PR Checks
Canceling since a higher priority waiting request for 🤖 PR Checks-4505 exists
|
|
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:d5fa88fcba5d78eb78129859a14774db8982eb95411034df3ec6b109d6e4f351
|
|
|
packages-blob-report-2
|
75.3 KB |
sha256:ecf17df9a1ca99487b0a8fa85877cf0adc0317a3c72d5b73836fdfeecf80549d
|
|
|
packages-blob-report-3
|
91 KB |
sha256:e1c42a71d3d48ff3ffd89dc83baaf5148dbaff8f8d0886db5527359173f3166e
|
|
|
webapp-blob-report-12
|
83 KB |
sha256:b11e50601d2ece1ce2f5953f0a6ddb9ff4d122eeb530df082dd2071f013aaa50
|
|
|
webapp-blob-report-7
|
69.9 KB |
sha256:298f950ae87e26445122438eaaa958d3665f47a2d911c1e74ca6407c6adad65a
|
|