Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 060ad34

Browse files
koki-developclaude
andauthored
Remove backward compatibility that copies compile result to run on compile failure (#43)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5e1f186 commit 060ad34

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

api/src/api/v2.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,6 @@ router.post('/execute', async (req, res) => {
245245
const box = await job.prime();
246246

247247
let result = await job.execute(box);
248-
// Backward compatibility when the run stage is not started
249-
if (result.run === undefined) {
250-
result.run = result.compile;
251-
}
252-
253248
return res.status(200).send(result);
254249
} catch (error) {
255250
logger.error(`Error executing job: ${job.uuid}:\n${error}`);

0 commit comments

Comments
 (0)