@@ -52,6 +52,7 @@ async def run_submission(
5252
5353 logger .info (f"Attempting to trigger GitHub action for { lang_name } on { selected_workflow } " )
5454 run = GitHubRun (self .repo , self .token , selected_workflow )
55+ logger .info (f"Successfully created GitHub run: { run .run_id } " )
5556
5657 payload = json .dumps (config )
5758
@@ -68,9 +69,12 @@ async def run_submission(
6869 )
6970
7071 await status .push ("⏳ Waiting for workflow to start..." )
72+ logger .info ("Waiting for workflow to start..." )
7173 await run .wait_for_completion (lambda x : self .wait_callback (x , status ))
7274 await status .update (f"Workflow [{ run .run_id } ]({ run .html_url } ) completed" )
75+ logger .info (f"Workflow [{ run .run_id } ]({ run .html_url } ) completed" )
7376 await status .push ("Downloading artifacts..." )
77+ logger .info ("Downloading artifacts..." )
7478
7579 artifacts = await run .download_artifacts ()
7680 if "run-result" not in artifacts :
@@ -83,6 +87,7 @@ async def run_submission(
8387 logs = artifacts ["run-result" ]["result.json" ].decode ("utf-8" )
8488
8589 await status .update ("Downloading artifacts... done" )
90+ logger .info ("Downloading artifacts... done" )
8691
8792 data = json .loads (logs )
8893 runs = {}
@@ -223,7 +228,7 @@ async def wait_for_completion(
223228 return
224229
225230 await callback (self )
226- await asyncio .sleep (10 ) # Yield control while waiting
231+ await asyncio .sleep (20 ) # Yield control while waiting
227232 except TimeoutError :
228233 raise # Re-raise the specific TimeoutError from the timeout block
229234 except Exception as e :
0 commit comments