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

43 lines
1.5 KiB
Markdown

---
model: openai/gpt-5.6-sol
service: opencode
session: 8737d0a9-98da-4fa1-ba35-ca8a3a42bbc9
timestamp: 2026-09-03T19:27:43Z
git_ref: wkt/replay_provider_e2e
scope: code
substantive: true
raw_file: 20260903T192743Z_aadfd1cf_prompt_io.raw.md
---
## 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.