You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "corgy-w (via GitHub)" <gi...@apache.org> on 2026/09/15 14:58:54 UTC

[PR] [Docs] Add test class conventions to AGENTS.md [seatunnel]

corgy-w opened a new pull request, #12330:
URL: https://github.com/apache/seatunnel/pull/12330

   ### Purpose of this pull request
   
   Adds a short `Test Classes` subsection to the code standards in `AGENTS.md`, so AI-assisted contributions follow two repository expectations that the LLM context guide did not state before:
   
   - Do not create new test classes casually — extend the existing test class when the scenario belongs to it.
   - If the connector, transform, or engine area being changed already has an IT (E2E) test, that IT test must also be added or updated in the same change.
   
   Only `AGENTS.md` is touched (6 added lines). The existing test guidance in `docs/en|zh/developer/test-coding-guide.md` and `.skills/seatunnel-test-suite/SKILL.md` is intentionally not duplicated here; this PR only records the two conventions that were missing from the always-loaded context guide.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Only the contributor-facing `AGENTS.md` guide is changed; no runtime code, configuration option, connector behavior, or public API is affected.
   
   ### How was this patch tested?
   
   No test was added: this is a Markdown-only change with no executable behavior.
   
   - `git diff --stat upstream/dev` shows a single file changed: `AGENTS.md | 6 ++++++`.
   - `./mvnw spotless:apply -o` (JDK 8) → BUILD SUCCESS, 30.4 s, all modules, and it rewrote zero files (`git status` unchanged afterwards).
   - Spotless is configured for Java only here — the `<markdown>` formatter block in `pom.xml` is commented out — so this file is outside its scope. Note that the pinned `google-java-format 1.7` cannot run on JDK 21 (`JCImport.getQualifiedIdentifier()` was removed); that affects the local toolchain, not this change.
   - `AGENTS.md` matches the `**/*.md` entry in `.licenserc.yaml` `paths-ignore`, so no ASF license header applies.
   
   ### Check list
   
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/developer/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
   * [ ] If necessary, please update `incompatible-changes.md` to describe the incompatibility caused by this PR.
   * [ ] If you are contributing the connector code, please check that the following files are updated:
     1. Update [plugin-mapping.properties](https://github.com/apache/seatunnel/blob/dev/plugin-mapping.properties) and add new connector information in it
     2. Update the pom file of [seatunnel-dist](https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml)
     3. Add ci label in [label-scope-conf](https://github.com/apache/seatunnel/blob/dev/.github/workflows/labeler/label-scope-conf.yml)
     4. Add e2e testcase in [seatunnel-e2e](https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/)
     5. Update connector [plugin_config](https://github.com/apache/seatunnel/blob/dev/config/plugin_config)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Docs] Add test class conventions to AGENTS.md [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12330:
URL: https://github.com/apache/seatunnel/pull/12330


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org