Skip to content

Feat/manager close - #1137

Merged
RangerMauve merged 5 commits into
mainfrom
feat/manager-close
Nov 6, 2025
Merged

Feat/manager close#1137
RangerMauve merged 5 commits into
mainfrom
feat/manager-close

Conversation

@RangerMauve

Copy link
Copy Markdown
Contributor

This makes sure the manager is being cleaned up after every test. Main use is to also clean up the worker processes in the indexer worker PR.

This also updates the tests to make sure we're using the util for creating / tearing down managers.

Part of #1092

@RangerMauve
RangerMauve requested a review from gmaclennan October 8, 2025 22:32
@gmaclennan

Copy link
Copy Markdown
Member

I see the tests are failing right now. Is this ready for review? Do you want help resolving failing tests?

@RangerMauve

Copy link
Copy Markdown
Contributor Author

Help resolving would be appreciated. At least just seeing if there are obvious flaws. I think something relating to fastify init might be off?

@RangerMauve

Copy link
Copy Markdown
Contributor Author

Issue was to do with a race condition inside fastify somewhere. The server wasn't listening so the close call wasn't working. Calling close on the underlying server fixed it.

@RangerMauve
RangerMauve merged commit 2226b3a into main Nov 6, 2025
11 checks passed
@RangerMauve
RangerMauve deleted the feat/manager-close branch November 6, 2025 22:18
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