Repository navigation
chore(chart): the dispatcher's grace period and memory, measured (#820) - #1353
Merged
Merged
Conversation
#645 lowered er-dispatcher's grace to 60s and memory to 256Mi/768Mi by reasoning. Measured on er-dev: across four run_all_full runs (S, M, L and one more) the cgroup working set peaked at 8.5 MiB; a rollout restart mid-ingest was serving again in 4s, the run finished every stage succeeded with one launch each, and nothing was left dispatching or running. Both settings stand; the comments now record the measurement. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
temporarily deployed
to
marketing-preview
November 28, 2026 21:46 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Closes #820
The
dispatcherblock invalues.yamlrecords the measured grace drain and memory peak beside the settings they justify. No setting changes.#820: #645's 60s grace and 256Mi/768Mi were argued from mechanism; the ticket asks for a measurement, recorded in the comment.
Proof
Measured on er-dev
ci, 2026-11-28 14:34–14:47 UTC:memory.current − inactive_file), sampled every 3s bykubectl exec, overrun_all_fullat S (63s wall), M (58s) and L (107s, runner-lc5ad.4xlarge), plus a fourth run with the restart below. Peak 8.5 MiB on every dispatcher pod the window saw (5 pods, as deploys and the restart rolled it; ~5,200 samples).kubectl rollout restart deploy/er-dispatcherat 14:46:08 whileingestwas running; new pod serving at 14:46:12; the run settledsucceededin 52s with all eight stagessucceededandlaunches == 1; the org's job list then held norunning/dispatchingjob (8 succeeded, and one failed from 2026-11-27 — the pre-run_all_full fails at init on a lake behind the catalog — the job does not reconcile the lake first #1288 stale-lake error, before this window).Risk & rollback
Comments only.
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:24d16c2e-fec6-49d8-9797-060338df4848onbrians-MacBook-Pro· 2026-11-28T22:20:32Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not: — abe153c, rust 46193244848 + frontend 46193244834 success
imagesbuilt, or correctly never ran because nothing that goes intoan image changed: — success, run 46193244865 (a chart-values comment, no code change)
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: — run 46193261519 success; the settings are unchanged, only their comments
deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: — infra, devcontainer success on abe153c
Donethrough the automation rather than byhand, and the issue closed: — Verify the dispatcher's reduced resources under load (grace 60s, memory 768Mi) #820 CLOSED by chore(chart): the dispatcher's grace period and memory, measured (#820) #1353 via automation
(a skill, a reference, memory) — or nothing new was learned: — the dispatcher's whole resident set is ~8.5 MiB; a linked-but-unused DuckDB costs nothing resident
Specific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
p3live, resumed for the measurement and suspended again afterwards.Measurements
Files
🤖 Generated with Claude Code