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

Use dbwrap.CallerCtx #20

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Use dbwrap.CallerCtx #20

merged 1 commit into from
Nov 16, 2024

Conversation

vearutop
Copy link
Member

No description provided.

@vearutop vearutop merged commit 2593e65 into master Nov 16, 2024
6 of 7 checks passed
@vearutop vearutop deleted the dbwrap-ctx branch November 16, 2024 19:06
Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 37 2275 1651 173 451 269 56.1K (+8B)

Copy link

Unit Test Coverage

total: (statements) 42.0%
changed lines: (statements) 0.0%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 0.0%
database/observability.go 0.0%
database/observability.go:80 observe 0.0%
Coverage diff with base branch

No changes in coverage.

Copy link

Benchmark Result

Benchmark diff with base branch
name          old time/op    new time/op    delta
CallerFunc-4    1.30µs ± 1%    1.32µs ± 5%   ~     (p=0.771 n=5+6)

name          old alloc/op   new alloc/op   delta
CallerFunc-4      280B ± 0%      280B ± 0%   ~     (all equal)

name          old allocs/op  new allocs/op  delta
CallerFunc-4      4.00 ± 0%      4.00 ± 0%   ~     (all equal)
Benchmark result
name          time/op
CallerFunc-4  1.32µs ± 5%

name          alloc/op
CallerFunc-4    280B ± 0%

name          allocs/op
CallerFunc-4    4.00 ± 0%

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 42.15%. Comparing base (12dfab0) to head (3de9139).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
database/observability.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage   42.35%   42.15%   -0.20%     
==========================================
  Files          26       26              
  Lines         850      854       +4     
==========================================
  Hits          360      360              
- Misses        448      452       +4     
  Partials       42       42              
Flag Coverage Δ
unittests 42.15% <0.00%> (-0.20%) ⬇️

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.

Copy link

Go API Changes

# summary
Inferred base version: v0.3.0
Suggested version: v0.3.1

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.

2 participants