Skip to content

Add direct coverage tests for Hashtable.D2.Entry#11794

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
dougqh/coverage-fix-d2-entry
Jun 30, 2026
Merged

Add direct coverage tests for Hashtable.D2.Entry#11794
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
dougqh/coverage-fix-d2-entry

Conversation

@dougqh

@dougqh dougqh commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What This Does

  • Adds direct tests for D2.Entry.matches() (true and false branches) and D2.Entry.hash() to HashtableD2Test
  • The existing D2 operation tests call matches() indirectly, but the false branch is not guaranteed to fire since different key pairs typically hash to different buckets

Motivation

Code coverage

tag: no release note
tag: ai generated

🤖 Generated with Claude Code

Tests matches() with both true and false branches, and hash() for
consistency and key-sensitivity, since existing D2 operation tests
don't guarantee the false branch fires (different key pairs hash
to different buckets, so matches() is never called with a mismatch).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dougqh dougqh added tag: flaky test Flaky tests type: enhancement Enhancements and improvements comp: core Tracer core labels Jun 29, 2026
@dougqh dougqh marked this pull request as ready for review June 29, 2026 21:31
@dougqh dougqh requested a review from a team as a code owner June 29, 2026 21:31
@dougqh dougqh requested a review from mcculls June 29, 2026 21:31
@dd-octo-sts dd-octo-sts Bot added the tag: ai generated Largely based on code generated by an AI or LLM label Jun 29, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🟡 Java Benchmark SLOs — Performance SLO warning (near threshold)

Suite Status
Startup 🟡 warning

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.77 s 14.71 s [-0.7%; +1.5%] (no difference)
startup:insecure-bank:tracing:Agent 13.70 s 13.77 s [-1.6%; +0.6%] (no difference)
startup:petclinic:appsec:Agent 17.44 s 17.02 s [+1.4%; +3.6%] (significantly worse)
startup:petclinic:iast:Agent 17.43 s 17.54 s [-1.5%; +0.2%] (no difference)
startup:petclinic:profiling:Agent 17.49 s 17.36 s [-0.3%; +1.7%] (no difference)
startup:petclinic:sca:Agent 17.58 s 17.52 s [-0.6%; +1.2%] (no difference)
startup:petclinic:tracing:Agent 16.48 s 16.07 s [-3.0%; +8.1%] (unstable)

Commit: efd1054a · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@bric3 bric3 added this pull request to the merge queue Jun 30, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jun 30, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-06-30 09:14:03 UTC ℹ️ Start processing command /merge


2026-06-30 09:14:08 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 2h (p90).


2026-06-30 10:14:56 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 30, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit e280daf into master Jun 30, 2026
594 of 603 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the dougqh/coverage-fix-d2-entry branch June 30, 2026 10:14
@github-actions github-actions Bot added this to the 1.64.0 milestone Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core tag: ai generated Largely based on code generated by an AI or LLM tag: flaky test Flaky tests type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants