Verify all modules and fix runtime reference#11
Closed
kainonly wants to merge 4 commits into
Closed
Conversation
This patch fixes two critical issues: 1. Build Failure: Updated bytedance/sonic from v1.14.0 to v1.14.2 to resolve the "invalid reference to runtime.lastmoduledatap" linker error that prevented csrf and help modules from building with Go 1.24.7. 2. Test Failure: Added sonyflake initialization in help package tests to prevent nil SF errors in CI environments without private IP addresses. Changes: - Upgraded github.com/bytedance/sonic v1.14.0 => v1.14.2 - Upgraded github.com/bytedance/sonic/loader v0.3.0 => v0.4.0 - Upgraded github.com/cloudwego/base64x v0.1.5 => v0.1.6 - Upgraded github.com/klauspost/cpuid/v2 v2.0.9 => v2.2.9 - Added init() in help/integration_test.go to configure sonyflake with fixed MachineID All tests now pass successfully.
- 更新 CHANGELOG.md 添加 v1.0.1 条目 - 创建 RELEASE_NOTES_v1.0.1.md 发布说明 - 记录构建错误和测试失败的修复详情 - 记录依赖包更新信息
- Add *.test pattern to ignore compiled test binaries - Add coverage.out to ignore coverage output files
- Add explicit module cache cleaning step before tests - Ensure fresh dependencies are downloaded in CI - Reorganize workflow steps for clarity This resolves persistent cache issues where CI was using outdated sonic v1.14.0 instead of the fixed v1.14.2.
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.
No description provided.