Skip to content

Conversation

@mpbw2
Copy link
Contributor

@mpbw2 mpbw2 commented Oct 23, 2025

🎟️ Tracking

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

📔 Objective

Introduce _version.yml and add app-specific tag support to workflows

⏰ 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

codecov bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.80%. Comparing base (bb11b17) to head (6d331a6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6074      +/-   ##
==========================================
+ Coverage   84.78%   84.80%   +0.02%     
==========================================
  Files         720      720              
  Lines       55051    52764    -2287     
  Branches     7653     7653              
==========================================
- Hits        46675    44747    -1928     
+ Misses       5695     5336     -359     
  Partials     2681     2681              

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

Logo
Checkmarx One – Scan Summary & Details00ad66d5-7f76-4ee9-ac67-9d6b12f568bc

Fixed Issues (2)

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

Severity Issue Source File / Package
MEDIUM Use_of_Hardcoded_Password /app/src/test/kotlin/com/x8bit/bitwarden/data/vault/repository/VaultRepositoryTest.kt: 760
MEDIUM Use_of_Hardcoded_Password /app/src/test/kotlin/com/x8bit/bitwarden/data/vault/repository/VaultRepositoryTest.kt: 828

@mpbw2 mpbw2 marked this pull request as ready for review October 23, 2025 19:58
@mpbw2 mpbw2 requested a review from a team as a code owner October 23, 2025 19:58
@mpbw2 mpbw2 enabled auto-merge October 23, 2025 19:58
@mpbw2 mpbw2 requested a review from vvolkgang October 23, 2025 19:59
# Start from 11000 to prevent collisions with mobile build version codes
base_version_number: 11000
version_name: ${{ inputs.version-name }}
version_number: ${{ inputs.version-number }}
Copy link
Contributor

@SaintPatrck SaintPatrck Oct 24, 2025

Choose a reason for hiding this comment

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

I think this should be inputs.version-code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

version-code is definitely more appropriate for android, however the inputs declared in _version.yml are copied from ios and will eventually be shared across both platforms (and possibly others). I assume the terminology was chosen to be as generic as possible, but @vvolkgang can correct me if I'm wrong?

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean shouldn't we be passing inputs.version-code as version-number since that's the input variable defined for this job? (L14)

Suggested change
version_number: ${{ inputs.version-number }}
version_number: ${{ inputs.version-code }}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OH! 🤦 yes, good catch.

app_codename: "bwa"
base_version_number: 0
version_name: ${{ inputs.version-name }}
version_number: ${{ inputs.version-number }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same. This should probably be inputs.version-code?

@github-actions
Copy link
Contributor

Warning

@mpbw2 Uploading code coverage report failed. Please check the "Upload to codecov.io" step of Process Test Reports job for more details.

@mpbw2 mpbw2 added this pull request to the merge queue Oct 27, 2025
Merged via the queue into main with commit 064a98f Oct 27, 2025
11 checks passed
@mpbw2 mpbw2 deleted the PM-22157/independent-version-names branch October 27, 2025 17:54
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