idstack icon indicating copy to clipboard operation
idstack copied to clipboard

course-export Canvas push: unchecked HTTP codes, no timeout, duplicates on re-run

Open savvides opened this issue 3 weeks ago • 0 comments

The publish and add-to-module curl calls in skills/course-export/SKILL.md.tmpl (around lines 673, 712, 751 and 789) do not print the HTTP code. A failed call therefore leaves an orphan page with no warning. No call sets --max-time. If you run the export again, it creates duplicate pages.

Done when every call uses -w "\n%{http_code}" and --max-time 60, a non-2xx code stops the push with a message, and a re-run finds existing items by name. Extend the fake curl in test/test-skill-shell-zsh.sh.

Found in the pre-share reliability review.

savvides avatar Nov 13 '26 13:11 savvides