You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Epic: SW development plan - guidelines and configuration #2467
Several guidelines and settings still need to be defined:
Compiler settings
Rust guidelines and static code analysis
Static code analysis C++ config
Follow-ups for the next increment
@aschemmel-tech: the three items above are covered by #3516 (see the status comment). The following open points are proposed for the next increment:
score_rust_policies: define the lint set of the Clippy strict profile. Since score_rust_policies#3 both strict and relaxed only contain msrv. Wire the lint levels into linters.bzl as rustc flags, because Cargo.toml[lints] are not applied to Bazel builds. Decide on overflow-checks for opt builds and align the README.
communication: switch from the local quality/compiler_warnings to the warning features of score_cpp_policies, or show that they are equivalent to strict_warnings.
communication: fix the clang-tidy HeaderFilterRegex, which uses a negative lookahead not reliably supported by LLVM. Check WarningsAsErrors against the baseline.
communication: add a // SAFETY: justification for each unsafe block in score_com_macros.
baselibs / persistency: extend strict_warnings to all safety-relevant packages. Today REPO.bazel enables only minimal_warnings.
baselibs: add #![forbid(unsafe_code)] to crates without unsafe. For crates with unsafe (memres, stop_token, libcpp_derive, score_log, stdout_logger), add a // SAFETY: justification for each block.
Rust coding rules catalogue (doc__rust_coding_rules): move from draft to valid once the SCRC coding guidelines are available.
clang-tidy: tailor per module and extend WarningsAsErrors step by step.
How
No response
Estimates for realization
Three man months
Category
Affects Detailed Design
Requirements / Architecture
Requirements / Architecture are not affected by this change?
changed the title [-]Improvement: SW developmet plan - guidelines and configuration[/-][+]Epic: SW developmet plan - guidelines and configuration[/+]on Jan 20, 2026
changed the title [-]Epic: SW developmet plan - guidelines and configuration[/-][+]Epic: SW development plan - guidelines and configuration[/+]on Feb 25, 2026
Proposal: merge #3516, move the follow-ups below to the next increment and close this epic.
score_rust_policies: define the lint set of the Clippy strict profile (incl. overflow-checks, README alignment)
communication: switch to the central warning features of score_cpp_policies, fix the clang-tidy HeaderFilterRegex (negative lookahead), document unsafe in score_com_macros
Activity
[-]Improvement: SW developmet plan - guidelines and configuration[/-][+]Epic: SW developmet plan - guidelines and configuration[/+][-]Epic: SW developmet plan - guidelines and configuration[/-][+]Epic: SW development plan - guidelines and configuration[/+]masc2023 commentedon Nov 18, 2026
@PandaeDo , @anmittag please check, either close it or move it to the next increment, means remove it from that EPIC, so we can close it, thank you
PandaeDo commentedon Nov 23, 2026
Status check against the plan and the implementation in communication, baselibs and persistency:
minimal_warnings+warnings_as_errors. communication uses module-specific warning features (minimal + MISRA set +-Werror); their equivalence tostrict_warningsis not yet checked. The SW development plan is updated in SW development plan: reference central compiler settings and static analysis configuration #3516.score_rust_policieswithfail_on_violationin the CI of all three modules. SW development plan: reference central compiler settings and static analysis configuration #3516 documents this as the current rule. Open point: thestrictprofile has been empty since score_rust_policies#3, so the extended lint set in the guideline is marked as target state (see first follow-up below).Proposal: merge #3516, move the follow-ups below to the next increment and close this epic.
strictprofile (incl.overflow-checks, README alignment)HeaderFilterRegex(negative lookahead), documentunsafeinscore_com_macrosstrict_warnings, addforbid(unsafe_code)resp.// SAFETY:justificationSW development plan: reference compiler settings and static analysis
SW development plan: reference compiler settings and static analysis