Rename serverlessFunction to logicFunction (#17494)

## Summary

Rename "Serverless Function" to "Logic Function" across the codebase for
clearer naming.

### Environment Variable Changes

| Old | New |
|-----|-----|
| `SERVERLESS_TYPE` | `LOGIC_FUNCTION_TYPE` |
| `SERVERLESS_LAMBDA_REGION` | `LOGIC_FUNCTION_LAMBDA_REGION` |
| `SERVERLESS_LAMBDA_ROLE` | `LOGIC_FUNCTION_LAMBDA_ROLE` |
| `SERVERLESS_LAMBDA_SUBHOSTING_URL` |
`LOGIC_FUNCTION_LAMBDA_SUBHOSTING_URL` |
| `SERVERLESS_LAMBDA_ACCESS_KEY_ID` |
`LOGIC_FUNCTION_LAMBDA_ACCESS_KEY_ID` |
| `SERVERLESS_LAMBDA_SECRET_ACCESS_KEY` |
`LOGIC_FUNCTION_LAMBDA_SECRET_ACCESS_KEY` |

### Breaking Changes

- Environment variables must be updated in production deployments
- Database migration renames `serverlessFunction` → `logicFunction`
tables
This commit is contained in:
Charles Bochet
2026-01-28 01:42:19 +01:00
committed by GitHub
parent 59d123d2b1
commit da6f1bbef3
351 changed files with 5054 additions and 5139 deletions
@@ -16,16 +16,16 @@ export const oneSucceededWorkflowRunQueryResult = {
steps: [
{
id: '212a171a-f887-4213-8892-e39c2a3ecc30',
name: 'Code - Serverless Function',
name: 'Code - Logic Function',
type: 'CODE',
valid: false,
settings: {
input: {
serverlessFunctionId: 'e031ae6a-5b9e-496b-9a98-ba015f7b5508',
serverlessFunctionInput: {
logicFunctionId: 'e031ae6a-5b9e-496b-9a98-ba015f7b5508',
logicFunctionInput: {
userId: '{{trigger.userId}}',
},
serverlessFunctionVersion: '1',
logicFunctionVersion: '1',
},
outputSchema: {
link: {
@@ -48,14 +48,14 @@ export const oneSucceededWorkflowRunQueryResult = {
},
{
id: 'a01b2953-9aa7-4d9a-aded-8e9bafbd6c30',
name: 'Code - Serverless Function',
name: 'Code - Logic Function',
type: 'CODE',
valid: false,
settings: {
input: {
serverlessFunctionId: '605efcda-6689-43b3-b24c-2eb76948f523',
serverlessFunctionInput: {},
serverlessFunctionVersion: '2',
logicFunctionId: '605efcda-6689-43b3-b24c-2eb76948f523',
logicFunctionInput: {},
logicFunctionVersion: '2',
},
outputSchema: {
link: {
@@ -4485,16 +4485,16 @@ export const oneSucceededWorkflowRunQueryResult = {
steps: [
{
id: '212a171a-f887-4213-8892-e39c2a3ecc30',
name: 'Code - Serverless Function',
name: 'Code - Logic Function',
type: 'CODE',
valid: false,
settings: {
input: {
serverlessFunctionId: 'e031ae6a-5b9e-496b-9a98-ba015f7b5508',
serverlessFunctionInput: {
logicFunctionId: 'e031ae6a-5b9e-496b-9a98-ba015f7b5508',
logicFunctionInput: {
userId: '{{trigger.userId}}',
},
serverlessFunctionVersion: '1',
logicFunctionVersion: '1',
},
outputSchema: {
link: {
@@ -4517,14 +4517,14 @@ export const oneSucceededWorkflowRunQueryResult = {
},
{
id: 'a01b2953-9aa7-4d9a-aded-8e9bafbd6c30',
name: 'Code - Serverless Function',
name: 'Code - Logic Function',
type: 'CODE',
valid: false,
settings: {
input: {
serverlessFunctionId: '605efcda-6689-43b3-b24c-2eb76948f523',
serverlessFunctionInput: {},
serverlessFunctionVersion: '2',
logicFunctionId: '605efcda-6689-43b3-b24c-2eb76948f523',
logicFunctionInput: {},
logicFunctionVersion: '2',
},
outputSchema: {
link: {