@bongos/core 1.21.137 → 1.21.138

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/.bongos-core.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "artifact": "bongos-core",
3
3
  "manifest_schema": 1,
4
4
  "generator": "scripts/gds/package-core.js",
5
- "core_version": "1.21.137",
6
- "core_contract": "1.21.137",
7
- "source_commit": "c86eb51909d157098d89f465fc59e049fa7d1e58",
5
+ "core_version": "1.21.138",
6
+ "core_contract": "1.21.138",
7
+ "source_commit": "3307f4f23dc68c88922c26c206f2b041da8bf3d4",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-10-16T01:50:11.654Z",
9
+ "built_at": "2026-10-16T15:05:39.871Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 608,
@@ -17,7 +17,7 @@
17
17
  "gate": "passed"
18
18
  },
19
19
  "file_count": 3793,
20
- "tree_sha256": "8d4bf55e04fe47b2dec6621adc95f663ff1324a9e0ed6740af8800eccc2626e1",
20
+ "tree_sha256": "148552833fb05705d271f53afc3ac47d86e7af12487257789793806e78b80056",
21
21
  "files": [
22
22
  {
23
23
  "path": ".claude/skills/ask-for-help/SKILL.md",
@@ -2927,7 +2927,7 @@
2927
2927
  {
2928
2928
  "path": "docs/module-api-changelog.md",
2929
2929
  "mode": "0000644",
2930
- "sha256": "5ea7a7e2b29d2b955b5cd63a3e7824b8ad061869ba333d80cfcca4743a69e623"
2930
+ "sha256": "a396e4e846449b27335fe9d06c7f21f68ede73befc3523547792a261a5cbd069"
2931
2931
  },
2932
2932
  {
2933
2933
  "path": "docs/modules-contract.md",
@@ -8972,7 +8972,7 @@
8972
8972
  {
8973
8973
  "path": "modules/provisioning/tests/liveness.mjs",
8974
8974
  "mode": "0000644",
8975
- "sha256": "f4adaf4dacf05b31f7848c62fafafc3f0498e276b2f4fe4d04f18ee5b27fd969"
8975
+ "sha256": "df0d0d2a55b014921aba7095340d4faa37ef24ddc51d61b62fedb101f07ab41c"
8976
8976
  },
8977
8977
  {
8978
8978
  "path": "modules/provisioning/tests/provisioning.mjs",
@@ -10532,12 +10532,12 @@
10532
10532
  {
10533
10533
  "path": "package-lock.json",
10534
10534
  "mode": "0000644",
10535
- "sha256": "5d3f851dfffdd8dbe16087aac434d8a61c1ea2b787fea127e96826403dab0d88"
10535
+ "sha256": "29a972d04433a70d46c6b360d0674eced22aa9cd2ac7061cc3644624c27e0050"
10536
10536
  },
10537
10537
  {
10538
10538
  "path": "package.json",
10539
10539
  "mode": "0000644",
10540
- "sha256": "829d826c6156f982b406a867b1da02ebe7ec434bf891b9983673611665d7adba"
10540
+ "sha256": "71e3545fc65fccd8d6c291665472d7651f64c0d7357ef022dfa9c6fc84290888"
10541
10541
  },
10542
10542
  {
10543
10543
  "path": "public-docs/index.html",
@@ -10557,7 +10557,7 @@
10557
10557
  {
10558
10558
  "path": "release-notes.json",
10559
10559
  "mode": "0000644",
10560
- "sha256": "4897187dcf8923c5d1844383a8d40b2c936539fc95ed163bb5317626445a740f"
10560
+ "sha256": "384135bd5f6ed0188913dc93c0d1b66b5f576f13963d3a6de57702e43d4bf7f7"
10561
10561
  },
10562
10562
  {
10563
10563
  "path": "scripts/cron/style_guide_audit.sh",
@@ -12922,7 +12922,7 @@
12922
12922
  {
12923
12923
  "path": "src/module-api.js",
12924
12924
  "mode": "0000644",
12925
- "sha256": "625f9f01ac46bee06958b614342e87158b4051716ac67e0a3b4f35117f9a300a"
12925
+ "sha256": "9d00a52aa43e32e3acabebfaabc32cea009a1bece8044336cc9f44b482a4ff2d"
12926
12926
  },
12927
12927
  {
12928
12928
  "path": "src/module-loader/catalog.js",
@@ -3111,5 +3111,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
3111
3111
  landed since 1.21.135 with no explicit bump. run 38824385358. (task 1002620)
3112
3112
  1.21.137 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
3113
3113
  landed since 1.21.136 with no explicit bump. run 38837186601. (task 1002620)
3114
+ 1.21.138 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
3115
+ landed since 1.21.137 with no explicit bump. run 38920999785. (task 1002620)
3114
3116
  ---------------------------------------------------------------------------
3115
3117
  ```
@@ -394,10 +394,17 @@ provisioning.enqueueIntent = async (_db, id, action) => {
394
394
  return { intent: { id: 9, action, state: 'pending' }, created: true };
395
395
  };
396
396
  provisioning.recordEvent = async () => {};
397
+ // The instance read also carries the GitHub-App leg and its checklist; create looks up
398
+ // the slug first, and a "Try again" is a re-request of the row that already exists.
399
+ provisioning.getLatestOAuthManifestForInstance = async () => null;
400
+ provisioning.getInstanceBySlug = async () => (createResult ? { ...createResult.instance } : null);
401
+ require('../github-setup.js').githubSetupFacts = async () => ({});
397
402
 
398
403
  const api = require('../../../src/module-api.js');
399
404
  api.requireBuilder = (req, _res, next) => { req.builder = { id: 7, github_login: 'owner' }; next(); };
400
405
  api.requirePermission = () => (_req, _res, next) => next();
406
+ // Any read the stubs above miss fails here by name, never by dialling a real Postgres.
407
+ Object.defineProperty(api, 'pool', { value: { query: async (sql) => { throw new Error(`liveness.mjs: unstubbed query: ${sql}`); } } });
401
408
 
402
409
  const express = require('express');
403
410
  const provisioningRoutes = require('../routes/provisioning.js');
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@bongos/core",
3
- "version": "1.21.137",
3
+ "version": "1.21.138",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@bongos/core",
9
- "version": "1.21.137",
9
+ "version": "1.21.138",
10
10
  "license": "AGPL-3.0-or-later",
11
11
  "dependencies": {
12
12
  "express": "^4.21.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bongos/core",
3
- "version": "1.21.137",
3
+ "version": "1.21.138",
4
4
  "description": "Cloud Bongos — the AI-first build platform core (GDS + platform surfaces + module system), installed as a versioned dependency (ADR 0108).",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "main": "src/platform-server.js",
@@ -9824,5 +9824,11 @@
9824
9824
  "id": "1004746",
9825
9825
  "text": "Builders can now register, list, rename and remove a hardware security card from Settings."
9826
9826
  }
9827
+ ],
9828
+ "1.21.138": [
9829
+ {
9830
+ "id": "1004751",
9831
+ "text": "A provisioning test that had quietly been failing since August passes again, and it can no longer reach a real database by accident."
9832
+ }
9827
9833
  ]
9828
9834
  }
package/src/module-api.js CHANGED
@@ -75,7 +75,7 @@ const { responsibilityFor, ROLE_RESPONSIBILITIES } = require('./role-responsibil
75
75
  // MAJOR (see allowBoxScope below): passes the request through untouched.
76
76
  function deprecatedNoopMiddleware(_req, _res, next) { next(); }
77
77
 
78
- const CORE_VERSION = '1.21.137'; // CI auto-patch carrier (ADR 0161); changelog: docs/module-api-changelog.md
78
+ const CORE_VERSION = '1.21.138'; // CI auto-patch carrier (ADR 0161); changelog: docs/module-api-changelog.md
79
79
 
80
80
  // A namespaced logger so a module's log lines are attributable + consistent.
81
81
  // Usage: const log = api.logger('discord'); log.info('mounted');