Skip to content

Commit e5afe40

Browse files
authored
ci(traceability): tolerate SDK conformance failures in the run step (#290)
The `sdk` command exits non-zero when the SDK has conformance failures not in its baseline. The traceability manifest only needs the emitted check IDs (written regardless of pass/fail), so a failing SDK must not fail the refresh. Add `|| true`; the existing 'no results produced' guard catches a genuinely broken run.
1 parent 26e09df commit e5afe40

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/traceability.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ jobs:
5252
- name: Run conformance suites against the reference SDK
5353
# `sdk` requires --mode client|server; run both into the same results dir
5454
# (the second reuses the cached checkout + build via --skip-build).
55+
# `|| true`: the manifest only needs the emitted check IDs (written
56+
# regardless of pass/fail), so SDK conformance failures must not fail
57+
# this step. The "no results produced" guard below is the real safety net.
5558
run: |
56-
node dist/index.js sdk "$SDK_REF" --mode client --suite all -o results
57-
node dist/index.js sdk "$SDK_REF" --mode server --suite all --skip-build -o results
59+
node dist/index.js sdk "$SDK_REF" --mode client --suite all -o results || true
60+
node dist/index.js sdk "$SDK_REF" --mode server --suite all --skip-build -o results || true
5861
5962
- name: Fail if no results were produced
6063
run: |

0 commit comments

Comments
 (0)