Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client): panic explicitly if ctx = nil #1290

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

acehinnnqru
Copy link
Contributor

@acehinnnqru acehinnnqru commented Mar 5, 2025

What type of PR is this?

fix

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:

@acehinnnqru acehinnnqru requested review from a team as code owners March 5, 2025 16:02
@CLAassistant
Copy link

CLAassistant commented Mar 5, 2025

CLA assistant check
All committers have signed the CLA.

@xiaost xiaost self-assigned this Mar 12, 2025
@acehinnnqru acehinnnqru changed the title fix: set ctx as context.Background when it is nil fix: panic when the ctx is nil Mar 12, 2025
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.24%. Comparing base (4fce261) to head (d18bc66).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1290   +/-   ##
========================================
  Coverage    72.23%   72.24%           
========================================
  Files          138      138           
  Lines        16137    16139    +2     
========================================
+ Hits         11657    11659    +2     
  Misses        3885     3885           
  Partials       595      595           

☔ 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.

@xiaost xiaost force-pushed the develop branch 2 times, most recently from f517bd9 to 2eb7f30 Compare March 13, 2025 05:20
@xiaost xiaost changed the title fix: panic when the ctx is nil fix(client): panic explicitly if ctx = nil Mar 13, 2025
@YangruiEmma YangruiEmma merged commit 00ed124 into cloudwego:develop Mar 14, 2025
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.

4 participants