-
-
Notifications
You must be signed in to change notification settings - Fork 687
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
When using MockAgent alongside fuzz testing it was found that a memory leak started happening.
Reproducible By
Expected Behavior
Expected a memory leak not to happen.
Reverted back to using:
global.fetch = (url, request) => {
return Promise.resolve(
new Response("", {
status: 200,
statusText: "OK",
headers: new Headers({
"Content-Type": "application/json; charset=UTF-8",
}),
}),
);
};Logs & Screenshots
https://github.com/middyjs/middy/actions/runs/20599570479/job/59161706234
https://github.com/middyjs/middy/actions/runs/20599603819/job/59172523477
https://github.com/middyjs/middy/actions/runs/20610082297/job/59192953759
Environment
Node v24.12.0 running on GitHub Actions
Full setup: https://github.com/middyjs/middy/blob/develop/.github/workflows/test-dast.yml
Additional context
lmamminolmammino
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working