#0330
TerminalContainers
Push the starter-code fix to forty machines with forty POSTs
Tuesday, 8:40 AM. The starter code for today's lab has a typo in Makefile that breaks make test. Lecture is at 9.
The instructor loops over the roster. For each student container, one POST to /api/v1/terminal/execute on its terminal URL: cd ~/lab4 && git pull, with wait: false. Forty requests, forty command_ids. A second loop polls /result/{command_id} and prints the ones that didn't exit zero. Two students had local edits that conflicted; she messages those two. The other thirty-eight never knew anything was wrong.
No SSH keys on her laptop, no Ansible inventory, no "please run this before class" email that half the room won't read.
A class is a list of URLs, and a fix is the same request sent to each of them.