Skip to content

Refresh time_last_modified when an address is updated - #7569

Merged
jo merged 1 commit into
mozilla:mainfrom
DimiDL:address-update-time-last-modified
Sep 1, 2026
Merged

Refresh time_last_modified when an address is updated#7569
jo merged 1 commit into
mozilla:mainfrom
DimiDL:address-update-time-last-modified

Conversation

@DimiDL

@DimiDL DimiDL commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

update_address wrote the content columns but left time_last_modified at its creation value, unlike update_credit_card and update_passport.

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

update_address wrote the content columns but left time_last_modified at its
creation value, unlike update_credit_card and update_passport.

The field is uploaded in the outgoing sync payload and read by consumers such
as Firefox Desktop, so a stale value makes a freshly edited address look
untouched. It does not decide sync conflicts -- address content is merged
field-by-field against the mirror -- so this changes what the timestamp
reports, not which record wins.
@jo

jo commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

btw I just opened this pr, which sanitizes timestamps - maybe a similar thing would help here, too?

@jo
jo added this pull request to the merge queue Sep 1, 2026
Merged via the queue into mozilla:main with commit bcd3a8d Sep 1, 2026
14 checks passed
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