Skip to content

optimize: interface-held closure functions#70

Merged
ppzqh merged 3 commits intocloudwego:mainfrom
ppzqh:optimize/timer_arg
Mar 24, 2026
Merged

optimize: interface-held closure functions#70
ppzqh merged 3 commits intocloudwego:mainfrom
ppzqh:optimize/timer_arg

Conversation

@ppzqh
Copy link
Collaborator

@ppzqh ppzqh commented Mar 19, 2026

What type of PR is this?

optimize

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 74.07407% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.05%. Comparing base (65e6157) to head (e81c690).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
pkg/proc/reference.go 75.47% 9 Missing and 4 partials ⚠️
test/framework.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            main      #70       +/-   ##
==========================================
+ Coverage   2.70%   61.05%   +58.35%     
==========================================
  Files         15       16        +1     
  Lines       2221     2257       +36     
==========================================
+ Hits          60     1378     +1318     
+ Misses      2155      723     -1432     
- Partials       6      156      +150     
Flag Coverage Δ
unit 61.05% <74.07%> (+58.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@ppzqh ppzqh force-pushed the optimize/timer_arg branch 2 times, most recently from 2254158 to 7f554f0 Compare March 19, 2026 10:03
@ppzqh ppzqh force-pushed the optimize/timer_arg branch from 7f554f0 to 3338ba0 Compare March 19, 2026 10:08
@ppzqh ppzqh changed the title optimize: closure name and references optimize: interface-held closure functions Mar 24, 2026
@ppzqh ppzqh merged commit 3a10bfe into cloudwego:main Mar 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants