Repository navigation
Lab tool: start, grade and finish for every guided exercise - #90
Merged
Merged
Conversation
… for chapters 3, 5 and 20
…ide setup and cleanup Guided exercises of every chapter now have an exercise definition. lab start prepares the servers (packages, users, files, disks, firewall, containers), lab grade checks the state the tasks leave behind, and lab finish undoes it. The graded chapter labs also get cleanup actions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds typed server-side setup and cleanup actions to the lab tool (
prepare.py, schema, compiler) and a definition for each guided exercise of chapters 3 to 22, plus cleanup for the graded chapter labs.lab start NAMEinstalls/creates what the exercise needs but does not teach; the matching preparation tasks are replaced by a Start task.lab grade NAMEchecks the state the tasks leave behind. New check options: firewall zone/source/forward port, partition, container, package verify, file executable.lab finish NAMEundoes the changes on the servers (best effort), then archives the project folder.Each guided exercise was run end to end on the test lab (start, the page's solution, grade, finish, grade again). Exercises without lasting state (chapters 2 and 4, parts of 8) and the first-login/host-key style ones are left as plain pages.
🤖 Generated with Claude Code