Skip to content

fix(devtools): gate uncovered runtime scenario coverage #588

Closed as not planned

Description

@Sinity

Summary

Runtime scenario coverage can detect uncovered maintenance targets, and devtools artifact-graph --strict can fail on them, but strict scenario coverage is not part of normal local or CI verification.

Evidence

Command:

devtools artifact-graph --json

Observed:

uncovered_artifacts []
uncovered_operations []
uncovered_maintenance_targets ['empty_conversations', 'orphaned_attachments', 'orphaned_content_blocks', 'orphaned_messages', 'wal_checkpoint']
uncovered_declared_operations []

Relevant code:

  • devtools/artifact_graph.py:84 through devtools/artifact_graph.py:99 defines --strict, which returns 1 when artifacts, operations, or maintenance targets are uncovered.
  • devtools/verify.py:42 through devtools/verify.py:66 does not include devtools artifact-graph --strict.
  • .github/workflows/ci.yml does not run artifact-graph.

Related declared gaps:

  • docs/plans/scenario-coverage.yaml:93 through docs/plans/scenario-coverage.yaml:117 declare storage, performance, security, distribution, migration, and docs freshness scenario gaps.
  • docs/plans/assurance-domains.yaml:241 through docs/plans/assurance-domains.yaml:250 says scenario coverage has no systematic coverage audit of which subjects have scenarios.

Acceptance criteria

  • Decide which uncovered scenario categories are blocking and which are allowed debt.
  • devtools verify or a dedicated CI job runs a strict scenario coverage gate for blocking categories.
  • Any allowed uncovered target is represented by an expiring suppression or linked issue.
  • New maintenance targets cannot be added without scenario coverage or an explicit reviewed suppression.

Activity

  1. added
    type:fix
    theme:verifiability
    area:devtools
    on May 1, 2026
  2. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Superseded by #590. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:devtoolstheme:verifiabilitytool:codextype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions