feat(csghub): sandbox API client, build split, unified Docker image#8
Open
GatewayJ wants to merge 7 commits intoOpenCSGs:mainfrom
Open
feat(csghub): sandbox API client, build split, unified Docker image#8GatewayJ wants to merge 7 commits intoOpenCSGs:mainfrom
GatewayJ wants to merge 7 commits intoOpenCSGs:mainfrom
Conversation
Add CSGHub sandbox backend behind -tags csghub (paths, service, box wiring). Split config DefaultDir for boxlite vs tenant PVC; shared env helpers for PicoClaw. Add docker/Dockerfile.unified, supervisord role configs, and SaaS env contract doc. Extend Makefile, onboarding/serve bootstrap, and ignore bin-csghub build outputs.
8c71ffb to
73f2cf1
Compare
Collaborator
|
Review Suggestions
|
- Wire CSGHub agent/onboard/serve to BoxLite sandbox options - Add cli/sandboxopts and expand tests for onboard/serve - Simplify unified Docker image; drop supervisord multi-role conf - Remove third_party Python sandbox-runtime in favor of BoxLite - Update SaaS env contract docs Made-with: Cursor
Remove CSGCLAW_BOOTSTRAP_MANAGER_IMAGE; align docs with ensureAutoOnboard. Made-with: Cursor
- Add internal/sandbox/csghub (Provider, Runtime, Instance) and wire agent service. - Centralize env var names and CSGHub sandbox loading in internal/config (env.go, sandbox_csghub.go); serve bootstrap uses config helpers; EnvSnapshot on startup. - PVC RunnerVolumeSpec subpaths use <tid>/... without tenants/ prefix; update docs. - Add service_csghub tests; Makefile and sandboxopts adjustments for csghub build. Made-with: Cursor
- Add service_common.go with shared Create/Delete/EnsureManager/StreamLogs/CreateWorker delegating to boxliteBackend / csghubBackend - Move Hub HTTP client types to internal/sandbox/csghubsdk; simplify sandbox package - CSGHub: avoid extra GET after Reconcile via cached instance info; tidy instance timestamps - Remove dead code (gatewayStartCommand tests, unused manager helpers, unused fields) - Restore rt==nil guard in boxlite delete for test hooks Made-with: Cursor
efb4c4b to
be6bb87
Compare
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.
Add CSGHub sandbox backend behind -tags csghub (paths, service, box wiring). Split config DefaultDir for boxlite vs tenant PVC; shared env helpers for PicoClaw. Add docker/Dockerfile.unified, supervisord role configs, and SaaS env contract doc. Extend Makefile, onboarding/serve bootstrap, and ignore bin-csghub build outputs.