Skip to content

Bulk actions handlers#388

Merged
louiswol94 merged 4 commits intocore-betafrom
bulk-actions-handlers
May 7, 2026
Merged

Bulk actions handlers#388
louiswol94 merged 4 commits intocore-betafrom
bulk-actions-handlers

Conversation

@louiswol94
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +267 to +269
for (const snippet of targets) {
await activate({ id: snippet.id, network: snippet.network }).catch(handleUnknownError)
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Written with for loops on purpose:

Run sequentially: each request mutates the flat-file config index
(php/index.php) via a non-atomic read-modify-write. Parallel calls
(Promise.all / Promise.allSettled) race on that file and corrupt it.

@louiswol94 louiswol94 requested a review from a team May 6, 2026 19:58
@louiswol94 louiswol94 merged commit 6032490 into core-beta May 7, 2026
8 checks passed
@rami-elementor rami-elementor deleted the bulk-actions-handlers branch May 7, 2026 13:25
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.

2 participants