Skip to content

[PM-21941] Single process unified#5861

Draft
justindbaur wants to merge 8 commits intomainfrom
true-unified
Draft

[PM-21941] Single process unified#5861
justindbaur wants to merge 8 commits intomainfrom
true-unified

Conversation

@justindbaur
Copy link
Copy Markdown
Member

@justindbaur justindbaur commented May 23, 2025

🎟️ Tracking

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

📔 Objective

This is an experiment of running unified as a single process in a single container, hopefully lowering hardware requirements even more.

Goals

  • Runs as a single process inside a container, which means docker logs will be able to view the logs
  • Needs minimal special casing, allows teams to continue to develop the broader application in the same way they've been doing it.
  • Requires fewer resources than the existing unified
  • Most importantly, all the features work.

📸 Screenshots

⏰ 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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.73%. Comparing base (652da96) to head (40476bf).
⚠️ Report is 719 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5861   +/-   ##
=======================================
  Coverage   50.73%   50.73%           
=======================================
  Files        1869     1869           
  Lines       82798    82798           
  Branches     7322     7322           
=======================================
  Hits        42004    42004           
  Misses      39191    39191           
  Partials     1603     1603           

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 23, 2025

Logo
Checkmarx One – Scan Summary & Details11356dc5-ae7b-491e-966f-3b8417077417


New Issues (1) Checkmarx found the following issues in this Pull Request
# Severity Issue Source File / Package Checkmarx Insight
1 HIGH Reflected_XSS src/Unified/Program.cs: 98
detailsThe method embeds untrusted data in generated output with RawText, at line 101 of /src/Unified/Program.cs. This untrusted data is embedded into ...
Attack Vector

Comment thread src/Unified/AssemblyRoutingConvention.cs Outdated
Co-authored-by: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

Comment thread src/Unified/Program.cs
// );
// }

app.MapGet("/endpoints", (EndpointDataSource endpoints, ILoggerFactory loggerFactory) =>
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.

3 participants