@sjawhar/claude-envoy 2.45.1 → 2.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.omp-plugin/plugin.json
CHANGED
package/dist/envoy-channel.js
CHANGED
|
@@ -57735,7 +57735,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
57735
57735
|
|
|
57736
57736
|
// package.json
|
|
57737
57737
|
var name = "@sjawhar/claude-envoy";
|
|
57738
|
-
var version2 = "2.45.
|
|
57738
|
+
var version2 = "2.45.3";
|
|
57739
57739
|
var legion = {
|
|
57740
57740
|
daemonApiVersion: 152
|
|
57741
57741
|
};
|
|
@@ -68,8 +68,22 @@ heavy run goes where your deployment's instructions say.
|
|
|
68
68
|
server is the roles container's launcher's job — it runs `legion-testpg ensure` before any role
|
|
69
69
|
starts and again every 15 seconds — so wait about that interval and try again. Never start a
|
|
70
70
|
server of your own beside it, and never reach for another DSN. Still refused after that wait:
|
|
71
|
-
report it, with the error you got
|
|
72
|
-
your change.
|
|
71
|
+
report it, with the error you got, the port you used and the server's log lines from the minute
|
|
72
|
+
it failed (next bullet), as a fault of the pod rather than of your change.
|
|
73
|
+
- The server's log is the read-only file `$LEGION_TEST_PG_LOG` names
|
|
74
|
+
(`tail -n 200 "$LEGION_TEST_PG_LOG"`). For every connect the server takes, the process it starts
|
|
75
|
+
for it writes a `connection received: host=127.0.0.1 port=<client port>` line, then
|
|
76
|
+
`connection ready` with the setup and fork times, and a `disconnection` line at the end. A
|
|
77
|
+
connect that failed with lines of its own failed in the server, and the log says why; one the
|
|
78
|
+
server could not start a process for leaves `could not fork new process for connection`
|
|
79
|
+
instead. A connect with neither line at the time it failed never reached the server: a burst of
|
|
80
|
+
more connects at once than the server's listen queue (about 940) is dropped before the server
|
|
81
|
+
sees it, and libpq reports such a connect as `server closed the connection unexpectedly` or
|
|
82
|
+
waits until its own timeout. Open the connections in smaller steps, or retry them. Your login
|
|
83
|
+
holds `pg_monitor`, so `pg_stat_activity` also shows the detail of connections under the other
|
|
84
|
+
logins of the server, such as the ones a suite creates. `LEGION_TEST_PG_LOG` unset: a server
|
|
85
|
+
you started yourself (next bullet) logs to `$LEGION_TESTPG_DIR/server.log`; with the DSN your
|
|
86
|
+
pod set and no such variable, your pod's image predates the log, so report without it.
|
|
73
87
|
- `LEGION_TEST_PG_DSN` unset: your deployment has not turned the pod's server on, so no launcher
|
|
74
88
|
is starting one and nothing will appear while you wait. With `legion-testpg` on `PATH`, start
|
|
75
89
|
one yourself on the issue's volume: the directory it defaults to is a 1 MiB filesystem your
|
package/package.json
CHANGED
|
@@ -190,8 +190,13 @@ Without the grant line the status is the client's own:
|
|
|
190
190
|
source with why it had nothing.
|
|
191
191
|
- **2** — a usage error: no `AGENT_SECRETS_URL`, no `--`, no `NAME`, or a flag value the client
|
|
192
192
|
refuses.
|
|
193
|
-
- **75** — the request still waits for a person. The message names who
|
|
194
|
-
`agent-secrets status <request_id>` that reads it.
|
|
193
|
+
- **75** — the request still waits for a person when `--wait` runs out. The message names who
|
|
194
|
+
decides it, where, and the `agent-secrets status <request_id>` that reads it. A status poll
|
|
195
|
+
that did not reach the broker (a reset, a timeout, a 502 or 503) does not end the wait: stderr
|
|
196
|
+
says once that the command keeps waiting, and polling goes on. If the wait runs out while polls
|
|
197
|
+
still fail, the exit is 75 too, and the message names the last failure; `agent-secrets status
|
|
198
|
+
<request_id>` says whether the request was decided, and running the same command again (the same
|
|
199
|
+
names and `--ttl`, from the same session) collects a grant it already has, asking no one again.
|
|
195
200
|
- **77** — the request was denied. The approver denied it, the policy refused a name (a
|
|
196
201
|
service's secret, or one whose requesters list does not name this session), or the request
|
|
197
202
|
named a secret a person must approve and carried no reason, which the detail reads
|