Skip to content

Conversation

@kdenney
Copy link
Contributor

@kdenney kdenney commented Nov 20, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-28265

📔 Objective

Job to reconcile storage amounts and endpoints to trigger for testing.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

stage 3

stage 4

stage 5

final draft

only allow in lower envs

claude pr feedback

tests

claude feedback

improvements
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Logo
Checkmarx One – Scan Summary & Details8fcd4903-ccec-49b7-a11e-f7f16446dd7b

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 62.32558% with 81 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.10%. Comparing base (59b6cd0) to head (71dec86).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/Billing/Jobs/JobsHostedService.cs 0.00% 37 Missing ⚠️
src/Billing/Controllers/JobsController.cs 0.00% 16 Missing ⚠️
src/Billing/Jobs/ReconcileAdditionalStorageJob.cs 91.78% 9 Missing and 3 partials ⚠️
...Core/Utilities/RequireLowerEnvironmentAttribute.cs 0.00% 8 Missing ⚠️
src/Billing/Jobs/AliveJob.cs 0.00% 7 Missing ⚠️
...c/Billing/Services/Implementations/StripeFacade.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6615      +/-   ##
==========================================
+ Coverage   52.98%   53.10%   +0.11%     
==========================================
  Files        1909     1902       -7     
  Lines       84828    84850      +22     
  Branches     7634     7631       -3     
==========================================
+ Hits        44948    45057     +109     
+ Misses      38127    38042      -85     
+ Partials     1753     1751       -2     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kdenney kdenney marked this pull request as ready for review November 21, 2025 19:26
@kdenney kdenney requested a review from a team as a code owner November 21, 2025 19:26
@claude
Copy link
Contributor

claude bot commented Nov 21, 2025

Claude Code is working…

I'll analyze this and get back to you.

View job run

Copy link
Contributor

@amorask-bitwarden amorask-bitwarden left a comment

Choose a reason for hiding this comment

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

Looking great - just had a couple questions.

hasUpdates = true;
var currentQuantity = item.Quantity;

if (currentQuantity > 4)
Copy link
Contributor

@cyprain-okeke cyprain-okeke Nov 24, 2025

Choose a reason for hiding this comment

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

Nice Work! Can we move the magic number 4 to a constant in the class? This would make it clearer what this value represents and easier to change if needed.

@kdenney kdenney merged commit 931f0c6 into main Nov 24, 2025
42 of 43 checks passed
@kdenney kdenney deleted the billing/PM-28265/remove-storage-addons-job branch November 24, 2025 22:11
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.

4 participants