You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1cf9b0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): stop a run's created sandbox before the harness closes (#75)
* fix(cli): stop a run's created sandbox before the harness closes
The run's scope wrapped the provided harness layer, so its finalizers,
including stopping the sandbox the run created, ran after the database
had closed. Scope inside the provide instead, and log to stderr so
stdout carries only the response.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(harness): report missing Daytona paths as ENOENT
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: load credentials from the root .env.local
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(harness): make the runner cycle interrupt deterministic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: update the changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,16 @@ This file is the canonical source for unreleased changes and published release n
14
14
### Fixed
15
15
16
16
-`@codeworksh/plugin`: Fixed tools whose parameters are `Schema.Struct({})` being rejected by OpenAI and Anthropic. Their JSON Schema is now `{ "type": "object", "properties": {} }` instead of `{ "not": { "type": "null" } }`.
17
+
-`@codeworksh/cli`: Fixed `codework run` exiting 1 with `statement has been finalized` after printing the response when it created its own sandbox (`--sandbox-driver memory`, `daytona` or `vercel`). The sandbox was stopped after the database had closed, so the stop failed and a Daytona or Vercel sandbox was left running. It is now stopped before the database closes, and the run exits 0.
18
+
-`@codeworksh/cli`: `codework run` now writes logs to stderr, so stdout carries only the response.
19
+
-`@codeworksh/harness`: Fixed Daytona sandboxes logging a warning, with the full HTTP error, for every instruction file (`AGENTS.md`, `CLAUDE.md`, ...) a directory does not have. A missing path on Daytona now reads as not found, as on the other sandboxes, which also gives the `read` tool its usual not-found error there.
20
+
17
21
### Internal
18
22
19
23
- The `codework tui` E2E artifact now records the CLI version as `<version>`, so it no longer goes stale on every version bump.
24
+
- Tests load provider and sandbox credentials from the root `.env.local` instead of one file per package.
25
+
- Added a live E2E test that runs `codework run` on a memory, Daytona and Vercel sandbox and checks the sandbox is stopped on exit.
26
+
- The live runner-cycle test now interrupts a reply long enough that it cannot finish first, so the interrupt no longer races the model.
0 commit comments