Skip to content

docs(agents): note --no-restore first-run gotcha in test validation - #333

Merged
shanselman merged 1 commit into
openclaw:masterfrom
indierawk2k2:docs/agents-no-restore-gotcha
May 13, 2026
Merged

docs(agents): note --no-restore first-run gotcha in test validation#333
shanselman merged 1 commit into
openclaw:masterfrom
indierawk2k2:docs/agents-no-restore-gotcha

Conversation

@indierawk2k2

Copy link
Copy Markdown
Contributor

Description

Discovered in PR #332 that dotnet test --no-restore silently no-ops in a fresh worktree where the test bin/ doesn't exist yet, reporting 'Build succeeded in 0.5s' then exiting with 0 and no tests run.

This addition documents the gotcha so future agents (and humans) running first-run validation in a new worktree avoid a false-green pass. The fix is to either omit --no-restore or run dotnet build on the test project first.

Ref: PR #332

dotnet test --no-restore silently no-ops in a fresh worktree where the test bin/
doesn't exist yet (reports 'Build succeeded in 0.5s' then exit 0). Discovered
shipping PR openclaw#332. Add a brief gotcha so future agents (and humans) running
first-run validation in a new worktree don't get a false-green pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shanselman
shanselman merged commit cf1588d into openclaw:master May 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants