@trackunit/iris-app 2.15.15-alpha-86dd3430ebe.0 → 2.15.16

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,3 +1,36 @@
1
+ ## 2.15.16 (2026-11-04)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-build-utilities to 3.0.14
6
+ - Updated iris-app-api to 2.13.2
7
+ - Updated react-vite-test-setup to 0.0.200
8
+ - Updated css-classname-utils to 0.0.108
9
+ - Updated react-graphql-tools to 1.23.31
10
+ - Updated shared-utils to 1.22.27
11
+
12
+ ## 2.15.15 (2026-11-03)
13
+
14
+ ### 🩹 Fixes
15
+
16
+ - **iris-app:** retry submit when iris-app-sdk-server's upstream fetch fails ([#27291](https://github.com/Trackunit/manager/pull/27291))
17
+
18
+ ### ❤️ Thank You
19
+
20
+ - mta
21
+ - Nick Lediet
22
+
23
+ ## 2.15.14 (2026-11-03)
24
+
25
+ ### 🧱 Updated Dependencies
26
+
27
+ - Updated iris-app-build-utilities to 3.0.13
28
+ - Updated iris-app-api to 2.13.1
29
+ - Updated react-vite-test-setup to 0.0.199
30
+ - Updated css-classname-utils to 0.0.107
31
+ - Updated react-graphql-tools to 1.23.30
32
+ - Updated shared-utils to 1.22.26
33
+
1
34
  ## 2.15.13 (2026-11-03)
2
35
 
3
36
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app",
3
- "version": "2.15.15-alpha-86dd3430ebe.0",
3
+ "version": "2.15.16",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "main": "src/index.js",
6
6
  "generators": "./generators.json",
@@ -10,7 +10,7 @@
10
10
  "node": ">=24.x"
11
11
  },
12
12
  "dependencies": {
13
- "@trackunit/css-classname-utils": "0.0.108-alpha-86dd3430ebe.0",
13
+ "@trackunit/css-classname-utils": "0.0.108",
14
14
  "@typescript-eslint/types": "8.71.2",
15
15
  "@typescript-eslint/typescript-estree": "8.71.2",
16
16
  "pacote": "^21.5.1",
@@ -26,10 +26,10 @@
26
26
  "@nx/react": "23.3.0",
27
27
  "@npmcli/arborist": "^9.1.9",
28
28
  "win-ca": "^3.5.1",
29
- "@trackunit/iris-app-build-utilities": "3.0.14-alpha-86dd3430ebe.0",
30
- "@trackunit/react-graphql-tools": "1.23.31-alpha-86dd3430ebe.0",
31
- "@trackunit/shared-utils": "1.22.27-alpha-86dd3430ebe.0",
32
- "@trackunit/iris-app-api": "2.13.2-alpha-86dd3430ebe.0",
29
+ "@trackunit/iris-app-build-utilities": "3.0.14",
30
+ "@trackunit/react-graphql-tools": "1.23.31",
31
+ "@trackunit/shared-utils": "1.22.27",
32
+ "@trackunit/iris-app-api": "2.13.2",
33
33
  "tslib": "^2.6.2",
34
34
  "@clack/prompts": "^1.8.1",
35
35
  "@nx/devkit": "23.3.0",
@@ -90,6 +90,20 @@ function isRetryableError(statusCode, code, type) {
90
90
  }
91
91
  return RETRYABLE_TRANSPORT_CODES.has(code) || (code === "FETCH_ERROR" && type === "request-timeout");
92
92
  }
93
+ /**
94
+ * Older iris-app-sdk-server releases answer a failed outbound fetch of their own with
95
+ * 400 `{ error: "fetch failed" }`, which npm-registry-fetch appends to the message as " - fetch failed".
96
+ * That is a transient server-side failure, not a rejected package.
97
+ *
98
+ * @param {NpmGeneralError} error The failed upload attempt.
99
+ * @returns {boolean} Whether the attempt should be retried.
100
+ */
101
+ function isRetryableUploadError(error) {
102
+ if (error.statusCode === 400 && error.message.includes(" - fetch failed.")) {
103
+ return true;
104
+ }
105
+ return isRetryableError(error.statusCode, error.code, error.type);
106
+ }
93
107
  function isRetryableApproveError(statusCode, code, type) {
94
108
  // Same as isRetryableError but also accept 404 for approvals.
95
109
  // 404 can happen spuriously on approval
@@ -153,7 +167,7 @@ async function doUploadAppWithRetry(accessToken, manifest, tarData, settings, re
153
167
  console.error("❌ Unable to ship app package. Got error from Iris App SDK repository.", e);
154
168
  return { success: false };
155
169
  }
156
- if (!isRetryableError(e.statusCode, e.code, e.type)) {
170
+ if (!isRetryableUploadError(e)) {
157
171
  console.error("❌ Unable to ship app package.", e.message);
158
172
  return { success: false };
159
173
  }