Skip to content

feat(ui): checks in the catalog, build status by folder, and no owner field - #1451

Merged
kvlonge merged 3 commits into
mainfrom
feat/ui-catalog-groups
Nov 13, 2026
Merged

kvlonge merged 3 commits into
mainfrom
feat/ui-catalog-groups

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Why

On a live server the catalog had no way to see check results per node, Overview had no build status by group, and the Owner fields were always empty because projects have no owner setting. Maintenance showed the full run id, which overflowed its column, and the runs list cut job names to a few letters at common window widths.

Changes

  • The catalog listing read now returns per-node check counts (total, passing, warning, failing) from each check's latest result, under the same authorisation as the checks list. The TypeScript client schema is regenerated.
  • The catalog gains a Checks column. Its Group filter becomes a Folder filter on the top-level model folder (?group=), shown only when the target has more than one folder.
  • Overview shows "Build status by folder" (current, changed, behind, failed) on live servers and mock data through one shared function. It is hidden when there are no folders.
  • Owner is removed from the catalog, node page, lineage filter, inspector, card fields, job view and mock data. Saved lineage field settings that include it still load.
  • Maintenance shows the short sqb run id.
  • The runs list gives the What column more room and scrolls sideways on narrow windows instead of squeezing it out.

Verification

  • New server test for per-node check counts on SQLite and PostgreSQL.
  • npm run check and 231 UI tests pass. The client schema check matches.
  • Rendered on sqb dev with DuckShop: Catalog shows Checks and no Owner. Overview lists intermediate, marts, seeds, snapshots and staging, and clicking a folder filters the catalog to it. Runs shows full job names at 1280 px and scrolls at 1024 px.
  • Real data on DuckShop: after renaming a mart with sqb rename and rebuilding, Maintenance lists the rename, and Old names keeps the previous relation with its history.
  • make check-ci passes on the final head.

… no owner field

The catalog read now counts each node's checks by their newest results, so
the catalog lists a Checks column on a live server. Overview's build status
groups the nodes SQLBuild builds by top-level folder, and the catalog filters
by the same folders. Models declare no owner, so the always-empty Owner
fields, filters and lineage card field are gone.
@kvlonge kvlonge added the full-verify Run the full Verify matrix on this pull request label Nov 13, 2026
@kvlonge
kvlonge enabled auto-merge November 13, 2026 16:12
@kvlonge
kvlonge added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit a047997 Nov 13, 2026
99 of 122 checks passed
@kvlonge
kvlonge deleted the feat/ui-catalog-groups branch November 13, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-verify Run the full Verify matrix on this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant