Skip to content

Update review-database dependency - #916

Merged
sophie-cluml merged 3 commits into
mainfrom
david/update-database-dependency
Aug 28, 2026
Merged

Update review-database dependency#916
sophie-cluml merged 3 commits into
mainfrom
david/update-database-dependency

Conversation

@kimhanbeom

Copy link
Copy Markdown
Contributor

Summary

Commit review-database revision Changes
df42710 e13a640 Add DCE/RPC support to the triage GraphQL RawEventKind.
ca438d1 023257f Use stored country codes for event filtering and aggregation without a query-time IP2Location locator.
61e01d8 dd7bfd2 Use the renamed originator/responder IP count helpers while preserving the existing GraphQL schema.

Out of scope

The update to review-database commit 1285590, which migrates the event API to jiff::Timestamp, is deferred to a separate PR because it requires broader changes to GraphQL timestamp handling and related tests.

Closes #873
Closes #882
Closes #883

Allow packet-attribute triage policies to select DCE/RPC events now
that review-database exposes the corresponding raw event kind.

Cover the GraphQL input and output conversion with a policy
round-trip test.

Closes #873
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.96%. Comparing base (2181843) to head (29c4132).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #916      +/-   ##
==========================================
+ Coverage   85.33%   85.96%   +0.63%     
==========================================
  Files          77       77              
  Lines       31160    31562     +402     
==========================================
+ Hits        26591    27133     +542     
+ Misses       4569     4429     -140     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kimhanbeom

Copy link
Copy Markdown
Contributor Author

Further test and documentation improvements were made to the existing changes. Coverage was added for country filtering without a locator and for originator/responder IP aggregation direction, the related CHANGELOG and documentation for serve’s ip_locator were updated, and the group query tests were moved closer to the code they cover.

@sophie-cluml

sophie-cluml commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

@kimhanbeom What do you think about squashing 882 related commits to the second commit, and 883 related commits to the third commit?

Use country codes stored with events for filtering and aggregation so
event queries no longer depend on an IP2Location database at request
time.

Cover deployments without a configured event locator and keep the group
query regression tests beside the resolvers they protect. Document the
separate roles of the store and GraphQL IP locators.

The dependency update also fixes mixed IPv4/IPv6 triage exclusions, so
record that user-visible behavior in the release notes.

Closes #882
Align event IP aggregations with the terminology used by the updated
review-database API while preserving the existing GraphQL schema and
aggregation behavior.

Exercise the originator and responder GraphQL aggregations with distinct
endpoint addresses so reversing the helper mapping cannot pass
unnoticed.

Closes #883
@kimhanbeom
kimhanbeom force-pushed the david/update-database-dependency branch from a9ebbb3 to 29c4132 Compare August 28, 2026 07:17
@kimhanbeom

Copy link
Copy Markdown
Contributor Author

@sophie-cluml
I’ve squashed the #882-related changes into the second commit and the #883-related changes into the third commit, and updated the branch accordingly. Thanks for the suggestion!

@sophie-cluml
sophie-cluml merged commit 5a46d42 into main Aug 28, 2026
14 checks passed
@sophie-cluml
sophie-cluml deleted the david/update-database-dependency branch August 28, 2026 08:58
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.

Use originator/responder event count helpers Update event queries for stored country codes Add DCE/RPC Raw Event Kind Support

2 participants