Skip to content

Cancel unused Traces list and detail requests - #258

Draft
n30nex wants to merge 2 commits into
devfrom
codex/trace-read-cancel-20261129
Draft

n30nex wants to merge 2 commits into
devfrom
codex/trace-read-cancel-20261129

Conversation

@n30nex

@n30nex n30nex commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #257.

Forward the query signal through both Traces API helpers. Switching filters or tags and closing the last consumer now aborts the old request. A shared tag request stays alive while another panel still uses it. The optional signal preserves existing API callers and empty-region behavior.

Both delayed transport regressions failed on dev and passed with this change. The focused Traces and API suite passed 92 tests. Lint and the web build passed. This is independent of the reached-hop display patch in #251.

November 29 review

The built app was tested against a loopback HTTP server holding actual requests open. Changing type, closing detail and leaving Traces each disconnected the obsolete request. The successful replacement list completed normally. Component tests also cover two consumers sharing one tag, and the focused Traces and API suite passed 92 tests. This draft at a35011f7f747 merges cleanly into dev 02b285cb316c. The resulting files match both GitHub’s test-merge tree and the tested draft head. CI · Preview handoff

@n30nex n30nex added bug Something isn't working p2-medium Medium priority release:patch Candidate patch work: fixes/hardening without a new feature line; not release acceptance. labels Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working p2-medium Medium priority release:patch Candidate patch work: fixes/hardening without a new feature line; not release acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leaving Traces keeps obsolete list and detail requests running

1 participant