@link-assistant/hive-mind 1.77.0 → 1.77.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.77.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3f9dd61: fix(ci): retry `npm install`/`npm ci` on transient registry network errors (#1903)
8
+
9
+ CI run 27332260596 failed in the `test-execution` job when `npm install` aborted
10
+ mid-download with `npm error code ECONNRESET` / `npm error network aborted` — a
11
+ transient GitHub-runner ↔ npm-registry network drop, not a code defect. The bare
12
+ install step had no retry, so a single dropped socket failed the whole job (a
13
+ false positive).
14
+ - Add `scripts/npm-install-with-retry.mjs`: a Node-builtin-only wrapper that runs
15
+ `npm install`/`npm ci` and retries the whole command with exponential backoff on
16
+ transient failures only, reusing the `isRetryableNpmError`/`computeBackoffMs`
17
+ helpers introduced for issue #1724 (no code duplication). Verbose mode via
18
+ `NPM_INSTALL_RETRY_VERBOSE=1`; tunable via `NPM_INSTALL_MAX_ATTEMPTS` /
19
+ `NPM_INSTALL_BASE_DELAY_MS`.
20
+ - Route all 8 dependency-install steps in `.github/workflows/release.yml` through
21
+ the wrapper (fixing the bug in every place it existed).
22
+ - Add `.npmrc` raising npm's built-in `fetch-retries` budget, hardening local,
23
+ CI, and Docker installs as defense in depth.
24
+ - Unit test `tests/test-npm-install-with-retry-1903.mjs` (mocked npm runner) and a
25
+ deep case study under `docs/case-studies/issue-1903/`.
26
+
3
27
  ## 1.77.0
4
28
 
5
29
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.77.0",
3
+ "version": "1.77.1",
4
4
  "description": "AI-powered issue solver and hive mind for collaborative problem solving",
5
5
  "main": "src/hive.mjs",
6
6
  "type": "module",