JS-2355 Expose Standalone Parser Port in public Configuration - #7846
quentin-jaquier-sonarsource wants to merge 3 commits into
Conversation
Ruling ReportNo changes to ruling expected issues in this PR |
9c8b9e5 to
10ca420
Compare
|
That's fair — a full mock/spy setup to exercise That said, a narrow unit test wouldn't need any of that scaffolding. If you'd still rather skip it, that's your call — the validation-focused tests you added are the more valuable ones either way. |
Code Review ✅ Approved 4 resolved / 4 findingsExposes the standalone parser port in public configuration via ✅ 4 resolved✅ Quality: Port validation errors still blame the env var, not the new API
✅ Edge Case: existingNodeProcessPort("0") is silently ignored
✅ Quality: Wrong-but-valid port surfaces as a message-less ServerAlreadyFailedException
✅ Quality: No test covers the port actually being plumbed through
Review coverageFunctional validation No results OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
We changed the strategy to reach the objective, this is not required anymore. |




Summary by Gitar
existingNodeProcessPortfield toBridgeServerConfigand exposed it inStandaloneParserbuilderBridgeServerImplto support overriding the node process port via configuration rather than only environment variablesStandaloneParserTestto validate out-of-range and invalid node port configurationsThis will update automatically on new commits.