Repository navigation
Document standalone scratch clones for slotted checks #1928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -365,6 +365,9 @@ writes the receipt. For remote stages, configure an operator-trusted | |
| Without a stage adapter, run the whole check locally. Use a local slot if the | ||
| host requires one. On miki, if you used the isolated install, run these from | ||
| the task worktree with the `install_dir` from that recipe. | ||
| Make a scratch clone standalone before queueing, for example with | ||
| `git clone --no-local`. If a Git object alternate is outside the check sandbox, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Wording says "outside the sandbox" but the check is about readability
|
||
| `loopzero check` refuses it after the slot wait and before any stage runs. | ||
|
|
||
| ```sh | ||
| export PATH="$install_dir/venv/bin:$PATH" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: "scratch clone" reuses a term this repo already uses for something else
In this repo, "scratch" already means the configured
[checks].scratchdirectories (config.scratch,_validate_scratch, andloopzero-scratch-in src/loopzero/sandbox.py:111-127). Here it means a throwaway Git clone of the repository, so readers could link the advice to the scratch-mount setting. The runtime remedy at src/loopzero/sandbox.py:362-364 also says to runloopzero startin the standalone clone and then rerunloopzero check. The doc leaves that step out, so someone could rungit clone --no-localand then queue a check from the old worktree, which still borrows objects. Smallest fix: say "standalone clone" (or "local clone") and add "then runloopzero startfrom it", matching the error message.