Use dynamic port assignment for manual test CI.#20030
Conversation
martnpaneq
left a comment
There was a problem hiding this comment.
I think that using .port file is not the best solution, as it could be confusing when using two repositories. On the other hand I don't see any better solution.
After some local testing, we keep two instances of the .port file, depending on the repository where the script was invoked. It is too confusing, and I think we should go with reading the port number from the cli instead.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
martnpaneq
left a comment
There was a problem hiding this comment.
The changes look much better after implementing the new approach.

🚀 Summary
check-manual-tests.sh now discovers a free port via a Node.js one-liner (binding to port 0), passes it to the server with
--port, and forwards it to the web crawler throughpnpm run manual:verify --port. The web crawler resolves the port from the--portCLI argument or falls back to 8125. This prevents CI failures when port 8125 is already in use.📌 Related issues
🧾 Checklists
Use the following checklists to ensure important areas were not overlooked.
This does not apply to feature-branch merges.
If an item is not relevant to this type of change, simply leave it unchecked.
Author checklist
Reviewer checklist
t()(if any).