Vize suppression comments do not suppress template-phase diagnostics @vize:ignore-start…
- User
Vize suppression comments do not suppress template-phase diagnostics
@vize:ignore-start/@vize:ignore-endregions and@vize:forgetmust suppress matching diagnostics even when the affected rule runs during the template phase. Suppression boundaries, unmatched directives, and later unrelated diagnostics must retain their normal behavior.Interface
No new interfaces are introduced.
- Assistant
I’ll trace how suppression metadata and template-phase diagnostics are produced, then patch the narrow path and add regression coverage for region and
forgetbehavior. - Assistant
rgisn’t installed in this checkout, so I’m using targetedfind/grepsearches instead. - Assistant
The failure is phase ordering: only
expected/levelare pre-scanned, while ignore regions andforgetranges are registered after template callbacks. I’m adding template-only precomputed ranges, then restoring the original progressive traversal state so boundary and unmatched-directive semantics stay unchanged. - Assistant
The first regression run exposed that the chosen rule reports through more than one callback in this layout, making the count assertion ambiguous. I’m inspecting diagnostic locations and tightening the fixtures so they prove template-phase suppression specifically.
- Assistant
The focused regressions now pass, including closed boundaries, unmatched start/end behavior,
forget, and a later unrelated diagnostic. I’m running the fullvize_patinalibrary suite and reviewing the final diff for unintended changes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- composer-2.5Compare side by side →
- composer-2.5Compare side by side →
- composer-2.5Compare side by side →
- composer-2.5Compare side by side →
- composer-2.5Compare side by side →
- gpt-5.6-solCompare side by side →
- gpt-5.6-solCompare side by side →
- gpt-5.6-solCompare side by side →
- gpt-5.6-solCompare side by side →
- fable-5Compare side by side →
- fable-5Compare side by side →