Skip to content

test: move async-test-lib to 1.7.3 and drop the removed UNCOMMITTED_CHANGES exclusion - #60

Merged
PIsberg merged 1 commit into
mainfrom
chore/async-test-lib-1.7.3
Aug 8, 2026
Merged

test: move async-test-lib to 1.7.3 and drop the removed UNCOMMITTED_CHANGES exclusion#60
PIsberg merged 1 commit into
mainfrom
chore/async-test-lib-1.7.3

Conversation

@PIsberg

@PIsberg PIsberg commented Aug 8, 2026

Copy link
Copy Markdown
Owner

What

Moves async-test-lib from 1.7.0-RC8 to 1.7.3 and removes the eight
excludes = DetectorType.UNCOMMITTED_CHANGES attributes that no longer compile.

The break

The bump alone does not build:

ConcurrencySafetyTest.java:54: error: cannot find symbol
  @AsyncTest(threads = 8, invocations = 100, excludes = DetectorType.UNCOMMITTED_CHANGES)
                                                                    ^
  symbol:   variable UNCOMMITTED_CHANGES
  location: class DetectorType

Eight call sites, one cause.

What actually changed upstream

Checked against the jars published on Maven Central, sha1-verified, because this machine's
~/.m2 turned out to hold local builds masquerading as released versions — the constant counts
read off those cached jars gave a different and wrong answer:

version DetectorType constants note
1.7.0 127
1.7.1 127
1.7.2 128 FLOW_PUBLISHER_CONCURRENCY added
1.7.3 127 UNCOMMITTED_CHANGES removed

async-test-lib documents the removal as intentional and breaking. The detector shelled out to
git status --porcelain — an environment check rather than a property of the code under test —
and its subprocess once accounted for 99% of the analysis sweep.

Why the exclusion just goes away

It existed solely to silence that detector against this project's intentionally dirty working
tree. With the detector gone there is nothing to exclude, no other detector inspects the working
tree, and no assertion depended on it. The class javadoc is updated to record why the paragraph
about it disappeared.

Verified

./gradlew test:

225 tests, 0 failures
ConcurrencySafetyTest: tests="8" skipped="0" failures="0" errors="0"

All eight @AsyncTest methods ran — checked in the JUnit XML rather than inferred from a green
build.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UwuXPyu9Mj2JaLMm1vJnRv

…HANGES exclusion

Bumping async-test-lib from 1.7.0-RC8 to the 1.7.3 release broke compilation:

  ConcurrencySafetyTest.java:54: error: cannot find symbol
    @AsyncTest(threads = 8, invocations = 100, excludes = DetectorType.UNCOMMITTED_CHANGES)
    symbol: variable UNCOMMITTED_CHANGES  location: class DetectorType

Eight call sites, all the same cause. Verified against the jars published on Maven
Central (sha1-checked, because this machine's ~/.m2 held local builds masquerading as
releases): the DetectorType constant set went 127 at 1.7.0 and 1.7.1, 128 at 1.7.2
(FLOW_PUBLISHER_CONCURRENCY added), then 127 at 1.7.3 with UNCOMMITTED_CHANGES removed.
async-test-lib documents that removal as intentional and breaking: the detector shelled
out to `git status --porcelain`, an environment check rather than a concurrency property,
and its subprocess once accounted for 99% of the analysis sweep.

The exclusion existed only to silence that detector against this project's intentionally
dirty tree, so it goes away with the detector rather than needing a replacement. No other
detector inspects the working tree, and no assertion depended on it.

./gradlew test: 225 tests, 0 failures, with ConcurrencySafetyTest contributing all 8 of
its @AsyncTest methods.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwuXPyu9Mj2JaLMm1vJnRv
@PIsberg
PIsberg merged commit 0a15760 into main Aug 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant