Skip to content

fix(onboard): embed workspace templates from repo root#1393

Closed
Alix-007 wants to merge 1 commit intosipeed:mainfrom
Alix-007:fix/issue-1348-onboard-root-embed
Closed

fix(onboard): embed workspace templates from repo root#1393
Alix-007 wants to merge 1 commit intosipeed:mainfrom
Alix-007:fix/issue-1348-onboard-root-embed

Conversation

@Alix-007
Copy link
Contributor

Summary

  • embed the default workspace templates from the repository root instead of relying on a generated copy inside the onboard package
  • make onboard template copying accept an injected fs.FS, which keeps the test path explicit
  • restore clean-checkout builds for cmd/picoclaw/internal/onboard on Windows

Testing

  • go test ./cmd/picoclaw/internal/onboard
  • go test ./cmd/picoclaw -run TestMain

Fixes #1348

@sipeed-bot sipeed-bot bot added type: bug Something isn't working domain: build go Pull requests that update go code labels Mar 12, 2026
xuwei-xy pushed a commit to xuwei-xy/picoclaw that referenced this pull request Mar 14, 2026
@Alix-007
Copy link
Contributor Author

Closing this one because the remaining conflict is no longer a small embed-only patch.

@Alix-007 Alix-007 closed this Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: build go Pull requests that update go code type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows电脑上源码启动失败

1 participant