Commit Graph
4365 Commits
Author SHA1 Message Date
DottaandPaperclip 7ea9c1b611 test(server): bind request fixtures to explicit loopback
Wait for the asynchronous loopback bind before dispatching Supertest requests. Avoid wildcard ephemeral ports overlapping existing localhost listeners on macOS.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 10:08:02 -05:00
DottaandPaperclip cc4f0069d2 test(server): stop runtime fixture processes during teardown
Terminate tracked runtime services after each workspace-runtime test so manual-lifecycle fixtures do not leak listeners into later test runs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 09:25:02 -05:00
DottaandPaperclip 0bdf023db9 test(server): seed ancestry cleanup before the sweep boundary
Keep delivery and concurrent-sweep assertions independent of database timestamp precision. Explicit timestamps in rotation tests remain unchanged.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 08:50:57 -05:00
DottaandPaperclip 97231edb81 fix(server): retry idempotent sandbox root preparation
Retry transient transport failures while ensuring a work-folder root exists. Preserve bounded attempts, directory confinement, and single-attempt handling for other mutations.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 08:28:53 -05:00
DottaandPaperclip 6444ddb87e test(server): install route mocks before loading services
Keep service mocks hoisted and reuse the loaded route modules across cases. Include captured route exceptions in failed status assertions so intermittent HTTP 500s are diagnosable.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-10 08:03:20 -05:00
DottaandPaperclip 27e6099127 fix(sandbox): block invalid repository setup before continuation
Classify required repository preparation failures as workspace validation blockers and retain completed checkouts for explicit retry. Do not schedule interaction infrastructure retries for these failures.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 07:32:58 -05:00
DottaandPaperclip 65127dff98 fix(pi): close stdin before remote print-mode turns
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 06:10:32 -05:00
DottaandPaperclip 04242dd77e Verify native recovery lease ownership before settling cancellation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 04:39:00 -05:00
DottaandPaperclip c197ac37d9 Preserve native cancellation through failure recovery and sandbox teardown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 04:31:48 -05:00
DottaandPaperclip c7e4d3db68 Use one HTTP listener for the concurrent Git scan load test
Keep all 500 requests, shared-scan bounds, and health latency assertions while avoiding hundreds of temporary Supertest servers. Always settle requests and close the owned listener on failure.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 03:12:05 -05:00
DottaandPaperclip 5acb4274cb Honor operator cancellation before immediate task recovery
Reuse the periodic recovery policy so an operator-cancelled run does not immediately dispatch a replacement and resume its sandbox. Keep explicit deferred wake promotion intact.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 02:50:57 -05:00
DottaandPaperclip 1caad1bf9e Fence legacy sandbox dispatch against startup cancellation
Reconcile persisted cancellation with newly registered scopes, check cancellation before dispatch, and preserve external child termination signals.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 02:01:58 -05:00
DottaandPaperclip 066b4f0160 Stop legacy sandbox execution before completing cancellation
Bind remote CLI and ACP processes to host-owned cancellation scopes, wait for teardown and final saves, and distinguish deliberate bridge shutdown from transport loss.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 01:51:04 -05:00
DottaandPaperclip 8cee86df73 Bound parallel reads during sandbox folder hydration
Open up to sixteen response streams while keeping queued bodies paused and preserving ordered publication and cleanup. This addresses the storage-response waits measured on cold staging runs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 01:30:10 -05:00
DottaandPaperclip bad9d3f9d2 Preserve remote process identity in legacy adapter dispatch
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 00:05:51 -05:00
DottaandPaperclip 311f71954e Keep warm sandbox performance spans in the current run trace
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-10 00:00:48 -05:00
DottaandPaperclip d619dd85b8 fix(sandbox): resume leases with their effective provider configuration
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 23:14:53 -05:00
Dotta 3f7cbb4f97 fix: fence finished run process identity against late native callbacks 2026-09-09 22:18:32 -05:00
Dotta a7108016b3 perf: overlap small repository checkpoint uploads within bounded lanes 2026-09-09 18:06:38 -05:00
Dotta bc4e39d2f7 Make provider pack metadata and nested launchers reproducible 2026-09-09 17:17:33 -05:00
Dotta a1d0ebbb0e test(runner): validate nested provider-pack export layout 2026-09-09 16:40:55 -05:00
Dotta 56cf3dbb69 fix(runner): preserve provider root mode across Docker export 2026-09-09 16:35:37 -05:00
DottaandPaperclip f98fb8059e Fence sandbox cleanup across warm run ownership transfers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 16:18:20 -05:00
DottaandPaperclip 3497dec88b Verify complete canonical provider exports offline
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 16:18:01 -05:00
DottaandPaperclip 4cd6a81e4a Measure sandbox lifecycle and align qualification provider packs
Add opt-in bounded OpenTelemetry diagnostics across host preparation, scoped files, repository checkpoints, transport phases, and native execution. Preserve context parentage and stream cleanup, and retain diagnostic batches without per-file log writes.

