You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by li...@apache.org on 2023/05/13 14:57:14 UTC

[incubator-seatunnel-website] branch main updated: Add code review guide document (#228)

This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 50e4f55011 Add code review guide document (#228)
50e4f55011 is described below

commit 50e4f55011a8a188158a488282fbb93188963208
Author: Eric <ga...@gmail.com>
AuthorDate: Sat May 13 22:57:08 2023 +0800

    Add code review guide document (#228)
---
 community/contribution_guide/code-review.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/community/contribution_guide/code-review.md b/community/contribution_guide/code-review.md
new file mode 100644
index 0000000000..40b58a40a8
--- /dev/null
+++ b/community/contribution_guide/code-review.md
@@ -0,0 +1,17 @@
+# Code Review Guidance
+
+In order to continuously improve the quality of Apache SeaTunnel code, we have compiled a code review guide.
+
+We hope that code reviewers strictly adhere to this guidance, especially in terms of document and e2e inspections.
+
+1. Is the title of PR in compliance with regulations and the correct expression of meaning
+2. Is there any issue link related to bugs in the description of PR, and is there a design document link for major modifications.
+3. Check if documents have been added/changed, and if the document description is correct. A good example is https://github.com/apache/incubator-seatunnel/pull/4590
+4. Check whether to add e2e and the correctness of e2e test (function coverage and result data validation, including whether to cover all supported data types, check whether the columns between the source and target should be aligned, the number of rows should be aligned, and the data in each row should also be aligned). A good example is https://github.com/apache/incubator-seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-clickhouse-e2e
+5. Check if there are any incompatible changes (especially modifications to parameters, with special attention paid. If incompatible changes are indeed needed, they need to be discussed by email)
+6. Check CI results, license updates, etc
+7. Enumerator update, check if the split snapshot and restore are correct, including whether the split allocation strategy is stable
+8. Reader update, check split snapshot and checkpoint lock range and various end conditions in pollnext
+9. Sink update, check for two-stage submission of XXXCommitter (if any)
+10. Writer updates, checking data refresh frequency, interval, memory like batch size, etc
+11. After passing the above functional checks, please review the code style (ensuring that the functionality is based on the code style), and the style is related to personal preferences. You can also refer to this: https://shardingsphere.apache.org/community/cn/involved/conduct/code/
\ No newline at end of file