Skip to content

Node 22 and Azure Functions v4 migration#1593

Draft
MarcAstr0 wants to merge 16 commits intoboostercloud:mainfrom
Optum:node_22
Draft

Node 22 and Azure Functions v4 migration#1593
MarcAstr0 wants to merge 16 commits intoboostercloud:mainfrom
Optum:node_22

Conversation

@MarcAstr0
Copy link
Collaborator

Description

Changes

Checks

  • Project Builds
  • Project passes tests and checks
  • Updated documentation accordingly

Castro, Mario added 10 commits January 29, 2026 12:10
- Bump Node.js from v20 (Iron) to v22 (Jod) LTS
- Update Rush from 5.133.4 to 5.166.0
- Update nodeSupportedVersionRange to >=22.0.0 <23.0.0
- Update engine requirements across all packages
- Define type wrappers, guards, and helpers for v4 programming
model (HTTP, CosmosDB, EventHub, Timer, Web PubSub)
- Export types
from main package entry point
- Update adapters to use v4 InvocationContext and HttpResponseInit
- Add type definitions, guards, and helpers for all trigger types
- Fix parameter property syntax in tests for Node 22 compatibility
logger.info('Triggering function app cold start...')
try {
await exec(
`curl -s -o /dev/null "https://${functionAppName}.azurewebsites.net/api/graphql" -X POST -H "Content-Type: application/json" -d '{"query":"{ __typename }"}'`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
for (let i = 1; i <= maxRetries; i++) {
try {
const result = await exec(
`az functionapp keys list --name "${functionAppName}" --resource-group "${resourceGroupName}" --query "systemKeys.webpubsub_extension" -o tsv`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
This string concatenation which depends on
library input
is later used in a
shell command
.
logger.info('Re-triggering function host...')
try {
await exec(
`curl -s -o /dev/null "https://${functionAppName}.azurewebsites.net/api/graphql" -X POST -H "Content-Type: application/json" -d '{"query":"{ __typename }"}'`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
logger.info('Updating Web PubSub hub...')
try {
await exec(
`az webpubsub hub update --name "${webPubSubName}" --resource-group "${resourceGroupName}" --hub-name "${hubName}" --event-handler url-template="https://${functionAppName}.azurewebsites.net/runtime/webhooks/webpubsub?code=${key}" user-event-pattern="*" system-event="connect" system-event="disconnected"`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
This string concatenation which depends on
library input
is later used in a
shell command
.
This string concatenation which depends on
library input
is later used in a
shell command
.
@MarcAstr0
Copy link
Collaborator Author

/integration sha=22a37ba

@github-actions
Copy link
Contributor

⌛ Integration tests are running...

Check their status here 👈

@github-actions
Copy link
Contributor

❌ Oh no! Integration tests have failed

@MarcAstr0
Copy link
Collaborator Author

/integration sha=39b572a

@github-actions
Copy link
Contributor

⌛ Integration tests are running...

Check their status here 👈

@github-actions
Copy link
Contributor

❌ Oh no! Integration tests have failed

@MarcAstr0
Copy link
Collaborator Author

/integration sha=9d6ec78

@github-actions
Copy link
Contributor

⌛ Integration tests are running...

Check their status here 👈

Castro, Mario and others added 2 commits January 30, 2026 15:59
- Bump validator 13.12.0 → 13.15.26, mock-jwks 1.0.3 → 1.0.10
- Add pnpm overrides in .pnpmfile.cjs for transitive vulns
- Fix TS7053 in http-service.ts (RequestOptions.headers union type)
- Update token verifier tests for jsonwebtoken 9.x iat claim
@github-actions
Copy link
Contributor

❌ Oh no! Integration tests have failed

@MarcAstr0
Copy link
Collaborator Author

/integration sha=9235aca

@github-actions
Copy link
Contributor

⌛ Integration tests are running...

Check their status here 👈

@github-actions
Copy link
Contributor

✅ Integration tests have finished successfully!

@MarcAstr0
Copy link
Collaborator Author

/integration sha=ca63936

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

⌛ Integration tests are running...

Check their status here 👈

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

❌ Oh no! Integration tests have failed

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

⌛ Integration tests are running...

Check their status here 👈

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

❌ Oh no! Integration tests have failed

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