Skip to content

feat(software-actions): the ACTION column: kind on each row, kinds filter and facet, device tag filter CU-17tkuw61fh5 - #2874

Merged
andrii-flamingo merged 2 commits into
mainfrom
feat/software-action-kind
Oct 29, 2026
Merged

andrii-flamingo merged 2 commits into
mainfrom
feat/software-action-kind

Conversation

@andrii-flamingo

@andrii-flamingo andrii-flamingo commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

ClickUp task: CU-17tkuw61fh5 BE: Software lists — server-side paging/sort/filter for the fields the UI needs

Resolvers for part of the #2849 contract. SoftwareActionRun.kind and SoftwareActionFilters.kinds are non-null and had none, so a query selecting them failed.

Change

  • Domain enum SoftwareActionKind (INSTALL / UPDATE / AUTO_UPDATE / ADOPT); SoftwareAction.kind() maps INSTALL / UPDATE.
  • SoftwareActionResult.kind, written by SoftwareBundleService on every new row.
  • Aggregation projects kind, falling back to action for rows written before it (same names, no backfill).
  • kinds filter in the first $match (rows without kind match on action) and a kinds facet. Upcoming schedules take the kind of their action, in the list, the filter and the facet.
  • softwareActionExecutions(filter: {deviceTagIds}): one tag-assignment query over the action's devices; a device matches when it carries any of the tags.
  • SoftwareActionDevice.kind stays null until Adopt exists.

Testing

Unit tests for the service (kind on executed and scheduled rows, kinds facet, kinds filter on schedules), the detail service (device tag filter, no lookup without one) and the bundle writer. SoftwareActionAggregationRepositoryImplIT against Mongo: kind fallback for old rows, kinds filter and facet.

Change-Set: software-lists

Change set flamingo-stack/software-lists: this pull request is the only one in it so far. Another pull request joins by naming this one in a Depends-On line, or by carrying the same Change-Set line.

  • flamingo-stack/openframe-oss-lib#2874 (this pull request): feat(software-actions): the ACTION column: kind on each row, kinds filter and facet, device tag filter CU-17tkuw61fh5 · landed

Linked work

Linked by the Depends-On / Change-Set lines in these descriptions; this block is maintained by the hub.

…h row, kinds filter and facet, device tag filter
@github-actions

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

Not reviewed yet. Reviews start when you ask, so the reviewer reads this pull request when it is ready, not when it is opened.

When it is ready:

  • Review this pull request

Or comment @flamingo-review. Add the flamingo-review-always label to review every push.

Updated 2026-10-29 11:05 UTC · workflow run

@andrii-flamingo
andrii-flamingo added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit c83fe90 Oct 29, 2026
19 checks passed
@andrii-flamingo
andrii-flamingo deleted the feat/software-action-kind branch October 29, 2026 11:18
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