spuru9 opened a new pull request, #231:
URL: https://github.com/apache/flink-connector-jdbc/pull/231
## What is the purpose of the change
Follow-up to FLINK-39477 for this repository. It gives AI coding agents the
project-specific context that apache/flink's `AGENTS.md` provides, and adds a
pull request template so AI usage is disclosed the same way as in apache/flink,
the Kubernetes Operator (FLINK-39881), and the Kafka connector (FLINK-40625).
This repository had no PR template at all; contributors have been pasting
apache/flink's by hand.
## Brief change log
- Add `AGENTS.md`: build and test commands; module layout
(`flink-connector-jdbc-core`, the per-database dialect modules, and the
standalone `flink-connector-jdbc-backward-compatibility` module); the API
annotations and package map; the source (FLIP-27), sink (Sink V2), exactly-once
(XA) and dialect-SPI (`JdbcDialect` / `JdbcFactory`) boundaries; common change
patterns (adding a database, a Table or builder option, checkpointed state, a
driver or `flink.version` bump, a flaky test); coding and testing standards;
commit and PR conventions; boundaries.
- Add `.github/PULL_REQUEST_TEMPLATE.md`, based on apache/flink's, with
the "does this pull request potentially affect" section narrowed to this
connector (Table options, the JDBC dialect SPI, XA/exactly-once, driver
versions) and the generative AI tooling disclosure section.
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Both files were checked against this repository's build: `AGENTS.md` carries
the Apache license header and is approved by Apache Rat;
`.github/PULL_REQUEST_TEMPLATE.md` falls under the parent POM's `.github/**`
Rat exclude, matching how apache/flink and the Kafka connector carry the same
file. Every command and class path quoted in `AGENTS.md` was taken from the
current tree.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency, including
`flink.version` or a database driver version): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)` or `@Experimental`, or are the Table options or the JDBC
dialect SPI changed: no
- Checkpointed state, its serializers, or exactly-once delivery: no
- The per-record code paths: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
- If the docs changed, are both `docs/content` and `docs/content.zh`
updated? not applicable (these are contributor-facing repository docs, not the
rendered connector documentation)
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (Claude Code)
Generated-by: Claude Code (Claude Opus 4.8)
--
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]