DanielLeens commented on PR #13400:
URL: https://github.com/apache/seatunnel/pull/13400#issuecomment-7231892940

   ## Implementation Notes and Trade-offs
   
   Applicable head: `9f31dbd1635fad5462eb76b20cf8df6d57fa7ba5`; previous head: 
`2e66568828b2570cf3d30fdf852d1396731dbe62`.
   
   **Problem and scoped correction:** Moved the four actual SonarQube options 
into SonarQubeSourceOptions and updated source/factory references. Added the 
missing four ASF Markdown headers and lifecycle/response contracts.
   
   **Why this boundary:** This update is limited to the concrete connector's 
options, documentation, fixture or test conflict sites. Shared 
engine/API/multitable runtime behavior, database schema, checkpoint 
classes/serializers, dependencies and POMs were not changed. User configuration 
keys/types/defaults and existing plugin/SPI/install/dist registrations are 
preserved. Framework/state redesign is outside this maintenance batch.
   
   **Alternatives assessed:** Weakening convention checks or adding empty 
options holders would hide the ownership failure. Reducing existing assertions 
would hide mapping bugs. A full dev merge would introduce unrelated code/build 
changes; conflict-site forward corrections retain both sides with less scope. 
None of those alternatives was used.
   
   **Validation and test-to-risk mapping:** 
SonarQubeIT.readsRequestedProjectMeasures retains its exact two-row bound and 
existing non-null rules, then checks project/key/value/bestValue and exact 
retained period JSON through a SQL CASE flag. The first fixture now has an 
explicit true bestValue; the period-only metric must keep null overall 
value/best_value. Wrong mapping, a dropped period or promoted period value 
makes the job fail. Independent static delta review and `git diff --check` 
passed; the incremental previous-head delta and final PR scope were checked. 
Scoped Spotless apply/check passed for changed Java; the repository disables 
Markdown formatting, so document correctness/preservation was checked directly. 
No existing assertion or module selection was reduced.
   
   **Evidence limits:** No local compilation, UT, IT/E2E, packaging, Docker, 
services, jobs or live-vendor execution was performed under the SeaTunnel 
local-verification rule. No build/deployment artifact was reused; no UI was 
changed or tested and engine UI was not built. Static checks do not establish 
runtime success. New-head GitHub CI is required; old green runs and skipped 
suites are not acceptance of this head. No approval, merge, production 
deployment or live-service acceptance is claimed.
   
   Formatting commands (from the worktree root):
   ```sh
   ./mvnw -N -f 
seatunnel-connectors-v2/connector-http/connector-http-sonarqube/pom.xml 
spotless:apply spotless:check '-DspotlessFiles=.*[.]java' -nsu 
-Dmaven.gitcommitid.skip=true
   ./mvnw -N -f 
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-http-e2e/pom.xml 
spotless:apply spotless:check 
'-DspotlessFiles=.*(SonarQubeIT|CbsStatLineIT)[.]java' -nsu 
-Dmaven.gitcommitid.skip=true
   ```
   
   <!-- connector-maintenance-20261127 -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to