Skip to content

follow-up: minor review findings from train PR #21028 for company-os work items (#20947) #21032

Closed
1 of 2 issues completed

Description

@mrveiss

Minor review findings from train PR #21028 on the Company OS work-item changes (#20947). Parent: #20930.

  • autobot-backend/llc/services/work_item_hierarchy.py move_subtree_to_project: update descendants in bounded batches in the same transaction (a single IN (...) over more than 32,767 ids exceeds the driver's bind-parameter limit).
  • autobot-backend/llc/tests/test_work_item_hierarchy_18978.py: add a test that a failing later descendant query leaves no subtree update issued (discovery completes before any write).
  • autobot-backend/tests/unit/llc/test_checkout_excludes_user_assigned_15964.py: add a behavioural test that checking out an unlocked user-assigned item returns a null user id, the agent id, and the agent assignee type.
  • autobot-frontend/src/composables/llc/useBacklogItems.ts: guard response writes and isLoading by request sequence so a superseded company/project response cannot overwrite the newer list.
  • useBacklogItems.ts / BacklogView.vue: show a distinct fetch-failure state with retry; fetchBacklog() returning false is ignored by the mount, filter-change and company-change callers, so a failure reads as "No items match".
  • autobot-frontend/src/views/llc/BacklogView.vue: clear the create-refresh warning on company change and keep an earlier refresh from restoring it.
  • autobot-frontend/src/views/llc/KanbanBoardView.vue: on a refused move, roll back the current card (not the object captured before an onItemUpdated replacement), preserving newer live updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: company-osWave 4 · cluster A — Company OS & LLC canvasbackendfrontendneeds-ac-evidenceClosed by a merge keyword; awaits an AC evidence table comment (#19520)phase:M2.3Goals and work hierarchy

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions