diff --git a/.codesignal/run_solution.sh b/.codesignal/run_solution.sh index 76a063f..3e77aee 100644 --- a/.codesignal/run_solution.sh +++ b/.codesignal/run_solution.sh @@ -3,9 +3,9 @@ # Cosmo reads this script's STDOUT and nothing else: the report of the learner's workflow and runs. # # setup.sh keeps running (it serves the editor), so wait for its marker rather than for it to finish. -cd /usercode/FILESYSTEM/agentflow || exit 1 if [ ! -f /tmp/agentflow-release-ready ]; then echo "AgentFlow is not ready: it is still starting, or its setup failed. Wait a few seconds and run again; if this repeats, reset the session." exit 1 fi +cd /usercode/FILESYSTEM/agentflow || exit 1 PROJECT_ROOT=/usercode/FILESYSTEM/agentflow node apps/server/dist/report.cjs