From 14c30d74456d0a24d320dd234253a29ed66a819e Mon Sep 17 00:00:00 2001 From: forthfate Date: Mon, 14 Sep 2026 23:43:59 +0900 Subject: [PATCH] feat: add guidance to empty runner template --- frontend/src/features/assets/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/assets/page.tsx b/frontend/src/features/assets/page.tsx index 237bf00..2b7c7d4 100644 --- a/frontend/src/features/assets/page.tsx +++ b/frontend/src/features/assets/page.tsx @@ -391,7 +391,7 @@ function RunnerModal({ id: "empty", name: copy.empty, description: copy.emptyDescription, - source: "from orbit_sdk import runner\n\n\n@runner.phase(\"before_all\")\ndef before_all(ctx):\n pass\n\n\n@runner.phase(\"before_each\")\ndef before_each(ctx):\n pass\n\n\n@runner.phase(\"execute\")\ndef execute(ctx):\n pass\n\n\n@runner.phase(\"verify\")\ndef verify(ctx):\n pass\n\n\n@runner.phase(\"after_each\")\ndef after_each(ctx):\n pass\n\n\n@runner.phase(\"after_all\")\ndef after_all(ctx):\n pass\n\n\nif __name__ == \"__main__\":\n runner.main()\n", + source: "from orbit_sdk import runner\n\n\n@runner.phase(\"before_all\")\ndef before_all(ctx):\n # TODO: Add one-time setup before the run starts.\n pass\n\n\n@runner.phase(\"before_each\")\ndef before_each(ctx):\n # TODO: Add setup for each iteration.\n pass\n\n\n@runner.phase(\"execute\")\ndef execute(ctx):\n # TODO: Add the main work for this iteration.\n pass\n\n\n@runner.phase(\"verify\")\ndef verify(ctx):\n # TODO: Verify the result of this iteration.\n pass\n\n\n@runner.phase(\"after_each\")\ndef after_each(ctx):\n # TODO: Add cleanup for each iteration.\n pass\n\n\n@runner.phase(\"after_all\")\ndef after_all(ctx):\n # TODO: Add one-time cleanup after the run ends.\n pass\n\n\nif __name__ == \"__main__\":\n runner.main()\n", }; const templateOptions = [emptyTemplate, ...templates]; useEffect(() => {