Skip to content

Conversation

@addisonbeck
Copy link
Contributor

@addisonbeck addisonbeck commented Nov 25, 2024

🎟️ Tracking

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

📔 Objective

In previous commits a LastActivityDate field was added to the database. This commit implements that column by writing the current date whenever an installation refreshes its token for push relay.

📸 Screenshots

demo_720.mov

⏰ 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

@addisonbeck addisonbeck changed the base branch from main to platform/addison/PM-11129/installation-activity-column November 25, 2024 19:22
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch 2 times, most recently from 9e88cdc to c75ad00 Compare November 25, 2024 19:23
@codecov
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 50.76923% with 32 lines in your changes missing coverage. Please review.

Project coverage is 43.70%. Comparing base (cd7c4bf) to head (4dcf260).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...onActivityDateCommand/UpdateInstallationCommand.cs 48.38% 14 Missing and 2 partials ⚠️
...r/RequestValidators/CustomTokenRequestValidator.cs 41.17% 9 Missing and 1 partial ⚠️
...eries/GetInstallationQuery/GetInstallationQuery.cs 40.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5081   +/-   ##
=======================================
  Coverage   43.70%   43.70%           
=======================================
  Files        1469     1472    +3     
  Lines       67901    67963   +62     
  Branches     6156     6161    +5     
=======================================
+ Hits        29673    29703   +30     
- Misses      36934    36963   +29     
- Partials     1294     1297    +3     

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2024

Logo
Checkmarx One – Scan Summary & Detailse0fbc889-a03e-48c7-8f3f-49ddb19888bb

No New Or Fixed Issues Found

@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch 6 times, most recently from da7f372 to 3c89f31 Compare November 26, 2024 00:35
@addisonbeck addisonbeck changed the base branch from platform/addison/PM-11129/installation-activity-column to platform/addison/PM-11129/codeownership-assignments November 26, 2024 00:36
@addisonbeck addisonbeck changed the base branch from platform/addison/PM-11129/codeownership-assignments to platform/addison/PM-11129/codeowners November 26, 2024 00:36
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch 2 times, most recently from 0517a00 to c785e42 Compare November 26, 2024 00:44
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch from 3c89f31 to 18fb3b1 Compare November 26, 2024 00:44
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch from c785e42 to 15200dd Compare November 26, 2024 16:55
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch 7 times, most recently from 15b2557 to 5db4a74 Compare December 2, 2024 19:54
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch 4 times, most recently from 3681561 to a99393b Compare December 3, 2024 18:08
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch from 5db4a74 to 1a19adf Compare December 3, 2024 18:11
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch from a99393b to 80d9f02 Compare December 3, 2024 18:33
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch 2 times, most recently from 6a6bd09 to 863b401 Compare December 4, 2024 22:40
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2024

LaunchDarkly flag references

🔍 1 flag added or modified

Name Key Aliases found Info
installation-last-activity-date installation-last-activity-date

@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch from 4d1fe89 to 5e59227 Compare December 4, 2024 22:43
@addisonbeck addisonbeck changed the title chore: update Installation.LastActivityDate on installation token refresh chore: update LastActivityDate on installation token refresh Dec 4, 2024
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch from 5e59227 to e761431 Compare December 4, 2024 22:45
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch from a7d904a to 75bd011 Compare December 10, 2024 17:30
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/codeowners branch 7 times, most recently from 6ab06c5 to c3a3951 Compare January 3, 2025 17:02
Base automatically changed from platform/addison/PM-11129/codeowners to main January 6, 2025 17:10
@addisonbeck addisonbeck force-pushed the platform/addison/PM-11129/implementation branch from e761431 to 4dcf260 Compare January 6, 2025 18:05
@addisonbeck addisonbeck marked this pull request as ready for review January 6, 2025 18:14
@addisonbeck addisonbeck requested review from a team as code owners January 6, 2025 18:14
@addisonbeck addisonbeck requested review from coroiu, ike-kottlowski and tangowithfoxtrot and removed request for coroiu January 6, 2025 18:14
Copy link
Contributor

@ike-kottlowski ike-kottlowski left a comment

Choose a reason for hiding this comment

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

Auth changes are good.

@addisonbeck addisonbeck enabled auto-merge (squash) January 6, 2025 19:52
Copy link
Contributor

@tangowithfoxtrot tangowithfoxtrot left a comment

Choose a reason for hiding this comment

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

LGTM

@addisonbeck addisonbeck merged commit 90f7bfe into main Jan 6, 2025
53 checks passed
@addisonbeck addisonbeck deleted the platform/addison/PM-11129/implementation branch January 6, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants