Repository navigation
Conversation
f926156 to
f6fcc26
Compare
443ce78 to
db342cb
Compare
2a388ae to
9b58b2e
Compare
c6e5aeb to
113ddba
Compare
113ddba to
b2b522f
Compare
23378b5 to
3905597
Compare
3905597 to
f661a33
Compare
f661a33 to
8aa5c01
Compare
8aa5c01 to
cd5f32a
Compare
cd5f32a to
db45578
Compare
db45578 to
b6e5724
Compare
b6e5724 to
8f11118
Compare
8f11118 to
6c305e3
Compare
This comment has been minimized.
This comment has been minimized.
6c305e3 to
748e974
Compare
CI failed: The Ruling Update and Notify job failed because the ruling QA job was cancelled, so no actual_* artifacts were available to download. The log does not show why QA was cancelled, and the finding is not attributed to this PR's SemSitter changes.OverviewThe Ruling Update and Notify job failed because the ruling QA job was cancelled, so no actual_* artifacts were available to download. The log does not show why QA was cancelled, and the finding is not attributed to this PR's SemSitter changes. FailuresRuling Update and Notify job failed after ruling QA was cancelled and no actual_* artifacts were downloaded (job 140420196538)
Summary
Code Review ✅ Approved 🟡 Medium risk 2 closed / 2 findingsRegistering the flag-controlled SemSitter parser changes frontend selection for enabled projects, which could alter Java parsing and analysis results. Offers the SemSitter frontend when an executable is configured and either LaunchDarkly is no longer queried again for every module of the same project, which was addressed this session. ✅ 2 closed✅ Performance: LaunchDarkly is queried again for every module of the same project
Closed: Edge Case: A failed or timed-out flag read is cached for the life of the JVM
Verification Rules 3/3 met Repos 3 inspected · PRs 4 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Broader impact Repos 3 inspected PRs 4 inspectedCross-repo 3 repositories inspected 0 open impacts
Cross-PR 4 PRs inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment Tip 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 16 of 17 of JAVA-7392. Ticket: JAVA-7406.
Intent
Register
SemSitterParserProvider(theJParserProviderof PR1) and package the module in the plugin. The SemSitter frontend is used only when an executable is known and the property or the flag enables it.flowchart TD C[configure] --> E{executable known?<br/>sonar.java.semsitter.executable or SEMSITTER_ANALYZER} E -->|no| ECJ[ECJ] E -->|yes| P{sonar.java.semsitter.enabled set?} P -->|true| SS[SemSitterParser] P -->|false| ECJ P -->|unset| F{LaunchDarkly flag on for the project?} F -->|yes| SS F -->|no or failure| ECJPlugin: dependency on
java-frontend-semsitter, shading filter, license files ofanalyzer-wireandprotobuf-java, and a max jar size raised to 24 MB.State on master
No executable is configured anywhere, so ECJ keeps parsing everything.
Test plan
SemSitterParserProviderTest: executable, property, flag, flag failure, project key