Commit Graph
11835 Commits
Author SHA1 Message Date
Sebastian Lorenz 63f2c5aa16 Shorten the SSH changeset to one sentence 2026-10-21 05:04:19 +00:00
Sebastian Lorenz 1a0679e025 Build SSH messages and OpenSSH frames with Bytes.concat 2026-10-21 05:04:19 +00:00
Tim Smart fcc68ce41f Tighten SSH API comments and changeset wording 2026-10-21 05:01:46 +00:00
Tim Smart cc2b5356d1 Split OpenSSH settings from Destination, separate tunnels from sessions, and add connection liveness 2026-10-21 05:01:46 +00:00
Tim Smart 7892bbaf83 Clarify SSH comments and changesets 2026-10-21 05:01:45 +00:00
Tim Smart 5700ce5123 Run SSH sessions and tunnels over SshConnectionProtocol in core, so backends only provide a transport 2026-10-21 05:01:45 +00:00
Tim Smart 9bf2845eba Reduce SSH tests to the core protocol and OpenSSH behavior 2026-10-21 05:01:45 +00:00
Sebastian Lorenz e9d0a59bf1 Fail writes to ended or destroyed Node sockets
- Return an error instead of waiting indefinitely for a `drain` event
2026-10-21 05:01:45 +00:00
Sebastian Lorenz b964cbc574 Harden SSH stream forwarding and command handling
- Bound received channel data and complete pending writes before EOF
- Handle half-closed sockets, closed channels, and OpenSSH diagnostics
- Preserve shell templates and validate command inputs
2026-10-21 05:01:45 +00:00
Sebastian Lorenz 6f9be9df15 Implement SSH channels over OpenSSH connection masters
- Add SshCommand and SshConnectionProtocol APIs
- Provide Node and Bun OpenSSH backends using multiplexing proxy mode
- Update SSH docs, tests, and package changeset
2026-10-21 05:01:45 +00:00
Sebastian Lorenz 9bf5d468e4 Define SshError with Data.TaggedError and a string reason, like DnsError
SshError moves into the Ssh module as a single Data.TaggedError whose reason is "Connection", "Protocol", "Channel", or "Timeout", with a description and an optional cause. The Schema reason classes, type id, guard, and SshError module are removed.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 5dfb20ab5f Document OpenSSH session semantics and give pty sessions their own connection
Commands behave like `ssh host command`: closing one stops the local ssh
process, and pty sessions add the hang-up and Ctrl-C behavior of `ssh -t`.
Multiplexed terminals copy their modes from the local standard input, a
pipe, so pty sessions open their own connection. The remote spawner fails
exitCode when it closed the session, like a killed local process.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 5f1b44127e Remove SSH capabilities and leave signals to the backends
SshProcess.signal fails on backends that cannot deliver signals, such as
OpenSSH, and the remote spawner then closes the session at once instead
of emulating signals through remote process ids. Destinations take the
port with the host, and pty options are reduced to the terminal type the
OpenSSH backend can set.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 6ac3fef492 Replace the SSH byte helper module with standard text and stream idioms 2026-10-21 05:01:38 +00:00
Sebastian Lorenz 932ac02e32 Leave SFTP out of the baseline SSH interface and OpenSSH backend 2026-10-21 05:01:38 +00:00
Sebastian Lorenz 2db08d4ffe Wait for the OpenSSH master by racing scheduled checks against its exit 2026-10-21 05:01:38 +00:00
Sebastian Lorenz f89d8f3121 Inline OpenSSH forward target conversion instead of a separate internal module 2026-10-21 05:01:38 +00:00
Sebastian Lorenz 06d87ada61 Add backend-independent SSH connections with an OpenSSH backend
The Ssh service is a connection factory whose connections run commands,
subsystems, and tunnels. OpenSsh.layer provides it through the host's ssh
executable. Sftp and SshChildProcessSpawner run on any connection.

