Skip to content

fix(browser): report mismatched event family selection as unknown in capture comparison - #2239

Merged
morluto merged 3 commits into
morluto:mainfrom
chqcjq:fix/browser-event-coverage-comparison
Oct 12, 2026
Merged

morluto merged 3 commits into
morluto:mainfrom
chqcjq:fix/browser-event-coverage-comparison

Conversation

@chqcjq

@chqcjq chqcjq commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2169.

Behavior

A complete capture that selected no event families can no longer compare as unchanged against one that selected console events but observed none. Retain the selected families in optional scenario.event_families, using the shared event-family contract and normalized unique ordering. Selection mismatches make coverage unknown. Historical records that omit the selection remain readable and unknown rather than being interpreted as an empty selection; matching recorded selections retain normal equality behavior.

Contributor preservation

Keep chqcjq's earlier PR and commit as canonical. Folded itsF4LCON's #2253 implementation and tests with coauthor credit, including the missing-selection behavior and removal of the superseded selection representation.

Validation

29 focused tests passed across the live browser scenario provider, domain comparison, public CLI and MCP workflows. npm run check and npm run docs:check passed. Standards and issue-spec reviews found no remaining actionable findings. No external browser service is required by these locally launched browser tests.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

morluto and others added 2 commits October 13, 2026 01:59
Fold the complementary implementation from #2253 into the earlier #2239 proposal, retaining the original contribution history.

Co-authored-by: itsF4LCON <[email protected]>
@morluto

morluto commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Kept this earlier PR and original commit as canonical, and folded @itsF4LCON's #2253 with coauthor credit. The final representation records scenario.event_families, uses the shared family contract and preserves missing historical selections as unknown; the superseded selection representation has been removed.

Standards and #2169 spec reviews found no remaining actionable findings. All 29 focused provider/domain/public CLI/MCP tests, full source checks and documentation checks passed. #2253 can now close as folded into this PR.

@morluto
morluto merged commit 0043d9b into morluto:main Oct 12, 2026
30 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 12, 2026
3 tasks done
@morluto morluto added bug Something isn't working area: runtime Process capture and runtime observation labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: runtime Process capture and runtime observation bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(browser): mismatched event-family coverage compares as unchanged

2 participants