nylorun 0.11.1-beta → 0.11.2-beta
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# nylorun
|
|
2
2
|
|
|
3
|
+
## 0.11.2-beta
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6711320: `/ready` no longer checks S2: its `checks` cover the listener, the Tenant, Postgres and Restate, and an unreachable S2 leaves it `200`. S2 only serves API listeners (history, SSE, AG-UI and A2A), so an outage degrades those reads and never makes the Runtime unready. S2's reachability stays in the Tenant's status (`GET /v1/tenant`, `streams.reachable`).
|
|
8
|
+
- Pin core to the tested release.
|
|
9
|
+
- Pin runtime to the tested release.
|
|
10
|
+
- Pin studio to the tested release.
|
|
11
|
+
- Updated dependencies [cf5eb9c]
|
|
12
|
+
- Updated dependencies [2ed5fe0]
|
|
13
|
+
- @nylorun/core@0.16.0-beta
|
|
14
|
+
|
|
3
15
|
## 0.11.1-beta
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* secrets, UID/GID, the Host root, the images) comes from `docker/.env`.
|
|
10
10
|
*
|
|
11
11
|
* The Tenant's state is its Postgres database, executed through Restate, with its
|
|
12
|
-
* history in s2-lite; the Runtime's /ready checks
|
|
12
|
+
* history in s2-lite; the Runtime's /ready checks Postgres and Restate. Postgres initialises the
|
|
13
13
|
* database with C collation (`--locale=C`) and runs with `wal_level=logical`: the stream
|
|
14
14
|
* relay feeds s2-lite from the record over logical replication (Durable Streams), and
|
|
15
15
|
* `max_slot_wal_keep_size` caps the WAL a stuck relay can hold. The Runtime creates the
|
|
@@ -10,7 +10,7 @@ import { PINNED_IMAGES } from "./images.js";
|
|
|
10
10
|
* secrets, UID/GID, the Host root, the images) comes from `docker/.env`.
|
|
11
11
|
*
|
|
12
12
|
* The Tenant's state is its Postgres database, executed through Restate, with its
|
|
13
|
-
* history in s2-lite; the Runtime's /ready checks
|
|
13
|
+
* history in s2-lite; the Runtime's /ready checks Postgres and Restate. Postgres initialises the
|
|
14
14
|
* database with C collation (`--locale=C`) and runs with `wal_level=logical`: the stream
|
|
15
15
|
* relay feeds s2-lite from the record over logical replication (Durable Streams), and
|
|
16
16
|
* `max_slot_wal_keep_size` caps the WAL a stuck relay can hold. The Runtime creates the
|
|
@@ -131,8 +131,8 @@ ${restateUi ? RESTATE_UI : RESTATE_CLOSED} healthcheck:
|
|
|
131
131
|
volumes:
|
|
132
132
|
- s2-lite:/home/nonroot
|
|
133
133
|
networks: [store]
|
|
134
|
-
# The s2 image has no shell or HTTP client, so it has no health check
|
|
135
|
-
# the
|
|
134
|
+
# The s2 image has no shell or HTTP client, so it has no health check.
|
|
135
|
+
# Its reachability is in the Tenant's status (GET /v1/tenant, streams.reachable).
|
|
136
136
|
restart: unless-stopped
|
|
137
137
|
|
|
138
138
|
rustfs: # the Object store (D35); not published, only the runtime and the gateway hold its credential
|
|
@@ -19,7 +19,8 @@ export declare function listOperatorKeys(endpoint: OperateEndpoint): Promise<Ope
|
|
|
19
19
|
export declare function deleteOperatorKey(endpoint: OperateEndpoint, id: string): Promise<boolean>;
|
|
20
20
|
/**
|
|
21
21
|
* Whether `key` reaches the Tenant at `runtimeUrl`: one authenticated read (`GET /v1/me`, which
|
|
22
|
-
* every key reaches). An unknown key is
|
|
22
|
+
* every key reaches). An unknown key is `401 credential_invalid` (protocol 9; the opaque 404
|
|
23
|
+
* before), a key of no use here `403`; another answer is an error.
|
|
23
24
|
*/
|
|
24
25
|
export declare function keyAuthenticates(fetch: FetchLike, runtimeUrl: string, key: string): Promise<boolean>;
|
|
25
26
|
/**
|
|
@@ -43,7 +43,8 @@ export async function deleteOperatorKey(endpoint, id) {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Whether `key` reaches the Tenant at `runtimeUrl`: one authenticated read (`GET /v1/me`, which
|
|
46
|
-
* every key reaches). An unknown key is
|
|
46
|
+
* every key reaches). An unknown key is `401 credential_invalid` (protocol 9; the opaque 404
|
|
47
|
+
* before), a key of no use here `403`; another answer is an error.
|
|
47
48
|
*/
|
|
48
49
|
export async function keyAuthenticates(fetch, runtimeUrl, key) {
|
|
49
50
|
let response;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nylorun",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepack": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nylorun/core": "0.
|
|
33
|
+
"@nylorun/core": "0.16.0-beta"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"nylorun": "dist/cli.js"
|
|
42
42
|
},
|
|
43
43
|
"nylorun": {
|
|
44
|
-
"runtime": "0.
|
|
45
|
-
"studio": "0.22.
|
|
44
|
+
"runtime": "0.20.0-beta",
|
|
45
|
+
"studio": "0.22.2-beta"
|
|
46
46
|
}
|
|
47
47
|
}
|