Unit tests use an in-memory connection; integration tests run against an
OpenSSH server in a container.
2026-10-21 05:01:38 +00:00
Lloyd RichardsandEffect Bot b53e8503d1 test: add file system test suite (#6555)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 04:32:35 +00:00
Tim c29ddd899c Add streaming request payload support to HttpApi (#9575) 2026-10-21 17:16:47 +13:00
effect-bot 25efaef0d8 fix(cluster): keep interrupts sent while a workflow run saves its Suspended reply (#9645) 2026-10-21 16:52:59 +13:00
effect-bot a9f0ca68aa fix(sql-pg): add acquireTimeout to bound the wait for a pooled connection (#9641) 2026-10-21 13:50:19 +13:00
Tim 64b5e39625 Keep agent-written changesets to one sentence (#9643) 2026-10-21 00:34:58 +00:00
Tim 055dd69c35 Update the release queue action (#9638) 2026-10-21 12:19:29 +13:00
Tim 8922816c99 Keep binary strings in openapi-generator httpapi JSON components (#9632) 2026-10-21 12:10:19 +13:00
Tim cff52c4a21 Start Deno SocketRunner test runners on ephemeral ports (#9637) 2026-10-21 12:03:06 +13:00
Tim cd2cdd5f75 Auto-rebase release branch pull requests in the release queue (#9635) 2026-10-21 11:44:25 +13:00
fee3e10fd3 Let barrel codegen read module docs after triple-slash directives (#9633)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 22:34:52 +00:00
Tim c7072e4635 Memoize composed layers by identity (#9634) 2026-10-20 22:34:21 +00:00
MagozandTim Smart a4b38dde7f Match finite number strings in linear time (#9596)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 21:40:55 +00:00
MagozandTim Smart 415f0053eb Validate Schema.isBase64 / isBase64Url in linear time (#9593)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 21:29:05 +00:00
Ibrahim ElkamaliandEffect Bot 66ec7574d2 Fix cachedInvalidateWithTTL ignoring an invalidation issued while the effect is running (#9617)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-20 21:13:16 +00:00
22a84017e7 Fix Chunk.get throwing on a fractional index of a one-element chunk (#9611)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rahul Kashyap <itisrmk@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:59:51 +13:00
Ibrahim ElkamaliandEffect Bot 20e844c7ef Fix Config.schema dropping record keys for non-string key schemas (#9621)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:57:59 +13:00
Jay HemnaniandEffect Bot 1de10559e7 Fix Yaml block scalars rejecting tabs and dropping whitespace-only lines (#9608)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:54:21 +13:00
c477a0a801 Fix Ini.parse dropping a trailing backslash in unquoted values (#9609)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rahul Kashyap <itisrmk@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:52:52 +13:00
effect-botandTim Smart d9e2d12217 Fence SQL PersistedQueue settlements by acquisition (#9606)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-21 09:50:21 +13:00
Ibrahim ElkamaliandEffect Bot 2dda6cefc6 Fix Path.fromFileUrl throwing a URIError instead of failing with BadArgument (#9615)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:42:40 +13:00
Ibrahim ElkamaliandEffect Bot 70aad3ffe6 Fix quadratic Stream.concat chains that recurse through Stream.suspend (#9622)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:40:58 +13:00
Ibrahim ElkamaliandEffect Bot 0d50570bbf Fix Effect.repeat turning a Done failure from the repeated effect into a success (#9618)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:36:00 +13:00
Ibrahim ElkamaliandEffect Bot a9e66d8890 Fix Stream.retry slowing down with every retry (#9623)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:26:46 +13:00
Ibrahim ElkamaliandEffect Bot ee5c0d5f43 Fix quadratic Stream.zip when chunk sizes differ between sides (#9624)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-21 09:26:25 +13:00
effect-botandTim Smart 1b740862e3 Keep typed SQL errors when SQLite rolls back a transaction itself (#9599)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 09:03:09 +00:00
effect-bot 30319d506c Retain an Effect atom's exposed success after asynchronous failure (#9607) 2026-10-20 08:42:30 +00:00
effect-bot 683ed2cb49 Preserve chat file bytes and URLs across JSON persistence and export (#9602) 2026-10-20 21:39:34 +13:00
effect-botandTim Smart 25f29be77b Install runMain signal handlers before synchronous startup (#9601)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-20 08:35:43 +00:00
effect-bot 78d198818d Wait for replaced FiberMap and FiberHandle fibers during scope cleanup (#9603) 2026-10-20 21:31:24 +13:00
effect-botandTim a301f5d4ab fix(platform-deno): keep signal listeners until the main fiber exits (#9597)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-20 08:29:39 +00:00
Jay HemnaniandEffect Bot 8d52668533 Fix Yaml block scalar indentation picking up less indented comments (#9581)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-20 21:28:06 +13:00
59b63967c1 Fix DateTime.make rejecting lowercase z and gmt designators (#9582)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rahul Kashyap <itisrmk@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-20 21:27:11 +13:00