Skip to content

chore(showcase): delete or wire unused ShowcaseContext #613

Closed as not planned

Description

@Sinity

Problem

polylogue/showcase/context.py defines a documented ShowcaseContext abstraction with constructors for synthetic, live, source, and existing workspaces, but nothing consumes it.

Evidence from current master:

  • polylogue/showcase/context.py defines ShowcaseContext and exports it through __all__.
  • rg "ShowcaseContext|showcase.context|from polylogue.showcase.context|import polylogue.showcase.context" finds no references outside that file and the generated topology projection.
  • docs/plans/topology-target.yaml declares the file, so topology verification treats it as intentional.
  • devtools verify-test-ownership --json reports uncovered: 0, but fix(devtools): stop test ownership from overcounting package imports #608 shows that broad package imports can overcount descendants and hide unused modules like this.

Impact

The showcase package contains a public-looking context abstraction that is not the context used by QA/showcase execution. Future work can wire new behavior through this unused type and diverge from the actual workspace.py / QA runner path, or keep expanding an abstraction with no consumer.

Acceptance criteria

  • Decide whether ShowcaseContext is the intended showcase/QA data-mode abstraction.
  • If yes, wire it into the QA/showcase request flow and tests so synthetic/live/source/existing modes use the same context contract.
  • If no, delete polylogue/showcase/context.py and remove it from topology.
  • Add or update regression coverage after fix(devtools): stop test ownership from overcounting package imports #608 so an unused production module cannot be hidden by package-level test imports.
  • Run focused showcase tests and devtools verify --quick.

Ref #578
Ref #608

Activity

  1. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Superseded by #625. 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions