pi-roundtable-coding 0.39.0 → 0.39.1

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.39.1] - 2026-11-08
6
+
7
+ ### Fixed
8
+
9
+ - With `settingsInDatabase: true` the stored worker limit is read when the coding-desk service starts, not during setup, so `Roundtable.check()` (which refuses a database query in setup) passes and the host boots.
10
+
5
11
  ## [0.39.0] - 2026-11-08
6
12
 
7
13
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-roundtable-coding",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Repository shelves and owner-approved Pi coding workers for pi-roundtable",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "@earendil-works/pi-ai": ">=1.0.0 <2",
45
45
  "@biomejs/biome": "2.5.15",
46
46
  "@types/bun": "1.4.3",
47
- "pi-roundtable": "0.39.0",
47
+ "pi-roundtable": "0.39.1",
48
48
  "typescript": "7.0.2"
49
49
  }
50
50
  }
@@ -165,7 +165,6 @@ export function coding(options: CodingOptions) {
165
165
  const store = options.settingsInDatabase
166
166
  ? databaseSettings(context.database())
167
167
  : memorySettings();
168
- await applyStoredLimit(store, desk, context.logger);
169
168
  registerSettingsPage(
170
169
  context,
171
170
  desk,
@@ -202,6 +201,8 @@ export function coding(options: CodingOptions) {
202
201
  services: [
203
202
  {
204
203
  name: "coding-desk",
204
+ // The stored limit is read at start: setup must not query the database.
205
+ start: () => applyStoredLimit(store, desk, context.logger),
205
206
  // The host names the channels whose work a shutdown waits for or aborts.
206
207
  busy: () => desk.runningChannels(),
207
208
  stop: () => desk.stop(),