fix: restore Copilot auth in Tutorial Update Monitor sandbox runs#74
Conversation
Agent-Logs-Url: https://github.com/instil/github-copilot-tutorial/sessions/a7e38ee4-b042-45f3-b120-a688c0609276 Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>
|
@copilot i wanted you to fix the workflow based off the logs |
…prompt Agent-Logs-Url: https://github.com/instil/github-copilot-tutorial/sessions/70ece2c6-7c9f-4d7e-be4a-2bb116fa965c Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>
Fixed in 9a2b7ce. The logs showed the agent ran and found issues but finished without calling any safe output tool — neither The fix adds a mandatory Step 6 at the end of the workflow prompt that explicitly requires the agent to call either Since the |
The latest Tutorial Update Monitor failures were caused by Copilot CLI running without authentication inside the
awfsandbox. AlthoughCOPILOT_GITHUB_TOKENwas set in job env, it was explicitly stripped before process execution.Root cause
awfcommand excludedCOPILOT_GITHUB_TOKEN, so the sandboxedcopilotprocess could not authenticate (Error: No authentication information found.).Change applied
--exclude-env COPILOT_GITHUB_TOKENfrom both workflow execution paths intutorial-update-monitor.lock.yml:agentexecutiondetectionexecutionBehavioral impact