Opening /workflows does more work than the list needs, and it grows with the size of the org:
settings.load (ui/src/stores/settings.ts) fetches the whole control-plane catalog, then every generic resource kind for the org, not just the ones the page reads.
workflow-definitions is one resource per org holding every workflow's full YAML. The list, the editor and every save read or replace the whole collection, so one edit rewrites all of them, and the live control-plane stream pushes the whole document on any change. Drafts are the same.
/api/workflows (per-workflow statistics) is refetched on every task change, throttled to 5s, for every open dashboard.
Done when:
the list loads names and summary stats only, paged by the server;
a workflow's definition, draft and history load when it is opened, and a save writes that workflow alone;
pages load only the resources they read;
a seeded org with 50+ workflows opens the list without fetching any definition YAML.
Opening /workflows does more work than the list needs, and it grows with the size of the org:
- `settings.load` (ui/src/stores/settings.ts) fetches the whole control-plane catalog, then every generic resource kind for the org, not just the ones the page reads.
- workflow-definitions is one resource per org holding every workflow's full YAML. The list, the editor and every save read or replace the whole collection, so one edit rewrites all of them, and the live control-plane stream pushes the whole document on any change. Drafts are the same.
- /api/workflows (per-workflow statistics) is refetched on every task change, throttled to 5s, for every open dashboard.
Done when:
- the list loads names and summary stats only, paged by the server;
- a workflow's definition, draft and history load when it is opened, and a save writes that workflow alone;
- pages load only the resources they read;
- a seeded org with 50+ workflows opens the list without fetching any definition YAML.
sam
added the mediumtask labels 2026-11-14 14:45:41 +00:00
sam
added the deferred label 2026-11-15 17:26:09 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Opening /workflows does more work than the list needs, and it grows with the size of the org:
settings.load(ui/src/stores/settings.ts) fetches the whole control-plane catalog, then every generic resource kind for the org, not just the ones the page reads.Done when: