piker/ai/prompt-io/opencode/20260903T192743Z_aadfd1cf_p...

1.5 KiB

Prompt

Prove the replay provider through the real Piker feed runtime rather than monkeypatching open_feed(): exercise datad, samplerd, history and quote SHM, search, pause/resume, typed failures, repeatability, and clean actor/resource teardown without sleeps or log assertions.

Response summary

Connects feed subscription mutations to an optional provider observer and adds real Tractor integration tests. The suite compares complete replay generations, verifies production pause/resume barriers, exercises typed producer controls, and proves acknowledged failure ordering and named-SHM cleanup.

Files changed

  • piker/data/feed.py - notify an optional backend subscriber-state observer after add/remove operations.
  • tests/replay/conftest.py - select tracked replay scenarios for child actors.
  • tests/replay/test_provider.py - exercise real feed services, SHM, controls, repeatability, failures, and teardown.

Human edits

The human reviewed the completed integration, questioned whether fake provider traffic offered enough real bug-detection value, and directed the work to stop before additional replay features. The human requires future E2E effort to use live broker machinery wherever practical and to derive focused data tests from observed real-world defects.