Function key max length 23?

Hi,

I got this error while linting:

The function key exceeds 23 characters: ‘project-settings-resolver’.

Is there rational behind limiting a function key to 23 characters?

1 Like

This is just an assumption, but I believe it’s due to the overall limitation on AWS Lambda function names. Each function name includes a prefix, the app ID (a UUID), the environment ID (another UUID), and then the actual function key - leaving only about 20–30 characters available for the function key itself.

Under the hood, the full function identifier looks something like this:
ari:cloud:ecosystem::extension/1f464eb2-16e2-4f42-bf86-7777ba1784f2/122a1982-1a42-10d2-8c12-1c865e0fdab2/static/your-amazing-resource-name

1 Like

ahh.. thank you for that.

Dumb decision of Atlassian to use AWS Lambda given the cold start problem. That explains why Forge’s performance is abysmally slow.

Should have used Cloudflare Workers.

2 Likes