Repository navigation
fix(drives): one findings count, moved findings folded, every finding searchable (#193813 #193814) - #608
Merged
Conversation
… searchable (#193813 #193814) The drive row counted sensitive files on the drive now (the scan's own count); the Findings tab counted every record, including ones the scan marked moved. BK-03 read 368 vs 382, Redwalrus 278 vs 433. Findings now means on the drive now, everywhere; moved ones sit under a fold. Findings load every page in the background (200 a time) once the tab or a folder opens, so search and folders cover all of them; the first page still paints at once, and a safety cap says when it stops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Atlas tickets #193813 and #193814 (not GitHub issues). Follows PR #602 (Drives tab, #193705).
Type of change
What does this PR do?
#193813: two numbers for one drive. The drive list showed the scan's
sensitive_files(files on the drive now), while the Findings tab counted everydrive-findingsrecord, including ones a later scan markedmoved. Measured on live data: BK-03 368 vs 382 (14 moved), Redwalrus 278 vs 433 (155 moved), Hive archive 0 vs 11 (11 moved)."Findings" now means on the drive now, everywhere in the tab. Moved findings sit under a "Show N moved off this drive" fold, and a drive whose findings were all moved says so.
#193814: folders capped at 1,000, and search only covered the first page. Once the Findings tab or a folder opens, the tab reads every page in the background, 200 at a time (new optional
perPageon/iris/drives/findings, clamped to 200). The first page still paints at once and the footer shows progress. A safety cap of 10,000 is labelled when it's hit.How did you verify your code works?
Ran this branch's UI (vite) against the compiled engine and drove the real panel in Chromium with live data, after getting expected values from the API:
sites-2016returns all 88 matches, all of them past the first 100 findings.Tests: route 5 pass (adds the perPage clamp);
packages/appsession tests 994 pass, 1 fail. The failure is the enforced-schedule case iniris-heartbeats-model.test.ts, which fails the same way oniris/1.18.23.Screenshots / recordings
Captured on iris-hive-001. Not attached, because they show a real drive catalogue.
Checklist
🤖 Generated with Claude Code