Build qualification packs through the canonical frozen provider stage so lockfile, interpreter, and compiled bytes match the sandbox image. Keep ignored untracked repository files out of durable checkpoints.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 15:31:15 -05:00
Dotta 310d5e3627 fix: build provider packs from an immutable dependency lock 2026-09-09 14:40:27 -05:00
Dotta 8bbf888a71 fix: pin qualified runner dependencies for reproducible builds 2026-09-09 14:33:34 -05:00
DottaandPaperclip 6fb569c0d0 fix: align legacy Codex ACP sandbox network mode
Match the native runner's approved external-sandbox mode so Codex tools can reach the loopback API and Git credential bridge. Preserve local and restricted permission modes; verify the serialized launch environment.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 14:08:28 -05:00
DottaandPaperclip daf1d64b20 fix: recover transient sandbox file transfer failures safely
Retry bounded read-only transport failures and resolve uncertain bulk writes through atomic signed receipts without replaying claimed batches.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 13:17:11 -05:00
DottaandPaperclip ffb01ff3d5 fix: tolerate transient sandbox Git credential transport delays
Honor the native duplex opt-in and align repeat-safe credential acquisition with the file bridge response budget, without retrying Git commands.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 12:19:39 -05:00
DottaandPaperclip 2d95eef2ba test: use a valid OpenCode provider model in pack reuse coverage
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 11:34:27 -05:00
DottaandPaperclip d3257a3340 fix: reuse verified provider packs across equivalent builds
Normalize the provider-pack layout independently of runnerd build order and compare verified content rather than revision provenance, avoiding unnecessary multi-gigabyte uploads.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 11:29:58 -05:00
DottaandPaperclip a31eba2381 fix: retain legacy plugin login output during session binding
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 11:29:49 -05:00
DottaandPaperclip 1e608d78fc fix: batch sandbox file transfers and reconcile interrupted hydration
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 10:38:21 -05:00
DottaandPaperclip e511a1ce93 fix: retry interrupted work-folder uploads with verified fresh streams
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 08:40:44 -05:00
DottaandPaperclip 7508f1b6a0 test: distinguish recovered cache saves from unresolved failures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 06:38:02 -05:00
DottaandPaperclip 34d274f6d3 fix: retain verified ACPX commands across recovered turns
Keep runtime-owned command snapshots reusable until cleanup and observe optional prompt-start rejection without hiding it from callers.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 06:37:56 -05:00
DottaandPaperclip 90cad7196b fix: label file selections and distinguish pending trash
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 06:09:06 -05:00
DottaandPaperclip a72fd32191 test: isolate workspace eligibility fixtures from clock precision
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 05:19:03 -05:00
Dotta cb381c6a5f Fix sandbox command-session and lazy ACP model recovery 2026-09-09 04:44:59 -05:00
Dotta 17ddb89618 Preserve reusable sandboxes through failed resume and stop 2026-09-09 02:31:27 -05:00
DottaandPaperclip 6fee0c3b4c fix: use the new run deadline while claiming a retained sandbox
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 01:47:49 -05:00
DottaandPaperclip de60e9f6c2 fix: claim sandbox ownership before resume and preserve legacy launch profiles
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 01:44:00 -05:00
DottaandPaperclip 6382f4e8fa fix: wait for task sandbox release before follow-up acquisition
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 01:35:25 -05:00
DottaandPaperclip b820a6d884 fix: stage the resolved server runner artifact for sandbox upgrades
Use the same controller-owned runner file for identity and remote staging, including packaged server vendor layouts.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 00:50:36 -05:00
DottaandPaperclip 1ca638736a test: verify explicit native credential process rotations
Record controller-owned rotation events and require an exact run transition before accepting a new process fingerprint. Preserve stable sandbox, runner and provider-session checks.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 00:23:55 -05:00
DottaandPaperclip a24d331c41 test: require explicit final checkpoints in warm qualification
Expose the existing finalization timestamp through the scoped sync API and reject periodic-only or out-of-run saves.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 00:06:05 -05:00
DottaandPaperclip 1d6ee1a642 test: read full run context and compare exact warm file bytes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-08 23:59:55 -05:00
DottaandPaperclip fb7914651b test: use explicit scoped paths in every warm shell call
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-08 23:44:00 -05:00
DottaandPaperclip 246a8edbdd test: verify scoped files in warm runner qualification
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-08 23:39:17 -05:00