Replies: 1 comment
|
Thanks — all three observations are useful; #1 and #2 have clear answers in the source.
To pass provenance explicitly, either route works:
Agreed that a user-facing doc line is warranted; the semantics live in the package READMEs
Unverified: verified statically against master (c291e79); I did not re-run your exact |
Uh oh!
There was an error while loading. Please reload this page.
Hi — reporting two runtime observations from a real deployment (Linux container, DSH 0.1.1-rc.2,
--profile headless), in case they are useful. Both are reproducible; I did not isolate the exact mechanism, so I am reporting behavior rather than claiming a bug.1. DSH_-prefixed environment variables do not reach the spawned headless session.
We passed an attribution marker on the parent process environment when spawning
dsh --profile headless <task>.Inside the session, the tool that reads it saw nothing (recorded
UNKNOWN). Renaming the variables to a non-DSH prefix made them visible immediately; same host, same profile, same invocation. We could not determine whether the filter is applied to the DSH process environment or only to the session it spawns, so this is a phenomenon report: if you need to pass provenance into a dispatched session, a non-DSH_prefix works;DSH_-prefixed names appear to be dropped. If that is intended namespacing hygiene, it may be worth one line in the docs.2. MCP client tool registration is not refreshed after a connection failure.
A streamable-HTTP MCP server was unreachable when the session started (every call returned
fetch failed). After the server came back, calls in the same session returnedunknown tool— the tool list was never re-fetched — and only a new session could use the server. If accurate, re-listing tools on reconnect/retry would make long-lived sessions recover without a restart.3. Session logs can end with a partial zstd frame.
session.jsonl.zstdmay end mid-frame while live. A tail decoder that walks frame boundaries can distinguish "torn at the tail (expected while writing)" from "torn in the middle (corruption)". Not a request — just noting the distinction we had to make.Happy to provide minimal reproductions (sanitized: no private addresses or paths). Thanks for the harness.
All reactions