Skip to content

Commit d4b8ecc

Browse files
committed
ci: retry a failed build once before recording it
Also drops the one recorded iOS failure (9.0.3, Xcode 26.4, CLI 9.1.0, Node 26): a linker error that none of its sibling combinations hit, so it is re-run. Sets the KV namespace id and the custom domain route.
1 parent fcae41e commit d4b8ecc

3 files changed

Lines changed: 5 additions & 27 deletions

File tree

‎.github/workflows/compat-check.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ jobs:
111111
ns create compat --tsc --disableAnalytics
112112
cd compat
113113
npm install @nativescript/ios@${{ matrix.runtime }} --save-dev
114-
ns build ios --disableAnalytics
114+
# One retry before a failure is recorded: a runner hiccup must not become a permanent verdict.
115+
ns build ios --disableAnalytics || ns build ios --disableAnalytics
115116
- name: Record result
116117
# A pinned combination that failed is as final as one that passed: record it so it is never rebuilt.
117118
if: always() && steps.build.outcome != 'skipped'
@@ -159,7 +160,7 @@ jobs:
159160
ns create compat --tsc --disableAnalytics
160161
cd compat
161162
npm install @nativescript/android@${{ matrix.runtime }} --save-dev
162-
ns build android --compileSdk ${{ matrix.compileSdk }} --disableAnalytics
163+
ns build android --compileSdk ${{ matrix.compileSdk }} --disableAnalytics || ns build android --compileSdk ${{ matrix.compileSdk }} --disableAnalytics
163164
- name: Record result
164165
if: always() && steps.build.outcome != 'skipped'
165166
run: |

‎data/verified/@nativescript/ios/20260909T100151Z_9.0.3_cocoapods-1.17.0__xcode-26.4__nativescript-9.1.0__node-26.json‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎wrangler.jsonc‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
"not_found_handling": "none"
1111
},
1212
"kv_namespaces": [
13-
// Create once with `npx wrangler kv namespace create COMPAT_KV` and paste the id
14-
// it prints; `wrangler dev` ignores it and uses local storage.
15-
{ "binding": "COMPAT_KV", "id": "00000000000000000000000000000000" }
13+
{ "binding": "COMPAT_KV", "id": "ed0d40f462c842399a720b35a02ebce0" }
1614
],
17-
// Once the nativescript.org zone is on the deploying account:
18-
// "routes": [{ "pattern": "compatibility.nativescript.org", "custom_domain": true }],
15+
"routes": [{ "pattern": "compatibility.nativescript.org", "custom_domain": true }],
1916
"triggers": { "crons": ["0 * * * *"] },
2017
"vars": {
2118
"NPM_REGISTRY": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)