Skip to content

fix(shiny): red-team polish pass — T-356..T-359 (area 7) - #275

Merged
ms609 merged 1 commit into
cpp-searchfrom
claude/elegant-joliot-d637e5
Jul 27, 2026
Merged

fix(shiny): red-team polish pass — T-356..T-359 (area 7)#275
ms609 merged 1 commit into
cpp-searchfrom
claude/elegant-joliot-d637e5

Conversation

@ms609

@ms609 ms609 commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • T-356: namespace cached upload filenames by session token so concurrent tabs on one running app process don't clobber each other's tempdir files; tighten onStop cleanup regex to match
  • T-357: bind the missing output$instabLegend2, mirroring the sibling static legend (panel was permanently empty)
  • T-358: split the expensive multi-method clustering sweep out of silThreshold()'s cache key, so dragging the threshold slider no longer forces a full re-sweep
  • T-359: document why the orphaned MappingQuality future is an accepted low-cost exception (contrast with T-311's search-worker cancellation)

Test plan

  • App builds and loads cleanly in-browser, no console errors
  • testthat suites for mod-clustering, mod-treespace, mod-consensus, mod-downloads, mod-data all pass unchanged

🤖 Generated with Claude Code

Four independent, low-risk EasyTrees fixes:

- T-356: namespace cached upload filenames (data/tree/excel) by
  session$token, so two tabs on one running app process no longer
  clobber each other's tempdir files; tighten the onStop cleanup
  regex to match so it doesn't sweep other sessions' files either.
- T-357: bind the missing output$instabLegend2, mirroring the
  sibling static legend — the "clus"/"space" plot views rendered an
  empty panel for their entire lifetime.
- T-358: split the expensive multi-method clustering sweep out of
  silThreshold()'s cache key — the threshold slider only picks a
  winner among already-computed silhouette scores, so dragging it
  no longer forces a full K-means/PAM/hierarchical re-sweep.
- T-359: document why the orphaned MappingQuality future is an
  accepted low-cost exception, contrasting with the T-311 search
  worker's session-end cancellation.

Verified: app builds and loads cleanly in-browser with no console
errors; existing testthat suites for mod-clustering, mod-treespace,
mod-consensus, mod-downloads, and mod-data all pass unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ms609
ms609 merged commit 95be1c1 into cpp-search Jul 27, 2026
2 of 3 checks passed
@ms609
ms609 deleted the claude/elegant-joliot-d637e5 branch July 27, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant