Repository navigation
fix(executor): launch each task with its own class's template — every class ran as S (#649) - #1289
Merged
Merged
Conversation
… class ran as S (#649) The chart renders one Job template per class (task-template-{S,M,L}.yaml) but the dispatcher was pointed at task-template-S.yaml alone, a Phase 2 stopgap that never got its Phase 3 follow-up. So every attempt — M and L included — launched with S's requests (2 cpu, 6Gi, 40Gi spill) on the runner-sm nodepool, while its task row and Job label said M or L. Observed on er-dev 2026-11-27: p3live's run_all_full ran at "M" on one c5d.2xlarge spot runner-sm node; the retained Job for an "M" task requested 2 cpu / 6Gi / 40Gi; clearing `match` at class L re-ran match→finish as "L" on that same 8-vCPU node, which an L pod (12 cpu) cannot fit. The executor now loads every task-template-<class>.yaml from ER_TASK_TEMPLATE_DIR and renders the attempt's class, falling back to the default template (ER_TASK_TEMPLATE_PATH) for a class with no file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
temporarily deployed
to
marketing-preview
November 27, 2026 01:34 — 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 #649
The executor renders each attempt with its own class's Job template (
ER_TASK_TEMPLATE_DIR→task-template-{S,M,L}.yaml), falling back to the default for a class with no file. Chart wires the directory.#649 asked to observe an L run across two node classes. Driving one on
er-devshowed it could never happen: the dispatcher only ever readtask-template-S.yaml, so every class launched as S onrunner-sm(evidence in the commit message: an "M" Job requesting 2 cpu/6Gi/40Gi; "L" re-runs on the same c5d.2xlarge).Proof
template_forreturns each, a class with no file renders the default.make check: exit 0.runner-l, two node classes in one job) needs this deployed; it is the first "Specific" ledger item.Risk & rollback
M and L tasks now get their real (larger) requests: more node cost per M/L task, bounded by the namespace quota (#653). A missing class file degrades to S, never disables the executor.
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:24d16c2e-fec6-49d8-9797-060338df4848onbrians-MacBook-Pro· 2026-11-27T02:52:41Zmainis 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:
a1fc1203— rust 45923352722, frontend 45923352691 success; its deploy 45923693490 failed on Deploys fail since #518: the pre-reconcile default-dataset sweep reads orgs through the full-row statement #1290 (not this change) and converged with fix(schema): the pre-reconcile default-dataset sweep reads only the org columns it copies (#1290) #1291's deploy 45925250641imagesbuilt, or correctly never ran because nothing that goes intoan image changed: 45923352743 success
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: converged via 45925250641; the running dispatcher's env carries
ER_TASK_TEMPLATE_DIR=/etc/er/task-template, and the observation below is the process doing itdeploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: deploy green after fix(schema): the pre-reconcile default-dataset sweep reads only the org columns it copies (#1290) #1291; drift/kind red for known reasons (Confirm the er-alerts email subscription and prove alert delivery #1056, kind probe red since 2026-11-10: KeyError 'token_hash' after the credential-omission fix #1106)
Donethrough the automation rather than byhand, and the issue closed: Observe an L-class run as three Jobs across two node classes #649 CLOSED via the merge
(a skill, a reference, memory) — or nothing new was learned: the commit message and this ledger record the S-for-every-class failure; the design doc's Phase 5 record follows in Phase 5 — measure the executor against the in-process monolith #650
Specific to this change
er-dev2026-11-27 (job 01a21ae6-2479-77d2-ad5a-398ebe98bdf3, org p3live):run_all_fullat M, theninitcleared at S, M and L — S/M attempts onrunner-sm(c5d.2xlarge, spot; nodes i-01cd98…, i-03338…), L attempts onrunner-l(c5ad.4xlarge, spot; i-064780…, i-05fee3…), labels sampled during the run; task rows carry each class and node. Before this fix the same L re-run sat on the 8-vCPU runner-sm nodeinitfailure found along the way — deferred — run_all_full fails at init on a lake behind the catalog — the job does not reconcile the lake first #1288Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files
🤖 Generated with Claude Code