Skip to content

fix(sources): show a capped hunt run's summary row as its counts - #227

Merged
catinspace-au merged 2 commits into
mainfrom
fix/hunts-capped-row
Nov 16, 2026
Merged

catinspace-au merged 2 commits into
mainfrom
fix/hunts-capped-row

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

A rule that reaches its per-run detection cap leaves one summary row in dfe.detection. That row has nil matched_uuid and counts in _json. The demo packs cap at 20. The theatre's vessel rule matches 21 to 27 per run.

Hunt Results showed the summary row with a zero UUID that looked like a broken match.

The hunts source's default select shows a match column in place of matched_uuid. A summary row shows "capped: 27 matched, 20 written". A match shows its UUID. The change is limited to that select and its test.

The seed runs for a team with no sources. A seeded deployment keeps the old column until its DocumentDB is fresh.

org-connection.test.ts: 65 passed on desktop-derek with common-utils built.

Before and after screenshots of the live theatre pack: /projects/dfe-engine/.hyperi-ai/tmp/ui-capped-shots/ on dragonfly. The after screenshot shows the replacement select in the embedded search.

A rule that fills its per-run detection cap leaves one summary row with the nil matched_uuid and the counts in _json. In Hunt Results that row read as a match with a zero UUID.

The hunts source's default select shows a `match` column. Summary rows show counts, such as "capped: 27 matched, 20 written". Match rows show the UUID.
The results cell truncates at about 20 characters, which hid the cap behind "capped: 21 matched, ...". The shorter form shows both numbers at the default width.
@catinspace-au
catinspace-au merged commit 9d501d9 into main Nov 16, 2026
34 checks passed
@catinspace-au
catinspace-au deleted the fix/hunts-capped-row branch November 16, 2026 11:52
@github-actions

Copy link
Copy Markdown
Contributor

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