f1amingo opened a new pull request, #1506: URL: https://github.com/apache/rocketmq-clients/pull/1506
### Summary Fix Node.js SDK status handling and route utilities while preserving public signatures. Align receive status handling and queue namespace semantics with the Java SDK, retain request IDs in exceptions, and add offline regression coverage. ### Changes - Tolerate MESSAGE_NOT_FOUND only for receive; reject missing statuses. - Retain per-RPC and telemetry request IDs without changing response types. - Validate endpoint strings for homogeneous schemes, valid IPv6 and explicit ports in 1–65535. - Normalize negative protobuf durations and reject non-finite or out-of-range values. - Preserve topic namespaces in queue serialization, equality and hashing. - Add table-driven tests for status mappings, exceptions, routes, retry policies, hashes and semaphores. ### Compatibility - Public exports, method signatures and constructor argument order remain unchanged, including LiteSubscriptionQuotaExceededException. InternalErrorException exposes a typed readonly retryable flag; existing retry behavior is unchanged. - Non-receive MESSAGE_NOT_FOUND now throws NotFoundException; missing status throws retryable InternalErrorException. Normal empty receives remain successful. - Invalid endpoint strings and mixed schemes throw TypeError at construction; invalid durations throw RangeError. Existing valid homogeneous endpoints and non-negative durations retain their behavior. - Non-empty queue namespaces affect equality and hashCode; persisted queue hashes should be recomputed. Empty-namespace hashes, retry policies, semaphore behavior and the existing SipHash return representation remain unchanged. ### How Did You Test This Change? - 433 offline unit tests pass on Node.js 24.18.0, including 189 additional cases. - 171 focused tests pass; 43 fail against the unchanged base sources as negative controls. - Lint, production/test type checks and diff checks pass; lint has 54 existing warnings. - SDK line coverage is 80.85%; function coverage for route, retry, exception and util implementations is 100%. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
