Skip to content

Cover object-store contention and computation failures - #146

Open
mcculls wants to merge 2 commits into
mainfrom
mcculls/object-store-edge-case-tests
Open

mcculls wants to merge 2 commits into
mainfrom
mcculls/object-store-edge-case-tests

Conversation

@mcculls

@mcculls mcculls commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

What Does This Do

Adds object-store tests for same-key contention, null values, and failed computations followed by successful retries. Generated dispatch tests verify that exceptions from compute functions and accessors release the monitor so another thread can retry.

Motivation

Existing tests exercise successful dispatch and global-store operations, but leave exception cleanup, null-result retries, and concurrent computation insufficiently covered. The dispatch contention test now forces every contender through its initial miss and checks that only one value is computed and stored.

Additional Notes

Validation: ./gradlew :field-inject:check --offline --no-configuration-cache passes, including 59 tests on each of Java 8, 11, 17, 21, and 25, Spotless, SpotBugs, and coverage generation.

@mcculls
mcculls requested a review from a team as a code owner October 17, 2026 18:56
@mcculls
mcculls requested review from daniel-mohedano and removed request for a team October 17, 2026 18:56
@mcculls
mcculls force-pushed the mcculls/object-store-edge-case-tests branch from 41f600c to 246e691 Compare October 18, 2026 18:36

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant