Report missing graph-rule links as cross-module compatibility findings
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- documentation, testing
調査の方向性
Start by tracing the graph checker’s missing-relation warning path and how the existing cross-module compatibility setting classifies mandatory-link findings. Then follow the HTML and JSON report generation paths and the tests for cross-module compatibility. Done means an opt-in reports absent relations from selected graph rules on mounted needs with the owning module, need ID, rule ID and relation, while local findings, default strict behavior, and links that fail graph predicates remain validation errors.
索引モデルが issue の本文から書いたものです。
説明
Problem
The three cross-module compatibility settings cover missing mandatory attributes, missing mandatory links declared on a need type, and exact link-version mismatches. They do not cover missing links required by metamodel graph rules. Those findings remain fatal under Sphinx's warnings-as-errors even when the affected need belongs to a mounted module.
Reproduction
In S-CORE Reference Integration, build the combined HTML docs with docs-as-code 9.1.1, process_description 2.2.5, platform 0.7.5, baselibs 0.2.18 and logging 0.2.7. Use the upstream metamodel and set this in the consumer's docs/conf.py:
score_cross_module_compatibility_allow_missing_mandatory_links = True
Run bazel run --lockfile_mode=error //:docs_shim. Six missing included_by links from the mounted baselibs and logging bundles appear in the compatibility report as intended. Four graph findings still fail the build:
| Metamodel rule | Mounted needs | Missing relation |
|---|---|---|
tool_req__docs_allocation_safety_to_req |
comp__tracing (platform) |
satisfied_by_back to a safety requirement |
tool_req__docs_saf_attrs_mitigated_by |
comp_saf_fmea__result__error_code, feat_saf_dfa__baselibs__memory_access, feat_saf_dfa__baselibs__blocked_execution (baselibs) |
mitigated_by to a qualifying safety requirement |
These are conditional link requirements evaluated by the graph checker. Its missing-relation path emits a generic need warning, so the mandatory-link compatibility setting does not classify it as a reportable compatibility finding. The attribute and version settings address different conditions.
Requested behavior
Allow consumers to opt in to reporting missing relations from selected metamodel graph rules on mounted needs. Include the owning module, need ID, rule ID and relation in the HTML and JSON reports. Keep local findings and the default behavior strict. Scope this to an absent relation so an existing link whose target fails the graph predicate remains a validation error.
This would make temporary supplier-version skew visible in the integration report while retaining the published analysis statuses and upstream metamodel. Follow-up to #674.
- 主要言語
- Python
- スター
- 11
- フォーク
- 39
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 65
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-score/docs-as-code のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
eclipse-score/docs-as-code#1031 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting_for_author
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-score/docs-as-code#1029 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
intentionally-limited
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
eclipse-score/docs-as-code#1019 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
eclipse-score/docs-as-code#920 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Add project name to headline ...再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-score/docs-as-code#613 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
eclipse-score/docs-as-code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choice対応中かも @beartester34 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
modelscope/evalscope#2330 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Distribution plot crashes when a numeric feature is constant in the train or test set対応中かも @adembilge が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 10 日以内に返信