Live WebSocket updates (#345) + /evaluate param-overflow fix + Job Board issues (#341) - #353
Merged
Conversation
Large evaluations and restart_failed funneled tens of thousands of ids into a single is_in, overflowing with "too many arguments for query". Add fetch_in_chunks/for_each_chunk and apply to every workload-scaled is_in across core, scheduler and web; regression test exceeds the cap.
The option documented requiring the experimental feature but never enabled it on the daemon.
Move BoardEvent + its broadcast sender onto ServerState so DB status
helpers emit evaluation/build/cache changes alongside the scheduler's
queue/worker events. Add scope-filtered /projects/{org}/{project}/live,
/evals/{id}/live, /builds/{id}/live and /board/cache/live channels for
the frontend to refetch on, replacing fixed-interval polling.
Sortable HTTP routes, filterable-but-live Live Jobs, clickable undispatched jobs, job 'Current State' + clickable build-id popup, and an 'Exclude acknowledged' tooltip.
Enabling cgroup build metrics needs the `cgroups` experimental feature plus `use-cgroups = true`, not a `use-cgroups` experimental feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#345 replace HTTP polling with live WebSockets
Per-resource WS channels (
/projects/{org}/{project}/live,/evals/{id}/live,/builds/{id}/live,/board/cache/live);BoardEvent+ its broadcast sender move ontoServerStateso DB status helpers emit evaluation/build/cache changes. FrontendLiveService(auto-reconnect) drives project-detail, evaluation-log, dependency-graph and cache off their 3–5s timers onto refetch-on-change.Bug
POST /evaluate500too many arguments for query: 106386Postgres caps bind params at 65535;
find_active_leadersand ~30 other workload-scaled.is_in(...)sites overflowed on large monorepos. Addedfetch_in_chunks/for_each_chunkand swept core/scheduler/web. Regression test drives 70k ids and asserts no statement exceeds the cap.