inspection record need type - #661
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //src:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
aschemmel-tech
left a comment
There was a problem hiding this comment.
Some questions on the usage in the inline comments
| # req-Id: tool_req__docs_inspection_record_need | ||
| inspection_type: ^(requirements|architecture|implementation|traceability|safety_analysis|security_analysis|other)$ | ||
| inspection_state: ^(planned|in_review|rework_required|approved)$ | ||
| checklist_ref: ^.*$ |
There was a problem hiding this comment.
in your example this links to a template (gd_temp), but why have this attribute? information can be derived already from "inspection_type"
There was a problem hiding this comment.
Kept checklist_ref for now so the concrete checklist instance can be referenced explicitly, but happy to drop it if you prefer deriving it from inspection_type. I think also for versioning it would make sense
There was a problem hiding this comment.
Do you mean to say that the record needs to be notified when the checklist version changes? But that is not possible by linking to the gd_temp (as we use it).
| status: ^(valid|invalid)$ | ||
| # req-Id: tool_req__docs_inspection_record_need | ||
| inspection_type: ^(requirements|architecture|implementation|traceability|safety_analysis|security_analysis|other)$ | ||
| inspection_state: ^(planned|in_review|rework_required|approved)$ |
There was a problem hiding this comment.
state "planned" is the same as having a checklist document in "draft" state, "in_review" would be as long as the PR to fill out the checklist is in draft/open, "rework_required" would mean checklist has a "NO", "approved" means all checkpoints are "YES". Expect this is filled out automatically?
There was a problem hiding this comment.
I would say this is manual when human steps in means until rework_required. So what to change then?
There was a problem hiding this comment.
Ok, then my proposal is to remove the state "in_review" - I expect this record to be changed in sync with the checklist (evidence) and this will be only merged when the inspection is completed by all reviewers.
But honestly as a user I would find it annoying that I have to manually enter a status which could be determined automatically based on what I have entered in the checklist.
Adds the mod_insp need type to the metamodel with evidence and inspects extra links, documents the tool requirement, and adds option tests. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
0a02514 to
91fc818
Compare
| status: ^(valid|invalid)$ | ||
| # req-Id: tool_req__docs_inspection_record_need | ||
| inspection_type: ^(requirements|architecture|implementation|traceability|safety_analysis|security_analysis|other)$ | ||
| inspection_state: ^(planned|in_review|rework_required|approved)$ |
There was a problem hiding this comment.
Ok, then my proposal is to remove the state "in_review" - I expect this record to be changed in sync with the checklist (evidence) and this will be only merged when the inspection is completed by all reviewers.
But honestly as a user I would find it annoying that I have to manually enter a status which could be determined automatically based on what I have entered in the checklist.
| # req-Id: tool_req__docs_inspection_record_need | ||
| inspection_type: ^(requirements|architecture|implementation|traceability|safety_analysis|security_analysis|other)$ | ||
| inspection_state: ^(planned|in_review|rework_required|approved)$ | ||
| checklist_ref: ^.*$ |
There was a problem hiding this comment.
Do you mean to say that the record needs to be notified when the checklist version changes? But that is not possible by linking to the gd_temp (as we use it).
| inspection_type: ^(requirements|architecture|implementation|traceability|safety_analysis|security_analysis|other)$ | ||
| inspection_state: ^(planned|in_review|rework_required|approved)$ | ||
| checklist_ref: ^.*$ | ||
| reviewers: ^.*$ |
There was a problem hiding this comment.
Who performed the inspection is captured in the filled out checklist. Or is your suggestion to add this record to every checklist evidence as a kind of "header"?
| # req-Id: tool_req__docs_inspection_record_need | ||
| evidence: ANY | ||
| approved_by: role | ||
| supported_by: role |
There was a problem hiding this comment.
I would not know what "approved_by: role" or "supported_by: role" should be used for.
Relates to #611
Split out of #612 (inspection part). The verification-report part is in a separate PR.
📌 Description
Adds a machine-readable module inspection record need type to the metamodel.
metamodel.yaml: newmod_inspneed type (prefix: mod_insp__) classifying an inspection byinspection_typeandinspection_state, recordingchecklist_ref/reviewersand optional moderator/approver/findings/date attributes; linksbelongs_toamodandinspectsthe inspected artifacts, with optionalcontains/evidence/approved_by/supported_by. Adds theevidence(evidence/evidence_for) andinspects(inspects/inspected_by) extra links it depends on.requirements.rst: new "Verification Evidence" section withtool_req__docs_inspection_record_need, plus theVerifrow in the requirements overview table.rst/options/test_options_inspection_record.rstcovering a valid record and an invalidinspection_statevalue.🚨 Impact Analysis
✅ Checklist
Frank Scholter Peres frank.scholter_peres@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH
Provider Information