pub fn diff_refs_with_contexts_partial(
old: &[&Package],
new: &[&Package],
old_context: &[&Package],
new_context: &[&Package],
encodings: &[&str],
) -> (DiffReport, Vec<ContextIssue>)Expand description
Compares complete scopes while retaining independent missing-evidence issues.
Catalog history treats Missing issues as cannot judge under podbuf,
FlatBuffers or proto3, and also treats Unlayable and KindChanged issues as
cannot judge under podbuf. A unit that owns or reaches the issue’s consumer
declaration requires recovery; callers may use the report’s proved verdicts
for unaffected units.
Remote FlatBuffers and proto3 widths are reported once per consumer path
and remote declaration reached by a surviving old consumer use, at the
consumer path, with <remote declaration>: <integer> values. Only the
per-side context entry points report remote widths. They also report remote
strict enum and enum-set appends under the same consumer-use gates, always
breaking, with <remote declaration>: <names> values (ADR-0031 decision 13).
They also report scalar constraint changes at surviving consumer interaction
paths, with the direction rule of constraint_changed. A side without remote
context draws no remote width, constraint or strict-append lines.
A remote scalar’s changed backing or resolved width also reports a breaking
width_changed at each surviving consumer interaction path, even on send-only
uses, once per path and remote declaration.