Skip to content

perf(workflow): Implement result cache for IP checks#62039

Merged
nickvergessen merged 4 commits into
masterfrom
bugfix/noid/improve-performance-of-checks
Jul 13, 2026
Merged

perf(workflow): Implement result cache for IP checks#62039
nickvergessen merged 4 commits into
masterfrom
bugfix/noid/improve-performance-of-checks

Conversation

@nickvergessen

Copy link
Copy Markdown
Member

Summary

  • When the workflows are checked hundreds/thousands of times in the same request, the IP address as well as the time are not changing, so we can simply cache the result on a per operation+value level

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen

Copy link
Copy Markdown
Member Author

/backport to stable34

@nickvergessen

Copy link
Copy Markdown
Member Author

/backport to stable33

@nickvergessen

Copy link
Copy Markdown
Member Author

/backport to stable32

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 13, 2026
Comment thread apps/workflowengine/lib/Check/RequestRemoteAddress.php Outdated
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen requested a review from come-nc July 13, 2026 09:10
@nickvergessen nickvergessen merged commit 5d6a26e into master Jul 13, 2026
189 of 196 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/improve-performance-of-checks branch July 13, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish feature: workflows performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants