Skip to content

Epic: SW development plan - guidelines and configuration #2467

Open

Description

@aschemmel-tech

What

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?

Activity

  1. changed the title [-]Improvement: SW developmet plan - guidelines and configuration[/-] [+]Epic: SW developmet plan - guidelines and configuration[/+] on Jan 20, 2026
  2. changed the title [-]Epic: SW developmet plan - guidelines and configuration[/-] [+]Epic: SW development plan - guidelines and configuration[/+] on Feb 25, 2026
  3. moved this from Backlog to Ready in S-CORE Roadmapon Nov 3, 2026
  4. added this to the v0.10 milestone on Nov 3, 2026
  5. masc2023 commented on Nov 18, 2026

    @masc2023
    Contributor

    @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

  6. PandaeDo commented on Nov 23, 2026

    @PandaeDo
    Contributor

    Status check against the plan and the implementation in communication, baselibs and persistency:

    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
    • baselibs / persistency: extend strict_warnings, add forbid(unsafe_code) resp. // SAFETY: justification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions