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

op-service/txmgr: fix pending_txs metric #14168

Merged
merged 4 commits into from
Feb 5, 2025
Merged

Conversation

geoknee
Copy link
Contributor

@geoknee geoknee commented Feb 5, 2025

Closes #14109

@geoknee geoknee requested a review from a team as a code owner February 5, 2025 11:31
@geoknee geoknee requested a review from mds1 February 5, 2025 11:31
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.16%. Comparing base (0d952bd) to head (fe9096a).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #14168      +/-   ##
===========================================
- Coverage    46.45%   42.16%   -4.29%     
===========================================
  Files          997      832     -165     
  Lines        84487    75180    -9307     
===========================================
- Hits         39246    31702    -7544     
+ Misses       42265    40677    -1588     
+ Partials      2976     2801     -175     
Flag Coverage Δ
cannon-go-tests-32 ?
cannon-go-tests-64 ?
contracts-bedrock-tests ?

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

Files with missing lines Coverage Δ
op-service/txmgr/metrics/noop.go 100.00% <100.00%> (ø)
op-service/txmgr/txmgr.go 82.21% <100.00%> (+1.23%) ⬆️

... and 176 files with indirect coverage changes

@protolambda protolambda added the A-op-service Area: op-service label Feb 5, 2025
@geoknee geoknee requested a review from sebastianst February 5, 2025 13:27
@geoknee geoknee added A-op-batcher Area: op-batcher C-bug Category: bugs labels Feb 5, 2025
Copy link
Member

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

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

lgtm, one optional suggestion

@geoknee geoknee enabled auto-merge February 5, 2025 14:41
@geoknee geoknee added this pull request to the merge queue Feb 5, 2025
Merged via the queue into develop with commit 909ee37 Feb 5, 2025
45 checks passed
@geoknee geoknee deleted the gk/pending-tx-test branch February 5, 2025 15:44
alcueca pushed a commit that referenced this pull request Feb 7, 2025
* op-service/txmgr: add  TestQueue_Send_MaxPendingMetrics

* SendAsync: simplify m.metr.RecordPendingTx() usage

* use anonymous fn

* tidy
alcueca pushed a commit that referenced this pull request Feb 7, 2025
* op-service/txmgr: add  TestQueue_Send_MaxPendingMetrics

* SendAsync: simplify m.metr.RecordPendingTx() usage

* use anonymous fn

* tidy
alcueca pushed a commit that referenced this pull request Feb 7, 2025
* op-service/txmgr: add  TestQueue_Send_MaxPendingMetrics

* SendAsync: simplify m.metr.RecordPendingTx() usage

* use anonymous fn

* tidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-batcher Area: op-batcher A-op-service Area: op-service C-bug Category: bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

op-batcher: pending transactions is never higher than 1
3 participants