Skip to content

Cover object-store contention and computation failures - #146

Merged
mcculls merged 2 commits into
mainfrom
mcculls/object-store-edge-case-tests
Oct 20, 2026
Merged

mcculls merged 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.

Also removes two stale doc images relating to ObjectStore that are no longer required.

@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

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. left couple of minor notes.
Would be nice to have a note in PR description why 2 *.git files were deleted.

@mcculls
mcculls merged commit fa194cc into main Oct 20, 2026
6 checks passed
@mcculls
mcculls deleted the mcculls/object-store-edge-case-tests branch October 20, 2026 21:43
@github-actions github-actions Bot added this to the 0.1.0 milestone Oct 20, 2026
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.

2 participants