fix: release.yml runtime failures — gcov-12 + non-blocking cert gap reports#12
Merged
Conversation
…ports After the YAML parse fix (PR #10) the Release workflow ran for real and surfaced two runtime failures, both already solved the same way in ci.yml: 1. `lcov --capture` failed with "GCOV failed ... .gcda" because the coverage build uses g++-12 but the runner's default gcov is v11. Add `--gcov-tool gcov-12`, matching ci.yml. 2. The certification gap/coverage reports (ISO 26262 ASIL-B, IEC 61508 SIL-2, DO-178C DAL-B, structural coverage, full compliance report) grade against 100% thresholds the stub bridge implementations cannot meet, so they exit non-zero by design. The release workflow's job is to GENERATE these artifacts, not gate on them (gating lives in ci.yml), so append `|| true` — same pattern as ci.yml's cpfusa-report job. Pure artifact generators (fmea, safety-case, tara, sbom, sas, sci, audit-pack, badge) and the qualify gate stay hard. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Follow-up to PR #10. With the YAML parse error fixed, the
Releaseworkflow ran end-to-end for the first time (4m39s, jobs executed) and revealed two runtime failures — both already solved identically inci.yml.Failure 1 — GCOV version mismatch
Tests pass (27/27) but
lcov --capturefails: the coverage build usesg++-12, producing gcov-12-format.gcdafiles, while the runner's defaultgcovis v11. Fix: add--gcov-tool gcov-12(same asci.yml).Failure 2 — certification gap reports gate on unreachable thresholds
The ISO 26262 (ASIL-B), IEC 61508 (SIL-2), DO-178C (DAL-B), structural coverage, and full-compliance-report steps grade against 100% thresholds that the stub bridge implementations cannot meet, so they exit non-zero by design. The release workflow's purpose is to generate these artifacts, not gate on them (gating lives in
ci.yml). Fix: append|| trueto exactly those steps — the same treatmentci.yml'scpfusa-reportjob already uses.Pure artifact generators (
fmea,safety-case,tara,release/SBOM,sas,sci,audit-pack,badge) and thequalifygate remain hard.Validation
release.ymlcleanlyReleaseworkflow runs green and commits artifacts