chore: add .company/environment.json for cloud environments - #833
Conversation
Declares how The Company Company builds and readies this repo: - install: bun install --frozen-lockfile (same command CI's shared bun-install action runs), baked into the cached snapshot. - prepare: the same install, re-run per task after checkout to reconcile node_modules with the branch's lockfile; a no-op when nothing drifted. - start: omitted. The long-running services (docker Postgres, ClickHouse, the alchemy dev stack) need Docker and .env.local secrets, and the test suite runs on embedded PGlite, so no background service is required. - env: omitted. No non-secret variables are required; CI runs without .env.local. Verified in-sandbox: bun install --frozen-lockfile exits 0 (1593 packages installed).
Co · session: Set up .company/environment.json for maple
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughAdds ChangesEnvironment setup
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to The environment configuration adds the intended frozen Bun installation and preparation commands, with no unresolved merge-blocking concerns. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds
.company/environment.json(schema: https://api.thecompany.company/schemas/v1/environment.json) so The Company Company cloud environments can build and ready this repo.Phases
install—bun install --frozen-lockfile, run once into the cached snapshot. This is the same command every CI job runs through the shared.github/actions/bun-installcomposite action.prepare— the same install, re-run per task after checkout to reconcilenode_moduleswith the branch's lockfile. Idempotent; a no-op when nothing drifted.start— omitted. The repo's long-running services (docker Postgres, ClickHouse, the fullalchemy devstack) need Docker and.env.localsecrets, and the test suite runs on embedded PGlite, so no background service is required for agent tasks.env— omitted. No non-secret variables are required; CI runs the same install without.env.local.Verification
Ran the install command in a fresh worktree in the cloud sandbox:
bun install --frozen-lockfileexits 0 (1593 packages installed, ~8s), including the repo's ownpreparehook (effect-tsgo patch).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit