Skip to content

refactor: rename deviceInfo lastUpdated to lastSynced, add firstDiscovered#3443

Merged
sinchubhat merged 1 commit into
mainfrom
issue1394-rpc-go
Jul 17, 2026
Merged

refactor: rename deviceInfo lastUpdated to lastSynced, add firstDiscovered#3443
sinchubhat merged 1 commit into
mainfrom
issue1394-rpc-go

Conversation

@sinchubhat

@sinchubhat sinchubhat commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Aligns DeviceInfo model with console discovery-timestamp changes. Type-only field; not rendered, so no runtime dependency on the API change.

Related to device-management-toolkit/rpc-go#1394

Note:
Kept the sample-web-ui change scoped to the lastUpdated->lastSynced rename (+ firstDiscovered as the timestamp pair). The remaining discovery fields (osName, SKU type, control mode filters, certHashes, etc.) are owned by the Discovery Dashboard work - console#1093 and sample-web-ui#1265 - and should be added there alongside the columns/filters that render them, not speculatively here.

PR Checklist

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?

If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )

…vered

Aligns DeviceInfo model with console discovery-timestamp changes. Type-only field; not rendered, so no runtime dependency on the API change.

Related to device-management-toolkit/rpc-go#1394

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the shared DeviceInfo TypeScript model to match the Console-side discovery timestamp terminology, keeping the change limited to the timestamp pair rename/addition as described in the PR.

Changes:

  • Renamed DeviceInfo.lastUpdated to DeviceInfo.lastSynced
  • Added DeviceInfo.firstDiscovered timestamp field

@sinchubhat
sinchubhat marked this pull request as ready for review July 16, 2026 04:27
@sinchubhat
sinchubhat merged commit f57367f into main Jul 17, 2026
10 checks passed
@sinchubhat
sinchubhat deleted the issue1394-rpc-go branch July 17, 2026 14:08
@RosieAMT

Copy link
Copy Markdown

🎉 This PR is included in version 3.60.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add discovery timestamps to device sync payloads

5 participants