8000 [PM-15905] feat: Restructure build info output by vvolkgang · Pull Request #1193 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-15905] feat: Restructure build info output #1193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy sta 8000 tement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 11, 2024
Merged

Conversation

vvolkgang
Copy link
Member
@vvolkgang vvolkgang commented Dec 6, 2024

🎟️ Tracking

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

📔 Objective

Restructure build info output copied from our About view, to reduce vertical space while providing the necessary info required for our team to troubleshoot. All information was retained except CI Run Number, which we can get by navigating to the build source. Compiler flags line is removed if empty and while at it, added the build variant.

New structure:

© Bitwarden Inc. 2015-2024

Version: 2024.6.0 (1)
📱 iPhone17,1 🍏 iOS 18.1 📦 Production
🧱 commit: bitwarden/ios/main@abc123
💻 build source: bitwarden/ios/actions/runs/123/attempts/123
🛠️ compiler flags: DEBUG_MENU

📸 Screenshots

⬅️ Current 🆕 CI Build
image image

⏰ 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 Dec 6, 2024

Logo
Checkmarx One – Scan Summary & Detailse89a2b3f-cead-4963-ad9c-d9390b3e6493

No New Or Fixed Issues Found

@KatherineInCode
Copy link
Contributor

🤔 It does look like the new version won't have some information, and require tapping through to view the run itself on device. Would it be valuable to do both, have a link to the run and still provide all that information for a quick glance?

@vvolkgang vvolkgang changed the title Refactor build info [PM-15905] feat: Restructure build info output Dec 10, 2024
@vvolkgang vvolkgang marked this pull request as ready for review December 10, 2024 21:13
@vvolkgang
Copy link
Member Author

🤔 It does look like the new version won't have some information, and require tapping through to view the run itself on device. Would it be valuable to do both, have a link to the run and still provide all that information for a quick glance?

We discussed this in private, it should convey the same information with the exception of CI Run Number.

Copy link
codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.49%. Comparing base (375fa3b) to head (7da71ed).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...tform/Settings/Settings/About/AboutProcessor.swift 93.75% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1193   +/-   ##
=======================================
  Coverage   89.49%   89.49%           
=======================================
  Files         688      688           
  Lines       43833    43840    +7     
=======================================
+ Hits        39229    39236    +7     
  Misses       4604     4604           

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

Copy link
Member
@fedemkr fedemkr left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@vvolkgang vvolkgang enabled auto-merge (squash) December 10, 2024 22:34
@@ -4,5 +4,5 @@
///
enum CIBuildInfo {
/// Dictionary containing the info generated by the CI process.
static let info: [String: String] = [:]
static let info: KeyValuePairs<String, String> = [:]
Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 I guess we do actually want these in a consistent order each time, huh.

@vvolkgang vvolkgang merged commit b067f62 into main Dec 11, 2024
8 checks passed
@vvolkgang vvolkgang deleted the refactor-build-info branch December 11, 2024 15:00
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
0