Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: server actions #69612

Merged
merged 4 commits into from
Sep 3, 2024
Merged

backport: server actions #69612

merged 4 commits into from
Sep 3, 2024

Conversation

lubieowoce
Copy link
Member

@lubieowoce lubieowoce commented Sep 3, 2024

@lubieowoce lubieowoce force-pushed the backport-14-3-0/server-actions branch 2 times, most recently from a9549af to 7bd0cdc Compare September 3, 2024 12:04
sokra and others added 4 commits September 3, 2024 14:35
### What?

optimize allocations in server actions transform

In one edge case it reduces allocations from 30GB to 4.5MB and time from
760ms to 11ms.

### Why?

make it faster
This adds an extra `hash_salt` option to the Server Actions transform's
`generate_action_id` method which defaults to empty for now (so no
actual behavior changes). When set, the salt will be used to prefix the
payload.
@lubieowoce lubieowoce merged commit 6473113 into 14-2-1 Sep 3, 2024
51 of 57 checks passed
@lubieowoce lubieowoce deleted the backport-14-3-0/server-actions branch September 3, 2024 13:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants