Skip to content

qiniu/x v1.18.0#2750

Merged
xushiwei merged 2 commits into
goplus:mainfrom
xushiwei:x1.18
Jun 14, 2026
Merged

qiniu/x v1.18.0#2750
xushiwei merged 2 commits into
goplus:mainfrom
xushiwei:x1.18

Conversation

@xushiwei

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the line iteration logic in cl/_testgop/enumlines-rdr/out.go by replacing a custom iterator loop with a standard range-over-func loop. Additionally, it upgrades the github.com/qiniu/x dependency from version v1.17.0 to v1.18.0 in go.mod and go.sum. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This PR upgrades github.com/qiniu/x from v1.17.0 to v1.18.0 and includes several refactors. There are two important findings that need attention.

Summary

Severity File Issue
🔴 Critical cmd/make.go, cmd/make_test.go Nil pointer dereference on non-ErrNotExist errors
🟡 Important printer/printer.go Removal of infinity guard changes boundary semantics; two related tests deleted
🔵 Minor .github/workflows/go.yml Codecov action downgraded from v7 to v6 without explanation

Additional Note

.github/workflows/go.yml line 56: codecov/codecov-action was downgraded from @v7 to @v6. This is unusual — if v7 had a breaking change for this project, a comment in the workflow file explaining the reason would prevent future contributors from re-upgrading accidentally.

Findings without inline locations

  • cmd/make.go:38: Nil pointer dereference on non-ErrNotExist errors 🔴
  • cmd/make_test.go:30: Same nil pointer dereference as cmd/make.go 🔴
  • printer/printer.go:168: Semantic change: <=< removes equal-offset comment support 🟡

@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.28%. Comparing base (43b9303) to head (af1f326).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2750      +/-   ##
==========================================
+ Coverage   94.09%   94.28%   +0.18%     
==========================================
  Files          32       32              
  Lines       10074    10336     +262     
==========================================
+ Hits         9479     9745     +266     
+ Misses        425      421       -4     
  Partials      170      170              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xushiwei xushiwei merged commit d2e8fa5 into goplus:main Jun 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant