Skip to content

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented May 27, 2025

🎟️ Tracking

bitwarden.atlassian.net/browse/PM-13374

📔 Objective

For when bitwarden/sdk-internal#293 is merged.

⏰ 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

Comment on lines +103 to +106
id: "id" as any,
organizationId: "orgId" as any,
folderId: "folderId" as any,
collectionIds: ["collectionId" as any],
Copy link
Member Author

Choose a reason for hiding this comment

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

These should probably be actual UUIDs.

Copy link
Contributor

github-actions bot commented May 27, 2025

Logo
Checkmarx One – Scan Summary & Details16c324c4-3098-46b6-b2f4-3676bcfa86b6

Fixed Issues (53)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
CRITICAL CVE-2024-40643 Npm-htmlparser2-3.10.1
CRITICAL CVE-2025-7783 Npm-form-data-3.0.3
CRITICAL CVE-2025-7783 Npm-axios-1.10.0
HIGH CVE-2025-47935 Npm-multer-1.4.5-lts.2
HIGH CVE-2025-47944 Npm-multer-1.4.5-lts.2
HIGH CVE-2025-48997 Npm-multer-1.4.5-lts.2
HIGH CVE-2025-5068 Npm-electron-36.4.0
HIGH CVE-2025-5280 Npm-electron-36.4.0
HIGH CVE-2025-5419 Npm-electron-36.4.0
HIGH CVE-2025-5958 Npm-electron-36.4.0
HIGH CVE-2025-5959 Npm-electron-36.4.0
HIGH CVE-2025-6191 Npm-electron-36.4.0
HIGH CVE-2025-6192 Npm-electron-36.4.0
HIGH CVE-2025-6558 Npm-electron-36.4.0
HIGH CVE-2025-7338 Npm-multer-1.4.5-lts.2
HIGH CVE-2025-7656 Npm-electron-36.4.0
HIGH CVE-2025-7657 Npm-electron-36.4.0
HIGH CVE-2025-8010 Npm-electron-36.4.0
HIGH CVE-2025-8011 Npm-electron-36.4.0
HIGH CVE-2025-8292 Npm-electron-36.4.0
HIGH CVE-2025-8576 Npm-electron-36.4.0
HIGH CVE-2025-8578 Npm-electron-36.4.0
HIGH CVE-2025-8879 Npm-electron-36.4.0
HIGH CVE-2025-8880 Npm-electron-36.4.0
HIGH CVE-2025-8882 Npm-electron-36.4.0
HIGH CVE-2025-8901 Npm-electron-36.4.0
HIGH CVE-2025-9132 Npm-electron-36.4.0
HIGH Cx39aef355-ca85 Npm-@eslint/plugin-kit-0.2.8
HIGH Cxdca8e59f-8bfe Npm-inflight-1.0.6
MEDIUM CVE-2025-30359 Npm-webpack-dev-server-5.2.0
MEDIUM CVE-2025-30360 Npm-webpack-dev-server-5.2.0
MEDIUM CVE-2025-5064 Npm-electron-36.4.0
MEDIUM CVE-2025-5065 Npm-electron-36.4.0
MEDIUM CVE-2025-5066 Npm-electron-36.4.0
MEDIUM CVE-2025-5281 Npm-electron-36.4.0
MEDIUM CVE-2025-5283 Npm-electron-36.4.0
MEDIUM CVE-2025-6555 Npm-electron-36.4.0
MEDIUM CVE-2025-6556 Npm-electron-36.4.0
MEDIUM CVE-2025-6557 Npm-electron-36.4.0
MEDIUM CVE-2025-8129 Npm-koa-2.16.1
MEDIUM CVE-2025-8577 Npm-electron-36.4.0
MEDIUM CVE-2025-8579 Npm-electron-36.4.0
MEDIUM CVE-2025-8580 Npm-electron-36.4.0
MEDIUM CVE-2025-8581 Npm-electron-36.4.0
MEDIUM CVE-2025-8582 Npm-electron-36.4.0
MEDIUM CVE-2025-8583 Npm-electron-36.4.0
MEDIUM CVE-2025-8881 Npm-electron-36.4.0
LOW CVE-2025-54798 Npm-tmp-0.0.33
LOW CVE-2025-54798 Npm-tmp-0.2.3
LOW CVE-2025-7339 Npm-on-headers-1.0.2
LOW Cx8bc4df28-fcf5 Npm-debug-2.6.9
LOW Cx8bc4df28-fcf5 Npm-debug-3.2.7
LOW Cxda14f253-4e52 Npm-bluebird-3.7.2

Base automatically changed from coroiu/fix-broken-sdk-missing-user-id to main May 27, 2025 12:31
# Conflicts:
#	libs/common/src/platform/services/sdk/default-sdk.service.ts
Copy link

@Hinton Hinton marked this pull request as ready for review June 5, 2025 07:55
@Hinton Hinton requested review from a team as code owners June 5, 2025 07:55
@Hinton
Copy link
Member Author

Hinton commented Jun 5, 2025

Opening this for review in since we'd want an initial pass before merging the SDK change.

@Hinton Hinton changed the title Update all SDK uuids [PM-13374] Update all SDK uuids Jun 5, 2025
Copy link
Contributor

@coroiu coroiu left a comment

Choose a reason for hiding this comment

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

There's a bunch of failing tests, are those because of the SDK code missing?

@Hinton
Copy link
Member Author

Hinton commented Jun 10, 2025

Yes, the tests will work after we bump the sdk version

# Conflicts:
#	libs/common/src/platform/services/sdk/default-sdk.service.ts
#	libs/common/src/vault/models/domain/cipher.ts
#	libs/common/src/vault/models/view/cipher.view.ts
@Hinton Hinton requested a review from a team as a code owner August 22, 2025 10:33
@Hinton Hinton requested a review from BTreston August 22, 2025 10:33
Copy link

Copy link

codecov bot commented Aug 22, 2025

Codecov Report

❌ Patch coverage is 30.76923% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.92%. Comparing base (7aca0cd) to head (c4ff021).
⚠️ Report is 65 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../src/app/vault/individual-vault/vault.component.ts 0.00% 9 Missing ⚠️
libs/common/src/vault/models/domain/cipher.ts 14.28% 0 Missing and 6 partials ⚠️
libs/common/src/vault/models/view/cipher.view.ts 16.66% 0 Missing and 5 partials ⚠️
...-container/vault-list-items-container.component.ts 0.00% 3 Missing ⚠️
libs/common/src/vault/services/search.service.ts 0.00% 3 Missing ⚠️
...op/src/vault/app/vault/vault-items-v2.component.ts 0.00% 2 Missing ⚠️
...lt/components/vault-items/vault-items.component.ts 0.00% 2 Missing ⚠️
...popup/services/vault-popup-list-filters.service.ts 75.00% 0 Missing and 1 partial ⚠️
...ollection-badge/collection-name.badge.component.ts 50.00% 1 Missing ⚠️
...n/src/platform/services/sdk/default-sdk.service.ts 50.00% 1 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14962      +/-   ##
==========================================
- Coverage   36.92%   36.92%   -0.01%     
==========================================
  Files        3170     3170              
  Lines       92167    92181      +14     
  Branches    13818    13820       +2     
==========================================
+ Hits        34037    34040       +3     
- Misses      56749    56760      +11     
  Partials     1381     1381              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gbubemismith gbubemismith merged commit e0da267 into main Aug 29, 2025
99 checks passed
@gbubemismith gbubemismith deleted the arch/uuids branch August 29, 2025 17:09
@nick-livefront nick-livefront mentioned this pull request Aug 29, 2025
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.

5 participants