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

   ## Implementation Notes and Trade-offs
   
   Yes, contributing to Apache SeaTunnel.
   
   **Current head:** `5983021a280b83b97e300a16ba6a135f22e82434`. This follow-up 
addresses the findings in [the existing 
review](https://github.com/apache/seatunnel/pull/13397#pullrequestreview-6021051148)
 and supersedes its option-holder/comment blockers for this repair delta; it is 
not a maintainer approval.
   
   **Problem and change location:** The new connector introduced by this PR 
failed `ConnectorOptionCheckTest.checkConnectorOptionExist` because its actual 
option definitions were not in the required `<SourceClassName>Options` holder. 
Source construction and factory option validation must use the same 
definitions. Move all four actual factory option definitions into 
OpenDataDcSourceOptions and update factory/source references. Document the 
24-byte checkpoint layout, page-atomic cursor commit, keyset versus 
empty-window traversal, retry budget and cancellation ownership.
   
   **Choice and alternatives:** Keep this repair inside the existing connector. 
Preserve every option declaration, key, type, default and description. 
Weakening the shared checker or adding an empty placeholder would leave the 
configuration ownership problem unresolved, so neither was used. No shared 
HTTP/engine redesign, new module or dependency is needed.
   
   **Verified facts and compatibility:** Independent static review found no 
remaining issue in the repair delta. Option definitions are unchanged after 
relocation/rename. Runtime request, decoding, cancellation and checkpoint code 
is unchanged apart from references/comments. Existing plugin/SPI identities, 
module/dist/installer registrations, configuration keys, job configuration 
formats, split/checkpoint layouts, UT and installed-connector IT 
assets/assertions remain intact. No POM, shared checker, public framework API 
or unrelated connector change was introduced. The final PR diff and the 
incremental previous-head-to-current-head diff were checked; the prior fixes 
and tests are retained.
   
   **Validation:** `git diff --check` and the affected module's Java formatting 
apply/check passed. Commands, from the worktree root:
   ```sh
   ./mvnw -N -f 
seatunnel-connectors-v2/connector-http/connector-http-open-data-dc/pom.xml 
spotless:apply '-DspotlessFiles=.*[.]java' -nsu -Dmaven.gitcommitid.skip=true
   ./mvnw -N -f 
seatunnel-connectors-v2/connector-http/connector-http-open-data-dc/pom.xml 
spotless:check '-DspotlessFiles=.*[.]java' -nsu -Dmaven.gitcommitid.skip=true
   ```
   This is a behavior-preserving option ownership repair plus documentation; no 
new test cases or weakened assertions were added. The unchanged convention 
checker and existing connector/IT suites remain the functional gates.
   
   **Pending evidence and limits:** Under the repository's local-validation 
restriction, no local compilation, UT, IT/E2E, packaging, Docker, service or 
live vendor execution was performed. `seatunnel-engine-ui` was excluded because 
there was no build and no UI change. No prior build/deployment artifact was 
reused and no UI validation applies. GitHub CI on this exact head must finish 
successfully before runtime validation or merge readiness can be claimed; 
historical tests and skipped jobs do not establish that. The static check does 
not establish live-service acceptance. No approval or merge is requested by 
this comment.
   


-- 
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