Files
cc-backend/web/frontend
Jan Eitzinger d586fe4b43 Optimize usage dashboard: partial indexes, request cache, parallel histograms
- Add migration 14: partial covering indexes WHERE job_state='running'
  for user/project/subcluster groupings (tiny B-tree vs full table)
- Inline literal state value in BuildWhereClause so SQLite matches
  partial indexes instead of parameterized placeholders
- Add per-request statsGroupCache (sync.Once per filter+groupBy key)
  so identical grouped stats queries execute only once per GQL operation
- Parallelize 4 histogram queries in AddHistograms using errgroup
- Consolidate frontend from 6 GQL aliases to 2, sort+slice top-10
  client-side via $derived

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 5b26a6e5ff10
2026-03-13 14:31:37 +01:00
..
2026-03-10 18:15:24 +01:00
2026-03-10 18:15:24 +01:00
2026-02-10 09:17:34 +01:00

cc-frontend

Build

A frontend for ClusterCockpit and cc-backend. Backend specific configuration can be done using the constants defined in the intro section in ./rollup.config.mjs.

Builds on:

Get started

Install the dependencies...

npm install

...then build using Rollup:

npm run build