Skip to content

Feat: move work order relocates the device atomically#99

Closed
mukama wants to merge 3 commits into
tetherto:developfrom
mukama:feat/wo-move-atomic-relocation
Closed

Feat: move work order relocates the device atomically#99
mukama wants to merge 3 commits into
tetherto:developfrom
mukama:feat/wo-move-atomic-relocation

Conversation

@mukama

@mukama mukama commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

mukama added 3 commits June 17, 2026 16:25
Replace magic enum values [3, 4] and [1, 2, 3, 4] with the existing
WORK_ORDER_TYPES constant, addressing PR tetherto#98 review feedback.
A type-2 (move) work order auto-closes on creation, so it must perform the relocation itself — otherwise the closed WO records a move that never happened. createWorkOrder and createWorkOrdersBatch reuse submitWorkOrderAction (now taking an optional rackId) to push an updateThing to the part's own rack before recording the WO.

Claude-Session: https://claude.ai/code/session_01Hk3GYz4TPiRmSs3Qmvv27V
@mukama mukama force-pushed the feat/wo-move-atomic-relocation branch from 3d0f4ae to 1882ba3 Compare June 18, 2026 10:33
@mukama

mukama commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Folded into #98 — the atomic-move commit (1882ba3) now sits on top of that branch. Closing in favor of #98.

@mukama mukama closed this Jun 18, 2026
@mukama mukama deleted the feat/wo-move-atomic-relocation branch June 18, 2026 11:28
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.

1 participant