Make cloud testing accessible to every contributor
Someone spots a bug in your project. They understand the code, have an idea for a fix, and clone the repository. Then the test instructions ask them to create a Google Cloud project, enable billing, configure credentials, and get access to test resources.
Every extra setup step competes with the time and enthusiasm they brought to the issue. A contributor should be able to reproduce a cloud integration bug while the problem is still fresh.
LocalCloud packages supported Google Cloud services in a Docker container. Your application uses its SDK clients against local endpoints, so contributors can exercise those service interactions without a Google Cloud account. Put that setup in the repository, and the next person gets a repeatable path from clone to passing tests.
That opens the door to first-time contributors, students, and developers who want to investigate an issue before committing to a cloud setup. It also gives returning contributors a fast way to get back to work.
Simplify testing and reviews for maintainers
A repository-owned test environment reduces the work around each contribution. Maintainers can point people to a command in CONTRIBUTING.md, with the image version, service configuration, and test data checked into the project.
- Less access administration. Contributors run local tests without joining a maintainer’s cloud project or receiving shared credentials.
- Easier bug reports. A pinned runtime and disposable fixtures give contributors a common environment for reproducing failures.
- $0 cloud-resource cost. LocalCloud runs the selected services locally. Repeated reads, writes, and queries need no Google Cloud resources and incur no Google Cloud service charges.
- A clearer review path. Reviewers can run the same selected tests as the contributor before merging a change.
Reuse the launcher in CI, and a failing local integration job comes with a practical next step: run the same workflow on a laptop and inspect the result.
Run meaningful cloud integration tests locally
Keep focused unit tests and mocks. Add LocalCloud where you want to exercise the path through application code, SDK requests, service responses, and stored state.
For a feature-store project, useful starting points could include:
- Cloud Storage: write a feature registry, read it back, and verify serialization.
- Bigtable: write online feature values and retrieve them through the application’s client.
- BigQuery: create a test dataset, load a small fixture, run a query, and check the returned schema and values.
Choose an interaction that matters to your own users: a message round trip, a document write and read, or a query your connector runs on every request. A small test that catches a real integration bug is already valuable.
LocalCloud’s service catalog and SDK integration guide help you select and configure that first workflow.
Make the integration small enough to review
You can begin with one selected test and an opt-in launcher. A useful first integration has a few concrete responsibilities:
- Pin the runtime. Use a LocalCloud image version or digest that the project has tested.
- Start only what you need. Enable the services used by the selected tests and wait for readiness.
- Prepare the local environment. Provision a local project, configure the documented SDK endpoints and test credentials, and load small fixtures.
- Own the test state. Give each run its own container and disposable data or volume. Clean up when tests pass or fail.
- Share one entry point. Document the launcher in
CONTRIBUTING.md and reuse it in CI. Keep local tests pointed at localhost.
Run it manually first. Once it works for the project, add an opt-in CI job. Make it a pull-request check when maintainers are happy with its coverage and runtime. That gives the community an immediate benefit while keeping the first change easy to assess.
A ready-to-copy brief for your next contribution
Open an issue with this brief, use it as a pull-request checklist, or give it to a coding agent working in your repository. It keeps the first integration focused on a useful result.
Add an opt-in LocalCloud integration for this repository's Google Cloud tests.
Start with one existing test that contributors currently need a Google Cloud account to run. Check LocalCloud's service and SDK documentation at https://local.cloud/docs/ and compatibility guidance at https://local.cloud/compatibility/.
Create one launcher for laptops and CI. Pin a LocalCloud image version or digest, enable only the required services, wait for readiness, provision a local project, configure the documented localhost SDK endpoints and test credentials, and run the selected test with disposable data. Clean up on success and failure. Do not use real Google Cloud credentials or fall back to live endpoints.
Document the command and prerequisites in CONTRIBUTING.md. Keep the existing cloud validation job. Add an opt-in CI job once the local workflow passes, and report exactly which application behavior was tested.
Zero cloud-resource cost, free for open source
Open-source projects can use LocalCloud free of charge for development, testing, and ongoing internal CI under the Free for open-source projects policy. No payment method or license key is required. That includes contributors working locally and maintainers running the project’s own tests.
Google Cloud resource cost for these local test runs: $0. The services and test data run in LocalCloud’s Docker environment on your machine or the project’s CI runner. There is no Google Cloud project to provision, no cloud billing account to connect, and no Google Cloud resource usage to pay for.
The Free for open-source projects policy is ongoing and independent of the limited-time public preview. Free use for open-source projects continues after the public preview ends. Your repository can reference the LocalCloud image and installation instructions so each contributor obtains the runtime directly.
Start with the test contributors struggle to run
Look for one issue that is hard to reproduce without cloud access, one connector test people skip locally, or one fixture maintainers currently provision by hand. Make that workflow runnable with LocalCloud and document the command.
Keep Google Cloud validation for cloud-specific behavior and production release checks. The compatibility guide helps you decide what to test locally and what to verify in the cloud.
Your next contributor brings the fix. Your repository provides the environment to prove it.
Get started with LocalCloud, choose one workflow, and make it part of your contribution guide.