Repository navigation
refactor(os-update): rename the row of an update on a device to OsUpdateOnDevice CU-17tkuw67mjh - #3348
Conversation
…ateOnDevice CU-17tkuw67mjh OsUpdateDevice read as "a device"; it is one row per update on one device. Renamed with its repositories, services, status enum, status count and response, and the GraphQL types OsUpdateDevice, its connection and edge, and the enum OsUpdateDeviceStatus. The collection os_update_devices, its indexes and the queries osUpdateDevices / osUpdateDeviceFilters keep their names. No behaviour change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EnBSFTsNdA8c4yRH3Lehi4
🦩 flamingo Code Review5 findings: 🔴 1 action required · 🟠 0 recommended · 🔵 4 informational Advisory: findings do not block the merge. Rules cited:
🔴 Action required (1)
🔵 Informational (4)
✅ What this change does well
Inline comments: 5 new 13 possible problems checked and ruled out
🤖 Prompt for AI agents: fix every findingNext: commit a suggestion, or hand a comment's prompt to your coding agent. React 👍 on a finding that helped and 👎 on one that is wrong: the reviewer learns from both. Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-04 12:23 UTC · reviewed from Semen Lisak's machine |
🦩 flamingo Code Review / security✅ No findings on the current head. Advisory: findings do not block the merge.
Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-04 12:26 UTC · reviewed from Semen Lisak's machine |
What
Rename only, no behaviour change.
OsUpdateDeviceread as "a device", while it is one stored row per update on one device with its status there. It is read from both sides (the devices of an update, the updates of a device), so the name now says what the row is.OsUpdateDevice(document)OsUpdateOnDeviceOsUpdateDeviceStatus(enum)OsUpdateOnDeviceStatusOsUpdateDeviceStatusCountOsUpdateOnDeviceStatusCountOsUpdateDeviceRepository,CustomOsUpdateDeviceRepository,…ImplOsUpdateOnDeviceRepository,CustomOsUpdateOnDeviceRepository,…ImplOsUpdateDeviceService(client-core writes the rows, api-lib reads them; beanapiOsUpdateDeviceService)OsUpdateOnDeviceService(beanapiOsUpdateOnDeviceService)OsUpdateDeviceResponseOsUpdateOnDeviceResponseosUpdateDeviceRepository,replaceOsUpdateDevices, …)OnDeviceThe document also gets a class comment: what the row is, what it is derived from, and that it is read from both sides.
Schema (breaking, no client calls it yet)
OsUpdateDeviceOsUpdateOnDeviceOsUpdateDeviceConnectionOsUpdateOnDeviceConnectionOsUpdateDeviceEdgeOsUpdateOnDeviceEdgeOsUpdateDeviceStatusOsUpdateOnDeviceStatusFields, arguments and enum values are unchanged. The tenant federation snapshot changes with the next lib bump; these renames show there as breaking.
Not renamed
os_update_devicesand its indexes: no data migration.osUpdateDevicesandosUpdateDeviceFilters, and the types named after them (OsUpdateDeviceFilterInput,OsUpdateDeviceFilters,OsUpdateDeviceFilter): they are about the devices of an update.OsUpdateDeviceCounts,OsUpdateDeviceScopeand the data loader: the device counts and the device scope of an update, not the row.docs/: the generated architecture pages still carry the old names.Tests
Change-Set: feat-os-update-on-device-rename
🤖 Generated with Claude Code
https://claude.ai/code/session_01EnBSFTsNdA8c4yRH3Lehi4
Change set
flamingo-stack/feat-os-update-on-device-rename: this pull request is the only one in it so far. Another pull request joins by naming this one in aDepends-Online, or by carrying the sameChange-Setline.Linked work
Linked by the
Depends-On/Change-Setlines in these descriptions; this block is maintained by the hub.