Skip to content

Prevent agent from starting twice in edge case#628

Merged
hansott merged 4 commits intomainfrom
prevent-double-require
Jun 12, 2025
Merged

Prevent agent from starting twice in edge case#628
hansott merged 4 commits intomainfrom
prevent-double-require

Conversation

@timokoessler
Copy link
Member

If the Node.js require cache is cleared, it is possible to execute a js script a second time, while the old one also keeps running.

@codecov
Copy link

codecov bot commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@hansott hansott merged commit f69ef07 into main Jun 12, 2025
14 of 15 checks passed
@hansott hansott deleted the prevent-double-require branch June 12, 2025 15:02
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