You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 15dd811
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tests): reserve the run name, hold Run for unsaved edits, cancel judges on close
- A test named "run" collided with the static run endpoint, so its detail
page got a 405; the name is now reserved.
- Run is disabled while the open editor holds edits the server has not
saved (including a refused save), so a run never uses the previous source.
- toMatchRubric model calls are aborted when the sandbox run ends, so a
stopped test no longer keeps calling or billing the judge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EHGBgHrtePpi7KMrEfy41R
Copy file name to clipboardExpand all lines: apps/sim/lib/workflow-tests/paths.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ export function assertTestName(name: string): void {
24
24
if(!TEST_NAME_PATTERN.test(name)){
25
25
thrownewOrchestrationError(
26
26
'validation',
27
-
`"${testFilePath(name)}" is not a valid test file. Use tests/<name>.test.js with a lowercase name of letters, numbers, and dashes, like tests/billing-routing.test.js`
27
+
`"${testFilePath(name)}" is not a valid test file. Use tests/<name>.test.js with a lowercase name of letters, numbers, and dashes other than "run", like tests/billing-routing.test.js`
0 commit comments