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

@dougqhdougqh 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

dougqhand 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>
@dougqhdougqh 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: feature 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 ownerJune 29, 2026 21:33
@dougqh
dougqh requested a review from ygreeJune 29, 2026 21:33
@dd-octo-sts

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

SuiteStatus
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
ScenarioCandidatemasterΔ (95% CI of mean)
startup:insecure-bank:iast:Agent13.90 s13.97 s[-1.2%; +0.1%] (no difference)
startup:insecure-bank:tracing:Agent12.88 s13.01 s[-1.6%; -0.2%] (maybe better)
startup:petclinic:appsec:Agent16.91 s16.80 s[-0.3%; +1.5%] (no difference)
startup:petclinic:iast:Agent16.92 s16.92 s[-0.8%; +0.8%] (no difference)
startup:petclinic:profiling:Agent16.73 s16.83 s[-1.4%; +0.2%] (no difference)
startup:petclinic:sca:Agent16.98 s16.08 s[+1.2%; +10.0%] (significantly worse)
startup:petclinic:tracing:Agent16.04 s16.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 queueJun 30, 2026
@dd-octo-sts

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351Bot 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-queueBot 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-cf854dBot merged commit 29d82dd into masterJun 30, 2026
589 of 606 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854dBot deleted the dougqh/coverage-fix-emptyholder branch June 30, 2026 09:55
@github-actionsgithub-actionsBot added this to the 1.64.0 milestone Jun 30, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: coreTracer coretag: ai generatedLargely based on code generated by an AI or LLMtag: flaky testFlaky teststag: no release notesChanges to exclude from release notestype: featureEnhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dougqh@bric3