Skip to content

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Sep 5, 2025

🎟️ Tracking

📔 Objective

We discovered that any non login item were not imported correctly.

⏰ 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

Copy link
Contributor

github-actions bot commented Sep 5, 2025

Logo
Checkmarx One – Scan Summary & Details17dc919b-84de-4836-aac7-b8b1657193b8

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

Copy link

codecov bot commented Sep 5, 2025

Codecov Report

❌ Patch coverage is 94.44444% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.91%. Comparing base (d2ef415) to head (ffbfbc7).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/bitwarden-exporters/src/lib.rs 94.33% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #429      +/-   ##
==========================================
+ Coverage   76.52%   76.91%   +0.38%     
==========================================
  Files         269      269              
  Lines       25312    25559     +247     
==========================================
+ Hits        19371    19659     +288     
+ Misses       5941     5900      -41     

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

@Hinton Hinton marked this pull request as ready for review September 5, 2025 11:16
@Hinton Hinton requested a review from a team as a code owner September 5, 2025 11:16
@Hinton Hinton requested a review from coroiu September 5, 2025 11:16
@Hinton Hinton requested a review from dani-garcia September 9, 2025 15:10
Copy link

sonarqubecloud bot commented Sep 9, 2025

})
}
_ => None,
let (cipher_type, login, identity, card, secure_note, ssh_key) = match value.r#type {
Copy link
Member

Choose a reason for hiding this comment

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

Using so many optional values in a tuple is fairly noisy, I wonder if we're not better off just having mutable values:

        let mut login = None;
        let mut identity = None;
        ...

        let cipher_type = match value.r#type {
            CipherType::Login(l) => {
                login = Some((*l).into());
                bitwarden_vault::CipherType::Login
            },
            CipherType::Identity(l) => { ... }
      }

Copy link
Member Author

Choose a reason for hiding this comment

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

It is, I do want us to rework the vault types though and I think the current structure aligns better with that then making it mutable?

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.

2 participants