piker/ai/prompt-io/opencode/20260817T222036Z_f65df6a1_p...

1.4 KiB

Prompt

Add end-to-end coverage for chart-local gap annotations in the existing gap-overlay worktree without disturbing concurrent manual backfiller testing in the root checkout.

Response summary

Adds real offscreen Qt and real Tractor actor integration coverage. The tests drive startup registration, PyQtGraph insertion/removal, focused Ctrl-G input, history-prepend repositioning, duplicate-FQME chart identity, typed endpoint exchange and cancellation with stale-response recovery. Defects exposed by those tests are fixed in manager cleanup, Qt geometry notification and PyQt6 event routing.

Files changed

  • piker/ui/_gaps.py - correct PyQtGraph ownership and bounds behavior.
  • piker/ui/_annotate.py - notify Qt before reposition geometry changes.
  • piker/ui/_display.py - expose deterministic startup registration.
  • piker/ui/_interaction.py - focus toggles and PyQt6 event registration.
  • tests/test_gap_overlays.py - real Qt and Tractor integration coverage.
  • plans/opencode/chart-local-gap-overlays.md - update coverage boundaries.
  • plans/opencode/chart-local-gap-overlays.summary.md - update test totals.

Human edits

None - the changes remain uncommitted for human review.