• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

the-open-engine / zeroshot / 36212349840
96%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2026 02:48AM UTC
Jobs 1
Files 372
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2026 02:12AM UTC coverage: 96.026% (-0.004%) from 96.03%
36212349840

push

github

web-flow
feat: prepare shared workspaces with run-scoped environments (#1159)

## Summary

Add optional setup and startup scripts to prepare one workspace shared
by workers and reviewers. Environments are concrete run inputs,
independent of profiles: Docker and hosted targets accept `environment`,
while the CLI accepts `--environment FILE` or `--no-environment`.
Omission lets the host choose a default; `{}` explicitly selects the
base environment.

Profiles remain portable graph and agent settings. The engine has no
environment catalog, user/org ownership, repository defaults, or saved
environment references. Local execution has no environment picker and
rejects preparation hooks in both validation and launch. Cloud provides
scoped storage and repository selection in [Zero Cloud
#319](https://github.com/the-open-engine/zero-cloud/pull/319), embedding
the generic hosted environment editor.

## Execution

- Setup runs as root before checkout or checkpoint restoration. Startup
and agents run as the workspace owner after checkout or restoration.
Both hooks run again on resume.
- Preparation follows durable acceptance, streams bounded redacted logs,
and reports setup/startup failures before graph execution. Stop retains
cleanup ownership until processes settle.
- Workers and reviewers share files, installed tools, and services.
Provider homes and process cleanup remain separate; delivery cannot
overlap an agent writer.
- Accepted runs and resumes retain the concrete environment snapshot.
Preparation connection requirements are collected with node requirements
before execution.
- Installation guidance covers the shared tools directory, project
dependencies, public variables, declared connections, services, Docker
resource ownership, and startup idempotency.

Profiles and local services retain their existing responsibilities. The
added surface is the host-neutral environment definition, preparation
lifecycle, request-time selection, and hosted editor. Reviewer proces... (continued)

986 of 1091 new or added lines in 37 files covered. (90.38%)

20 existing lines in 6 files now uncovered.

58617 of 61043 relevant lines covered (96.03%)

12266.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
53
14.52
zeroshot/src/native_v2_hosting/allocator/environment_hooks.rs
10
94.74
zeroshot/src/native_v2_cloud/preparation.rs
10
95.28
zeroshot/src/native_v2_hosting/environment.rs
9
87.5
zeroshot/src/native_v2_hosting/environment/output.rs
6
95.04
-1.19% zeroshot/src/native_v2_supervisor/environment.rs
4
89.74
-10.26% zeroshot/src/native_v2_cloud/contracts.rs
3
93.75
crates/openengine-cluster-protocol/src/native_v2_run/environment.rs
3
92.5
zeroshot/src/native_v2_hosting/allocator/lifecycle.rs
2
87.46
-0.4% zeroshot/src/native_v2_portable_controller/process.rs
1
96.85
2.56% zeroshot/src/execution/process.rs
1
92.9
-0.13% zeroshot/src/native_v2_cli/local.rs
1
93.89
-0.46% zeroshot/src/native_v2_cli/local/backend.rs
1
98.57
3.29% zeroshot/src/native_v2_cloud.rs
1
98.78
2.0% zeroshot/src/native_v2_hosting/allocator.rs

Coverage Regressions

Lines Coverage ∆ File
11
92.45
-3.48% zeroshot/src/native_v2_capsule/provider_process/filesystem.rs
4
93.18
-1.19% zeroshot/src/native_v2_supervisor.rs
2
98.57
3.29% zeroshot/src/native_v2_cloud.rs
1
96.85
2.56% zeroshot/src/execution/process.rs
1
93.67
0.0% zeroshot/src/execution/process/session_runtime.rs
1
92.62
-0.05% zeroshot/src/native_v2_copilot/rpc.rs
Jobs
ID Job ID Ran Files Coverage
1 36212349840.1 26 Sep 2026 02:48AM UTC 372
96.03
GitHub Action Run
Source Files on build 36212349840
  • Tree
  • List 372
  • Changed 52
  • Source Changed 41
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36212349840
  • 3e6b8495 on github
  • Prev Build on main (#36189625276)
  • Next Build on main (#36215714101)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc