Skip to content

Exclude OptimizedTagMap.EmptyHolder from coverage checks#11795

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
dougqh/coverage-fix-emptyholder
Jun 30, 2026
Merged

Exclude OptimizedTagMap.EmptyHolder from coverage checks#11795
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
dougqh/coverage-fix-emptyholder

Conversation

@dougqh

@dougqh dougqh commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

Adds OptimizedTagMap.EmptyHolder to the coverage exclusion list in internal-api/build.gradle.kts

Motivation

EmptyHolder is a lazy-holder idiom class (no methods, just a static initializer) used to avoid class-init ordering issues between TagMap and OptimizedTagMap; it is exercised indirectly via TagMap.EMPTY but JaCoCo tracks it as a separate class

Additional Notes

🤖 Generated with Claude Code

dougqh and others added 2 commits June 29, 2026 17:24
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>
EmptyHolder is a lazy-holder idiom class used to avoid class-init
ordering issues between TagMap and OptimizedTagMap. It has no methods
of its own and is exercised indirectly via TagMap.EMPTY, but JaCoCo
tracks it as a separate class with its own coverage thresholds.

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

dd-octo-sts Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

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 13.90 s 13.97 s [-1.2%; +0.1%] (no difference)
startup:insecure-bank:tracing:Agent 12.88 s 13.01 s [-1.6%; -0.2%] (maybe better)
startup:petclinic:appsec:Agent 16.91 s 16.80 s [-0.3%; +1.5%] (no difference)
startup:petclinic:iast:Agent 16.92 s 16.92 s [-0.8%; +0.8%] (no difference)
startup:petclinic:profiling:Agent 16.73 s 16.83 s [-1.4%; +0.2%] (no difference)
startup:petclinic:sca:Agent 16.98 s 16.08 s [+1.2%; +10.0%] (significantly worse)
startup:petclinic:tracing:Agent 16.04 s 16.22 s [-2.1%; -0.2%] (maybe better)

Commit: 36983502 · 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 08:53:19 UTC ℹ️ Start processing command /merge


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

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


2026-06-30 09:55:14 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 29d82dd into master Jun 30, 2026
589 of 606 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the dougqh/coverage-fix-emptyholder branch June 30, 2026 09:55
@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 tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants