Skip workspace chown when agent already runs as non-root#118
Conversation
91f1bac to
1c318f3
Compare
PR #118 Review: Skip workspace chown when agent already runs as non-rootExecutive SummaryLow-risk, well-scoped refactor. This PR extracts the workspace ownership logic into a testable helper function and correctly skips Critical IssuesNone. Observations1. Behavioral change:
|
…Platform#118) skip workspace ownership changes when the process already runs as the target non-root user keep the existing clone path behavior for root-owned startup cases add focused coverage for the non-root no-op path
Summary
Testing
go test ./cmd/sciontool/commands -run 'Test.*(Workspace|Chown|Clone|NonRoot).*'\n