You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "wuchong (via GitHub)" <gi...@apache.org> on 2026/10/22 17:38:59 UTC

[PR] [docs] Improve AGENTS.md testing and review guidance [fluss]

wuchong opened a new pull request, #4808:
URL: https://github.com/apache/fluss/pull/4808

   ### Purpose
   
   Related issue: #2921
   
   Make AGENTS.md more actionable for AI-assisted contributions by adding explicit testing and code review guidance, based on Apache Flink's practices and adapted to Fluss.
   
   ### Brief change log
   
   - Prefer real test implementations where practical while retaining Mockito; require regression tests and deterministic asynchronous synchronization.
   - Add a review checklist covering simplification, comments, flaky tests, configuration/feature flags, hot paths, and actionable findings.
   - Clarify retry safety, protocol compatibility, and Java/Rust protocol regeneration.
   - Update the Flink module list and point to the current PR template and AI disclosure requirements.
   
   The change is limited to AGENTS.md; it does not modify runtime code, tests, dependencies, or build/CI configuration.
   
   ### Tests
   
   - `git diff --check` passed.
   - `./mvnw -N validate spotless:check` passed, including Checkstyle, RAT, and Spotless.
   - Verified Markdown section structure and the referenced Fluss test helpers and regeneration script.
   - Runtime tests and full-reactor verification were not run because this is a documentation-only change.
   
   ### API and Format
   
   No public API, RPC schema, or storage format changes. The protocol edits describe compatibility expectations and generation workflows.
   
   ### Documentation
   
   Updates the root AGENTS.md. The testing and review guidance draws on [Apache Flink's AGENTS.md](https://github.com/apache/flink/blob/master/AGENTS.md).
   
   - [x] Generative AI tools were used.
   
   Generated-by: Codex (GPT-6)
   


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [PR] [docs] Improve AGENTS.md testing and review guidance [fluss]

Posted by "wuchong (via GitHub)" <gi...@apache.org>.
wuchong commented on PR #4808:
URL: https://github.com/apache/fluss/pull/4808#issuecomment-6367716374

   Thanks @fresh-borzoni! Rebased onto main and addressed your comments:
   
   - Dropped the duplicate Mockito bullet and preserved the stricter rules from #4781 unchanged.
   - Changed the configuration-docs check to cover hand-written pages, such as `website/docs/engine-flink/options.md`, and their option names, defaults, and behavior.
   - Reverted the Rust regeneration addition and restored the original regeneration guidance.
   - Removed both feature-flag policy bullets. Any broader policy can be discussed on the dev list separately.
   
   Updated the PR description to match the current scope.


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [PR] [docs] Improve AGENTS.md testing and review guidance [fluss]

Posted by "wuchong (via GitHub)" <gi...@apache.org>.
wuchong commented on PR #4808:
URL: https://github.com/apache/fluss/pull/4808#issuecomment-6355045002

   cc @fresh-borzoni @polyzos, based on recent reviews, I noticed that AI-generated tests rely heavily on Mockito, which may increase future maintenance overhead. I have updated `AGENTS.md` and added some review guidelines to address this.


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [PR] [docs] Improve AGENTS.md testing and review guidance [fluss]

Posted by "fresh-borzoni (via GitHub)" <gi...@apache.org>.
fresh-borzoni merged PR #4808:
URL: https://github.com/apache/fluss/pull/4808


-- 
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: issues-unsubscribe@fluss.apache.org

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