Full stack local development setup
I was wondering how people are running open-inspect when developing against components other than web (I see instructions on how to run just the web client locally).
I prototyped what this might look like here, running web and control-plane via docker-compose + I implemented a little docker provider which spawns containers as sandboxes (so the only external dependency is the GitHub app)
If there is interest in maturing this to get it merged upstream OR if you have other thoughts on improving the local full-stack dev experience, let me know!
Also, Docker certainly isn't necessary here... I was just planning to create a Docker sandbox provider to validate anyways, so I put everything into a compose setup
@sidpalas i'm not totally sold (yet) on the whole docker compose experience, but i think the docker sandbox provider within the change would be a good contribution and could be separated out.
as far as local dev, i mostly run via npm wrangler dev
Yeah, I don't think the docker compose setup for first party services is necessary. It would be nice to get the a process documented for running the control plane locally. E.g.:
https://github.com/sidpalas/background-agents/pull/4
I can separate out the docker sandbox provider into its own PR
Closing: local development is now documented in two ways. docker-compose.yml with docs/CONTROL_PLANE_CONTAINER.md (#1772) runs the control plane locally, and npm run preview (#2024, docs/verification/authenticated-preview.md) runs web and control plane together without OAuth or production credentials. A Docker sandbox provider would still be welcome as a separate PR.