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
Report missing graph-rule links as cross-module compatibility findings #1085
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:
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:
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.
Activity