fix: Add 80% incremental coverage gating for WASM Go plugins#3048
Draft
Jing-ze wants to merge 6 commits intoalibaba:mainfrom
Draft
fix: Add 80% incremental coverage gating for WASM Go plugins#3048Jing-ze wants to merge 6 commits intoalibaba:mainfrom
Jing-ze wants to merge 6 commits intoalibaba:mainfrom
Conversation
- Updated Codecov configuration to include a new coverage target for the wasm-go-plugin with a threshold of 80%. - Modified GitHub Actions workflows to trigger on all branches instead of just 'main'. - Adjusted coverage report links in the summary to point to the PR coverage report. - Added logging in the AddForSystem function to improve traceability in the wasm-go plugin. Change-Id: Iec1a60446d8981aad96698351d8e46526fe6bda2 Co-developed-by: Cursor <noreply@cursor.com>
- Modified the build-and-test workflow to trigger on pushes to the 'main' branch instead of all branches. - Updated the wasm-plugin unit test workflow to also trigger on pushes to the 'main' branch, while maintaining path filters. This change streamlines the CI process by focusing on the primary branch. Change-Id: I7ff335d00ea6a13d0ad3a363cd1a3b551645efd8 Co-developed-by: Cursor <noreply@cursor.com>
- Updated the build-and-test and wasm-plugin unit test workflows to remove quotes around the 'main' branch name in the trigger configuration. - This change ensures consistency in branch naming conventions across workflows. Change-Id: I5dcc0d8830f7135904f384c3650839b14b3335f7 Co-developed-by: Cursor <noreply@cursor.com>
- Added 'base: main' to the default and wasm-plugin-patch coverage targets in the Codecov configuration. - This change ensures consistency in coverage reporting across different targets. Change-Id: Id1e5312b5f6218207fa7884f31eb3882dc7a91ee Co-developed-by: Cursor <noreply@cursor.com>
为 WASM Go 插件添加 80% 增量覆盖率门禁与相关配置优化变更概述
变更文件
💡 小贴士与 lingma-agents 交流的方式📜 直接回复评论
📜 在代码行处标记
📜 在讨论中提问
|
…reamline settings and avoid redundancy. Change-Id: I8c74c8a1ba31f032e81e5a23b103be104e63cb66 Co-developed-by: Cursor <noreply@cursor.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3048 +/- ##
==========================================
+ Coverage 43.42% 44.61% +1.18%
==========================================
Files 82 85 +3
Lines 10922 11404 +482
==========================================
+ Hits 4743 5088 +345
- Misses 5850 5961 +111
- Partials 329 355 +26
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
This PR implements codecov patch-based incremental coverage gating for WASM Go plugins, requiring 80% coverage for new/modified code before PR merge.
wasm-plugin-patchstatus check incodecov.ymlwith 80% coverage thresholdwasm-go-pluginfor consistent coverage trackingapp.codecov.ioURLsⅡ. Does this pull request fix one issue?
No specific issue, but improves code quality enforcement for WASM plugins.
Ⅲ. Why don't you add test cases (unit test/integration test)?
This PR modifies CI/CD configuration files and doesn't change application logic.
codecov.yml.github/workflows/wasm-plugin-unit-test.ymlⅣ. Describe how to verify it
Ⅴ. Special notes for reviews
wasm-go-pluginflag