Skip to content

fix(azure-functions): pass body to the context as-is #6588

fix(azure-functions): pass body to the context as-is

fix(azure-functions): pass body to the context as-is #6588

Re-run triggered January 3, 2025 10:25
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
lint: src/presets/azure/runtime/azure-functions.ts#L28
Prefer using a logical operator over a ternary
lint
Process completed with exit code 1.
ci (ubuntu-latest): src/presets/azure/runtime/azure-functions.ts#L20
Property 'rawBody' does not exist on type 'HttpRequest'.
ci (ubuntu-latest): src/presets/azure/runtime/azure-functions.ts#L27
Type '{ [k: string]: string; }' is missing the following properties from type 'Headers': append, delete, get, has, and 7 more.
ci (ubuntu-latest): src/presets/azure/runtime/azure-functions.ts#L28
Type 'BodyInit' is not assignable to type 'ReadableStream<any> | null'.
ci (ubuntu-latest): src/presets/azure/runtime/azure-swa.ts#L15
Element implicitly has an 'any' type because type 'Headers' has no index signature. Did you mean to call 'req.headers.get'?
ci (ubuntu-latest): src/presets/azure/runtime/azure-swa.ts#L17
Element implicitly has an 'any' type because type 'Headers' has no index signature. Did you mean to call 'req.headers.get'?
ci (ubuntu-latest): src/presets/azure/runtime/azure-swa.ts#L30
Property 'rawBody' does not exist on type 'HttpRequest'.
ci (ubuntu-latest): src/presets/azure/runtime/azure-swa.ts#L38
Type '{ [k: string]: string; }' is missing the following properties from type 'Headers': append, delete, get, has, and 7 more.
ci (ubuntu-latest): src/presets/azure/runtime/azure-swa.ts#L39
Type 'BodyInit | null' is not assignable to type 'ReadableStream<any> | null'.
ci (ubuntu-latest): src/presets/firebase/runtime/firebase-gen-1.ts#L13
Property 'region' does not exist on type 'typeof import("/home/runner/work/nitro/nitro/node_modules/.pnpm/[email protected][email protected]/node_modules/firebase-functions/lib/v2/index")'.
ci (ubuntu-latest): src/presets/firebase/runtime/firebase-gen-1.ts#L13
Property 'RESET_VALUE' does not exist on type 'typeof import("/home/runner/work/nitro/nitro/node_modules/.pnpm/[email protected][email protected]/node_modules/firebase-functions/lib/v2/index")'.
ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
ci (windows-latest)
The operation was canceled.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ci (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636