Skip to content

Restore Hazelcast API and Socket.IO authorization contract - #8

Merged
loong10k merged 6 commits into
masterfrom
fix/ci-hazelcast-client-config-20261031
Oct 31, 2026
Merged

loong10k merged 6 commits into
masterfrom
fix/ci-hazelcast-client-config-20261031

Conversation

@loong10k

@loong10k loong10k commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Restore Hazelcast ClientConfig with explicit client/core 3.12.12 alignment, matching netty-socketio 2.0.9's provided Hazelcast client API. Boot 2.6's default core 4.2.2 is binary incompatible.
  • Retain the AuthorizationResult bridge to the existing public boolean isAuthorized method; no new token/authentication policy.
  • Enable Surefire tests (the base POM skipped all tests), remove obsolete PermSize JVM flags, and preserve JDK 8/17/21 CI.
  • Add real upstream Store/Factory IMap operations and PubSub ITopic publish/subscribe/unsubscribe tests using an isolated loopback-only Hazelcast member, with discovery disabled and shutdown after each test.
  • Add authorization bridge regression coverage for existing header/query precedence, acceptance/rejection, subclass overrides, and exception propagation.

Evidence

  • Regression-only commit 4be9d88dd8177fb7bf020b1b8d75da855eb73436: CI 41219600300 fails on all three JDKs, with 2 tests executed / 0 skipped and NoClassDefFoundError for com/hazelcast/core/MessageListener. Resolved dependency tree shows core 4.2.2.
  • ABI-fix commit b2278e5f719b3bb50fd5be55e02981a9b0df0ed4: CI 41219701735 passed JDK 8/17/21. Each JDK executed 5 tests, 0 failures, 0 errors, 0 skipped; dependency tree resolves both client and core to 3.12.12.
  • Final head 3308b1ee5d1ba0e94acea49edd411cb87e077e98: CI 41221036450 passed all three JDKs, each with 5 tests / 0 failures / 0 errors / 0 skipped. Explicit hazelcast.socket.bind.any=false fixes test socket isolation. All six member startups log ServerSocket[addr=/127.0.0.1,...], bind any local is false. Earlier test runs selected a loopback advertised address but actually bound a wildcard socket; their ABI evidence remains valid, but they did not establish loopback-only binding.
  • Earlier green CI 41214712444 skipped tests; it did not establish Hazelcast runtime compatibility.
  • Local Maven unavailable; execution evidence comes from real GitHub Actions, not a claimed local JVM run.

Upstream contracts: netty-socketio POM, HazelcastStore, HazelcastPubSubStore.

Remains draft for independent technical review before merge.

@loong10k loong10k changed the title Restore Hazelcast client API dependency Restore Hazelcast API and Socket.IO authorization contract Oct 31, 2026
@loong10k
loong10k marked this pull request as ready for review October 31, 2026 16:46
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-31T16:46:11.177075Z
We couldn’t complete this review. Comment @codex review to try again.
3308b1e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@loong10k
loong10k merged commit ff633f6 into master Oct 31, 2026
3 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

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