Skip to content

No-database compile attaches learned-search read-backs to navigation clicks #2858

Backlog

Description

@abrichr

Compiling the quickstart MockMed recording without system-of-record snapshots (the way a customer with no database access gets it) attaches a LEARNED-SEARCH on-screen read-back effect to each of the four navigation clicks before the save (step_000 to step_003, all reversible). The save step correctly gets a same-screen read-back.

Problems:

  • Each of those read-backs is demonstrated and unadmitted, so the runtime refuses to run: step_000 declares 1 system-of-record effect(s) but no EffectVerifier is configured.
  • Their re-navigation replays the type and Save actions, and ReadbackGuard(commit_labels=[]) is empty, so the guard wouldn't block the Save click.

Reproduction: packages/flow/benchmark/post_save_screen/run_proof.py (from #2849). That script drops these effects as the reviewing person would.

Expected: effect mining doesn't put read-back effects on reversible navigation steps. A read-back whose re-navigation would click a commit control is never derived, and the guard lists the save's label.

Activity

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