Skip to content

fix: pin cpp-FuSa checkout to v0.15.0 in CI workflows - #16

Merged
SoundMatt merged 1 commit into
mainfrom
fix/pin-cpp-fusa-v0.15.0
Jul 28, 2026
Merged

fix: pin cpp-FuSa checkout to v0.15.0 in CI workflows#16
SoundMatt merged 1 commit into
mainfrom
fix/pin-cpp-fusa-v0.15.0

Conversation

@SoundMatt

Copy link
Copy Markdown
Owner

Summary

  • Both fusa-asil-b and sarif jobs in .github/workflows/ci.yml checked out SoundMatt/cpp-FuSa from its default branch (unpinned/floating). Pin both checkouts to the released ref: v0.15.0 tag so CI evidence is reproducible and not silently affected by upstream tool changes.
  • Searched .github/workflows/*.yml for every occurrence of the cpp-FuSa checkout pattern — confirmed exactly two (fusa-asil-b job, sarif job), both fixed. dco.yml and release.yml do not reference cpp-FuSa.

Closes #15

Test plan

  • Push and watch CI to a real terminal state, specifically the fusa-asil-b job (cpp-FuSa safety-lifecycle qualification), since pinning to a released version could surface differences vs. whatever main currently produces.
  • If cpfusa v0.15.0 output differs from what main produced, fix cpp-LIN's actual safety-evidence content/config to satisfy it (not by unpinning or picking an older version).

Both the fusa-asil-b and sarif jobs in ci.yml checked out cpp-FuSa
from its default branch, floating on whatever main happened to be
at CI run time. Pin both to the released ref: v0.15.0 tag.

Closes #15

Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
@SoundMatt
SoundMatt merged commit b2480f4 into main Jul 28, 2026
15 checks passed
@SoundMatt
SoundMatt deleted the fix/pin-cpp-fusa-v0.15.0 branch July 28, 2026 21:39
SoundMatt added a commit that referenced this pull request Jul 30, 2026
CI's `go install github.com/SoundMatt/RELAY/cmd/relay@latest` used the
bare (pre-v2) module path. Since RELAY v2.0.0, Go's semantic import
versioning rules require the /v2 suffix for that path to resolve at
all — the bare path has been silently resolving to the last v1.x tag
(v1.14.0) this whole time, three spec releases behind (v1.12, v1.13,
v1.14, v2.0 all shipped since), and would keep resolving there forever
now that v2.x tags live under the new path (RELAY#70).

Changed to `go install github.com/SoundMatt/RELAY/v2/cmd/relay@v2.0.4`,
an explicit pin rather than @latest, matching this repo's existing
"pin, don't float" convention for external tool checkouts (e.g.
cpp-FuSa is pinned to v0.15.0 in the same workflow, #16).

Verified conformance against the real RELAY v2.0.4 CLI (built the same
way CI now will) before pushing:
- `relay conform --strict ./build/cli/cpp-lin-cli` — PASS
- `relay interop --strict --protocol LIN ./build/cli/cpp-lin-cli` — PASS,
  including both LIN error vectors (lin-id-overflow,
  lin-diagnostic-wrong-checksum). Those reject-path vectors were never
  actually exercised by any implementation's CI before now — RELAY
  v1.13 fixed a `go:embed` glob bug that had made spec/vectors/errors/*
  unreachable via the Vector API, so `relay interop`'s error-path
  comparison silently only ever ran the happy path. cpp-LIN's
  validate_frame() already rejects both cases correctly, so no gap.

Read RELAY spec/CHANGELOG.md v1.12/v1.13/v1.14/v2.0 in full: v1.12 (add
"c" as a valid CLI language) and v1.14 (RCP/DDS module-name registry)
don't touch LIN or C++. v1.13's §18.2 HealthProvider/MetricsProvider/
Drainer C++ binding shapes are optional-interface documentation, not a
new mandatory requirement — no code change needed. v2.0's RCP
canonical-type replacement is RCP-specific, as expected, and doesn't
touch LIN.

No library code or test vectors changed, and no new conformance gap
was found, so no version bump — consistent with this repo's precedent
for pure CI-pin fixes (#16, which also didn't bump the version).

Full local suite also re-run and green: 171/171 ctest, ASan+UBSan
(171/171). clang-tidy/gcc-12 aren't available on this machine and
weren't run locally; CI runs them natively on Ubuntu with the pinned
versions this workflow already specifies.

Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
SoundMatt added a commit that referenced this pull request Jul 30, 2026
Both the fusa-asil-b and sarif jobs in .github/workflows/ci.yml were
pinned to cpp-FuSa v0.15.0 (#16), three releases behind the current
v0.18.0. Bump both checkouts.

Built cpp-FuSa v0.18.0 locally the same way CI does and ran the full
fusa-asil-b gating sequence (init, check, lint, trace, cyber, qualify,
hara init, iso26262, iec61508, boundary, tara, fmea, safety-case, sas,
sci, badge, vuln, metrics, report) plus the sarif job's check --format
sarif against cpp-LIN's own tree, for real, before pushing. No new
ERROR-level findings: check/lint/cyber/qualify all pass clean (0
errors), identical to v0.15.0's clean-pass status; qualify's 8/8 case
suite still passes.

cyber's scanned-file count dropped from 28 to 16 (findings 43 -> 33)
between the two binaries — traced to upstream commit 8564bf0 (part of
the v0.16-v0.18 range), which fixed source-walking commands to honour
.fusa.json's sourceDirs (["src", "include"]) per x-FuSa spec S1.2.1.
v0.15.0 was over-scanning cli/ and tests/, outside this project's
declared source scope; v0.18.0 correctly excludes them. This is a
upstream bug fix, not a suppression of real findings.

iso26262/iec61508 gap-report commands still exit 1 (gaps > 0, expected
for a project without full formal ISO 26262 documentation) but both
calls in ci.yml are already wrapped in `|| true`, unchanged from
v0.15.0's behavior.

Full local suite re-run clean: cmake/ninja Release build (171/171
ctest), ASan+UBSan Debug build (171/171 ctest). ThreadSanitizer could
not be exercised locally (this sandbox's arm64 toolchain lacks a
linkable libtsan runtime); CI runs it natively on ubuntu-22.04/gcc-12
where TSan is supported, unaffected by this change.

No version bump: pure CI-tool-pin fix with no behavior change and no
new findings, same category as #16 and #50 (neither bumped the
version or touched CHANGELOG.md).

Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin cpp-FuSa to v0.15.0 instead of floating on unpinned (default branch)

1 participant