Skip to content

fix: dismissed (archived) patterns still surface in recall results #319

@CalebisGross

Description

@CalebisGross

Problem

After archiving a pattern via dismiss_pattern, it still appears in recall and recall_project pattern results. Either:

  • The pattern query doesn't filter by state = 'active'
  • Results are cached and the cache isn't invalidated on archive

Steps to Reproduce

  1. Call dismiss_pattern with a pattern ID
  2. Call recall with a query that would match that pattern
  3. The dismissed pattern still appears

Expected

Archived patterns should not appear in any recall results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions