Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #27308 +/- ##
========================================
Coverage 63.89% 63.89%
========================================
Files 1731 1733 +2
Lines 164610 165049 +439
Branches 4412 4412
========================================
+ Hits 105175 105457 +282
- Misses 51267 51384 +117
- Partials 8168 8208 +40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| MigrationClient.AddMigration(Up_20250318165922, Down_20250318165922) | ||
| } | ||
|
|
||
| func Up_20250318165922(tx *sql.Tx) error { |
There was a problem hiding this comment.
Just double-checking as it is already included in the PR checklist, but have you tested if/how this migration will any impact existing time-based comparisons related to profile delivery, reconciliation, verification, etc.?
For example, in the UPDATE statement should we preserve the hmwp.updated_at timestamp in line 31?
I don't recall offhand whether ALTER statements themselves causes ON UPDATE to fire so it may be worth a quick test to confirm that as well.
There was a problem hiding this comment.
ALTER statements don't cause ON UPDATE to fire. I checked this before.
The updated_at column is new here, and is only here for debug/auditing. It is not used in the code. So, it is OK for it to be updated when setting checksum.
| }) | ||
| } | ||
|
|
||
| // TestWindowsProfileResent verifies that a Windows profile is resend when its contents have been modified. |
There was a problem hiding this comment.
Nit:
| // TestWindowsProfileResent verifies that a Windows profile is resend when its contents have been modified. | |
| // TestWindowsProfileResent verifies that a Windows profile is resent when its contents have been modified. |
There was a problem hiding this comment.
Thanks. Will add to next PR.
For #25030
This PR includes the bug fix and tests.
It also includes the
secrets_updated_atcolumns needed for story #27351. These columns are currently unused and always NULL.Checklist for submitter
changes/,orbit/changes/oree/fleetd-chrome/changes.See Changes files for more information.
COLLATE utf8mb4_unicode_ci).