Skip to content

DEV-1269: Java HIL checks that every connect reports ready only at the end (DEV-1275) - #335

Merged
JongChern merged 1 commit into
masterfrom
DEV-1269_java_hil_ready_check
Oct 22, 2026
Merged

JongChern merged 1 commit into
masterfrom
DEV-1269_java_hil_ready_check

Conversation

@JongChern

Copy link
Copy Markdown
Contributor

The last commit of #331, pushed just after #331 merged, so it didn't reach master.

What it adds

The Java HIL now checks DEV-1275 directly. Until now it caught that bug only by its effects: a stream lost in reconnectLoop, or NaN accel when a configure cut the calibration dump short.

For each connect, in every scenario, it notes whether the first CONNECTED state came before NOTIFICATION_SHIMMER_FULLY_INITIALIZED. The driver sends that notification at the end of its connect sequence. The report counts these early connects as connectedBeforeReady, and any one fails the scenario.

It's test code only: HilSession, JavaHilScenariosTest, and the HIL README.

Tested on the bench

Build Result
#331 alone, without the DEV-1275 fix the check caught it: reconnectLoop on a Shimmer3R failed, because 5 of 5 connects reported CONNECTED before the connect sequence ended
#331 with #332, #333 and #334, which is now master 0 of 18 connects early, and all 10 scenario runs pass on a Shimmer3 and a Shimmer3R

🤖 Generated with Claude Code

… end

DEV-1275 was only caught indirectly: a stream lost in reconnectLoop, or NaN
accel when a configure cut the calibration dump short. The HIL now checks it
directly. For each connect it notes whether the first CONNECTED state came
before NOTIFICATION_SHIMMER_FULLY_INITIALIZED, which the driver sends at the
end of its connect sequence. The report counts these as
connectedBeforeReady, and any one fails the scenario.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JongChern
JongChern merged commit 13614c6 into master Oct 22, 2026
2 checks passed
@JongChern
JongChern deleted the DEV-1269_java_hil_ready_check branch October 22, 2026 07:39
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