Repository navigation
Update dependency score_tooling to v3.0.2 - #287
Merged
Merged
Conversation
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
Contributor
|
Quality pack traceability report for this pull request: Status: PASS (workflow run) |
Contributor
|
Documentation preview for this pull request is available at: |
NEOatNHNG
approved these changes
Oct 29, 2026
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
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.
This PR contains the following updates:
3.0.1→3.0.2Release Notes
eclipse-score/tooling (score_tooling)
v3.0.2Highlights
rules_score: root causes are argued byRootCauseAssessmentrecords. They replaceMitigationandSafetyMeasure.rules_score: failure modes trace to concrete public API methods, generated from the public API class diagrams.rules_score: formal RST test specifications, and Given/When/Then text derived from gtest test names.rules_score: documentation is keyed by the full target label, so equal target names in different packages or repositories no longer collide.rules_score:$TransferInGatelinks fault trees, requirement ASILs are checked, and the certified-scope check is repository-aware.validation: class template parameters and specializations.cr_checker://and/* */headers are interchangeable.Breaking changes
These changes require edits to build files, TRLC files or PlantUML diagrams.
rules_score: root cause assessments replace mitigations and safety measures (#534)New TRLC type
ScoreReq.RootCauseAssessmentwithroot_causes,measures,safety,rationaleandversion. An assessment withoutmeasuresargues that the root cause does not apply.Removed:
ScoreReq.Mitigation,ScoreReq.SafetyMeasure,AoU.root_causes(and:root_causes:in.rstaou_reqdirectives) and root causes inCompReq.derived_from.Every
CompReq.derived_fromentry needs a version:Package.Item@<version>.safety_analysistakes the assessment files in the new attributeassessments.safety_measuresmay only containassumptions_of_useandcomponent_requirementstargets.assumptions_of_useandcomponent_requirementstargets no longer need thefault_treestarget indeps.The traceability report has the levels "Assumptions of Use" and "Root Cause Assessments" instead of "Safety Measures". Custom LOBSTER templates must use
{OWN_AOU_BLOCK}and{ASSESSMENT_BLOCK}instead of{SAFETYMEASURES_BLOCK}.rules_score: failure modes reference public API methods (#555)FailureMode.interfaceis a list ofScoreReq.ApiMethodrecords instead of a free-text string. The records are generated from thepublic_apiclass diagrams of anarchitectural_design: one per public method name (overloads collapsed) and one per free function.architectural_designhas the new attributepackage, the TRLC package of the generated records. It is required withpublic_api.pumldiagrams and rejected without them.failure_modesmust list thearchitectural_designindeps, and the failure mode filesimportits package.safety_analysis.arch_designis removed.The traceability level "Architecture" is replaced by "Public API". Custom LOBSTER templates must use
{PUBLIC_API_SOURCES}instead of{ARCH_SOURCES}.rules_score: documentation is keyed by the full target label (#542)<repo>/<package>/<name>(_mainfor the main repository) instead of the bare target name.units/<label path>/index.rst,units/<label path>/<diagram>.puml,units/<label path>/<design>.rst.inccomponents/<label path>/index.rst,components/<label path>/requirements/...<repo>/<package>/<dep>/instead of<dep>/. Links to published dependency pages change.SphinxModuleInfo.transitive_modulesandSphinxNeedsInfo.needs_modulesare structs withpath(the label path) instead ofname.UnitInfo.dependent_labelsandComponentInfo.dependent_labelsare depsets of structs(unit_label, dependencies), one per unit, instead of depsets of labels (#533).PlantUML: the provided-interface binding
)-is removed (#544)Component )- Interfaceis rejected. Write the provided binding as-,--or--(). Layout and style hints (-up-,--[bold]--) stay allowed.A bare
--between a component and an interface is a provided binding and no longer an association.Skills
SKILL.mdfiles ofrules-score,score-architecture,score-requirements,score-safety-analysisandscore-testingchanged. Downstream repositories must regenerate theirsync_skillsgoldens.Stricter validations
These changes need no new syntax, but input that built before can now fail.
TRLC requirement ASILs (#540)
FeatReqorCompReqmust not have a lower ASIL than any requirement it is derived from. An upstreamASIL_BforbidsQM, an upstreamASIL_DrequiresASIL_D.trlcis raised from 3.0.1 to 3.1.1. Raise it if you pin an older version.Root cause assessments (#534)
Errors in the
safety_analysisbuild:fault_treestarget generates, or a measure that is not an own AoU or aCompReqofsafety_measures.safetyof an assessment is below the ASIL of a failure mode of its root causes or above the ASIL of a listed measure.Failures of the traceability report of the
dependable_element:Certified scope (#533)
unit.scopeentries are resolved relative to the package of the unit and matched together with the repository: an exact target,:__pkg__or:__subpackages__in the same repository. A scope in another repository no longer matches by package path alone. Add the repository, for example@seooc//:sample_library.implementation.Unit <unit label> depends on <dependency label>, but the dependency is not in any certified scope (<reason>).maturity = "development"and fail otherwise, so release builds can fail on dependencies the old check accepted.Documentation names (#542)
design_namemust be unique within its parent component (case-insensitive).Public API diagrams (#555)
public_apidiagrams of anarchitectural_designmust be class diagrams.new,deleteorco_await. The parser fails withUnsupportedOperator.$TransferInGate(#545)$TransferInGate(alias, connection)connects to the fault tree of the failure modeconnection. The build fails when:aliasis not the fully qualified name of a failure mode (for example"Transfer1").fault_treestargets are not supported.safetyof its assessment must be at least the ASIL of all failure modes of all trees it belongs to.New features
rules_scoretest_specificationtakes an RST file with a Test Goal, an optional Test Focus and at least one Test Step (optional Precondition, Action, Expected). A unit lists them intest_specs, a test refers to one withRecordProperty("test-spec", "//pkg:label"). The coverage lock gets aspeckey per test case, which must not be mixed with Given/When/Then keys.[<Prefix>_]Given<X>[_When<Y>]_(Expect|Then)<Z>does not need thegiven/when/thenproperties. This needs alobsterversion with--derive-gwt-from-test-name. Withlobster1.0.6 only the properties are used. A test case in a coverage lock needs a Given and a Then. The When is optional.PlantUML and
validationcr_checker//or/* */. The other form is derived from the template, and--fixkeeps the form a file already uses (#554).Bug fixes
cr_checker:--modified-onlyhonorsinputsand:(exclude)pathspecs. Before, it checked all modified files. A leading YAML frontmatter block of a Markdown file is kept in front of the header, and--fixno longer breaks it (#546).rules_score: the architecture key conflict check of a dependable element works for elements in non-root packages and external repositories (#543).Migration checklist
Breaking changes:
Mitigation/SafetyMeasurerecords byRootCauseAssessmentrecords and pass them throughsafety_analysis.assessments. Removeroot_causesfrom AoUs and root causes fromCompReq.derived_from. Add@<version>to everyderived_fromentry.packagetoarchitectural_designtargets withpublic_api, list them in thedepsoffailure_modes, removearch_designfromsafety_analysis, and writeFailureMode.interfaceas a list ofApiMethodrecords.{OWN_AOU_BLOCK}and{ASSESSMENT_BLOCK}replace{SAFETYMEASURES_BLOCK}, and{PUBLIC_API_SOURCES}replaces{ARCH_SOURCES}.<repo>/<package>/<dep>/) and custom rules that read the changed provider fields.Component )- InterfacebyComponent - Interfacein PlantUML component diagrams.sync_skillsgoldens.Stricter validations:
FeatReqandCompReqagainst its upstream requirements.unit.scopeentries of external targets and build withmaturity = "release".design_nameunique per component.public_apidiagrams are class diagrams without unsupported operators.$TransferInGatecalls: use the fully qualified failure mode as alias and a failure mode of another tree as connection.This PR was generated by #infrastructure automation. Contact us if you have any questions or feedback.