win120a opened a new pull request, #10680:
URL: https://github.com/apache/dubbo/pull/10680

   # 相关 PR / Related PRs
   原先的 PR / Legacy PR: #10663 
   检查器的实现的 PR / The inspector code implementation: 
https://github.com/apache/dubbo-test-tools/pull/1
   
   # 介绍 / Introduction
   
   这个 PR 实现了在 GitHub Actions 中 warn, error 链接指向的检查机制。
   
   This pull request implements the mechanism that checks (document links of) 
error code in logger invocations.
   
   # 功能 / Features
   ## 中文
   1. 代码中全部错误码的提取 (见下述截图中的 All Error Codes 部分)
   2. 错误码文档链接失效的判定 (见下述截图中的 Error codes which document links are not reachable 
部分)
   3. 未用错误码的 Logger 方法的提示 (见下述截图中的 Illegal logger method invocations 部分)
   4. GitHub Actions 的自动检查。(目前不会抛出异常。其会将结果上传到 GitHub 的 Artifacts。)
   
   ## English
   1. Error code extraction. ('All Error Codes' in screenshot)
   2. Link testing of document of error codes. ('Error codes which document 
links are not reachable' in screenshot)
   3. Hint of logger method invocations which don't use error code. ('Illegal 
logger method invocations' in screenshot)
   4. Automatic checking in GitHub Actions. (Currently it does not throw 
exception. It will upload result to artifacts in GitHub Actions.)
   
   # Actions 的运行截图 / Screenshot in GitHub Actions
   
![eci-1](https://user-images.githubusercontent.com/4351489/192001227-36315550-60e4-4846-9550-d4cd1e2363c5.jpg)
   
   # 运行 / Run
   ## GitHub Actions 自动运行 / Automatically run in GitHub Actions
   GitHub Actions 会在代码推送时自动运行本程序。可以到 Artifacts 下载 GitHub Actions 的运行结果。文件名为 
`error-inspection-result.txt`。
   
   This program will be executed by GitHub Actions when someone pushes patches. 
The result can be downloaded in 'Artifacts' section. The file name of report is 
`error-inspection-result.txt`.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to