Skip to content

Improvement/bb 721 properly get location in lifecycle metrics#2736

Draft
benzekrimaha wants to merge 7 commits into
improvement/BB-740-monitor-lifecycle-conductorfrom
improvement/BB-721-properly-get-location-in-lifecycle-metrics
Draft

Improvement/bb 721 properly get location in lifecycle metrics#2736
benzekrimaha wants to merge 7 commits into
improvement/BB-740-monitor-lifecycle-conductorfrom
improvement/BB-721-properly-get-location-in-lifecycle-metrics

Conversation

@benzekrimaha
Copy link
Copy Markdown
Contributor

@benzekrimaha benzekrimaha commented Apr 30, 2026

Issue: BB-721

Use archive-aware HeadObject, object metadata, and bucket location fallback to avoid reporting STANDARD when a real lifecycle location is available.

Issue: BB-721
Resolve delete and restored-object expiration metrics from object metadata so restored objects report their cold location.

Issue: BB-721
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 80.37383% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.49%. Comparing base (6967a0b) to head (f9d1347).

Files with missing lines Patch % Lines
extensions/lifecycle/tasks/LifecycleTask.js 77.38% 19 Missing ⚠️
extensions/lifecycle/util/lifecycleLocation.js 90.47% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
...sions/lifecycle/tasks/LifecycleDeleteObjectTask.js 92.30% <100.00%> (+0.04%) ⬆️
extensions/lifecycle/util/lifecycleLocation.js 90.47% <90.47%> (ø)
extensions/lifecycle/tasks/LifecycleTask.js 89.75% <77.38%> (-1.67%) ⬇️

... and 4 files with indirect coverage changes

Components Coverage Δ
Bucket Notification 80.37% <ø> (ø)
Core Library 80.59% <ø> (-0.13%) ⬇️
Ingestion 70.53% <ø> (ø)
Lifecycle 78.92% <80.37%> (+0.03%) ⬆️
Oplog Populator 85.83% <ø> (ø)
Replication 59.61% <ø> (-0.04%) ⬇️
Bucket Scanner 85.76% <ø> (ø)
@@                                Coverage Diff                                 @@
##           improvement/BB-740-monitor-lifecycle-conductor    #2736      +/-   ##
==================================================================================
- Coverage                                           74.51%   74.49%   -0.03%     
==================================================================================
  Files                                                 200      201       +1     
  Lines                                               13659    13754      +95     
==================================================================================
+ Hits                                                10178    10246      +68     
- Misses                                               3471     3498      +27     
  Partials                                               10       10              
Flag Coverage Δ
api:retry 9.04% <0.00%> (-0.07%) ⬇️
api:routes 8.86% <0.00%> (-0.07%) ⬇️
bucket-scanner 85.76% <ø> (ø)
ft_test:queuepopulator 9.01% <0.00%> (-1.04%) ⬇️
ingestion 12.36% <0.00%> (-0.09%) ⬇️
lib 7.54% <0.00%> (-0.05%) ⬇️
notification 1.01% <0.00%> (-0.01%) ⬇️
oplogPopulator 0.14% <0.00%> (-0.01%) ⬇️
replication 18.34% <0.00%> (-0.14%) ⬇️
unit 51.63% <80.37%> (+0.44%) ⬆️

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

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

@benzekrimaha benzekrimaha force-pushed the improvement/BB-740-monitor-lifecycle-conductor branch 3 times, most recently from 9da1c41 to 5561284 Compare May 4, 2026 09:33
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