Repository navigation
Conversation
ec0a1c5 to
6ea490c
Compare
6ea490c to
0d30589
Compare
e1dd447 to
7f19e82
Compare
7f19e82 to
1feaaeb
Compare
1feaaeb to
556a74d
Compare
556a74d to
db43847
Compare
db43847 to
0b15779
Compare
Code Review ✅ Approved 🟡 Medium risk 7 closed / 7 findingsThe new SemSitter client launches a server process and decodes its protocol payloads, so framing or lifecycle errors could interrupt parsing when integrated. Adds the ✅ 7 closed✅ Bug: getFile/getTypes bypass the lock that send() takes
✅ Bug: License-check and dogfooding builds don't install analyzer-wire
✅ Edge Case: Truncated payload is accepted without a length check
✅ Edge Case: Unlimited protobuf recursion turns deep trees into StackOverflowError
✅ Quality: ProtocolTest tests delimited framing, which the client never uses
...and 2 more closed from earlier reviews Verification Rules 3/3 met PRs 1 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Broader impact PRs 1 inspectedCross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment 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 |
|




Part 2 of 17 of JAVA-7392. Ticket: JAVA-7394.
Intent
Add the new
java-frontend-semsittermodule and the client that talks to the SemSitter server. Nothing calls it yet.org.sonarsource.semsitter:analyzer-wire:2.0.0.90994, built withbuild-mavenand promoted by SonarSource/semsitter#5821sonarsourcevirtual repository on Repox, so CI needs no install stepState on master
Nothing in the plugin calls the client. ECJ parses exactly as today.
Test plan
SemSitterClientTestagainst an in-process fake server: every command, errors, malformed answers, nested documents, and a close that never waits on an unanswered quitProtocolTeston the protobuf messages,SemSitterClientTeston the framing (header, payload size, truncation, depth limit)SemSitterClientE2ETestruns only with-Dsemsitter.executable