Skip to content

[PM-41451] Migrate last files off of AssemblyHelpers.GetVersion() - #8137

Draft
justindbaur wants to merge 8 commits into
mainfrom
migrate-version-endpoint-to-server-sdk-catch-all
Draft

[PM-41451] Migrate last files off of AssemblyHelpers.GetVersion()#8137
justindbaur wants to merge 8 commits into
mainfrom
migrate-version-endpoint-to-server-sdk-catch-all

Conversation

@justindbaur

@justindbaur justindbaur commented Aug 4, 2026

Copy link
Copy Markdown
Member

🎟️ Tracking

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

📔 Objective

This was meant to remove AssemblyHelpers out of the remaining unowned files and then delete it but I realized that I missed a cshtml file that is owned by auth. So this is now an auth and unowned files but it repeats the same pattern used in all other PR's.

📸 Screenshots

@justindbaur justindbaur changed the title Files for Separate Pull Request [PM-41451] Migrate Unowned files off of AssemblyHelpers.GetVersion() Aug 4, 2026
- Remove GetVersion() from SeederApi InfoController; add MapVersionEndpoint() to Startup
- Add Bitwarden.Server.Sdk to SeederApi.csproj so WebEssentials is available
- Replace @using static AssemblyHelpers in Sso _Layout.cshtml with @Inject IBitwardenEnvironment
@justindbaur justindbaur added the t:tech-debt Change Type - Tech debt label Aug 6, 2026
@justindbaur justindbaur changed the title [PM-41451] Migrate Unowned files off of AssemblyHelpers.GetVersion() [PM-41451] Migrate last files off of AssemblyHelpers.GetVersion() Aug 6, 2026
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.14286% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.04%. Comparing base (73ed2f6) to head (a71fb46).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/Admin/Startup.cs 0.00% 5 Missing ⚠️
src/Admin/Controllers/HomeController.cs 0.00% 3 Missing ⚠️
src/Notifications/Startup.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8137       +/-   ##
===========================================
+ Coverage   15.10%   63.04%   +47.93%     
===========================================
  Files        1417     2314      +897     
  Lines       61422   100480    +39058     
  Branches     4901     9040     +4139     
===========================================
+ Hits         9279    63348    +54069     
+ Misses      51978    34946    -17032     
- Partials      165     2186     +2021     

☔ View full report in Codecov by Harness.
📢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:tech-debt Change Type - Tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant