Skip to content

fix(experiments): reject scriptless runs - #3

Open
jkoelker wants to merge 2 commits into
LambdaLabsML:mainfrom
jkoelker:fix/scriptless-experiments
Open

fix(experiments): reject scriptless runs#3
jkoelker wants to merge 2 commits into
LambdaLabsML:mainfrom
jkoelker:fix/scriptless-experiments

Conversation

@jkoelker

@jkoelker jkoelker commented Aug 26, 2026

Copy link
Copy Markdown

Commit 07e60be made every new experiment queue automatically while leaving script_content optional. This admitted queued records with no runnable script. Commit cba73ea then tried to mark missing scripts as failed through label before assigning it, so the recovery path raised NameError and the scheduler retried the record indefinitely.

Require nonblank scripts for single, batch, and rerun creation. Resolve the canonical experiment label before handling legacy missing-script records so they terminate as failed instead of spinning. Align agent instructions with the mandatory queue contract and add regressions for both failure modes.

Commit 07e60be changed every new experiment to queue automatically
while leaving script_content optional. That admitted queued records with
no runnable script and no API path for attaching one later.

Require nonblank scripts for single and batch creation, reject blank
rerun sources before copying, and align agent instructions with the
mandatory queue contract.
Commit cba73ea made the missing-script path persist a failed state,
but used label before assigning it. The resulting NameError escaped
recovery, left the record queued, and caused indefinite scheduler retries.

Commit 39a3aaf prevents new scriptless records. Resolve the canonical
label before checking the script path so existing malformed records still
terminate as failed instead of spinning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant