You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/11 07:17:13 UTC
[GH] (rocketmq/fix/receive-message-null-deadline): Workflow run "CodeQL Analysis" failed!
The GitHub Actions job "CodeQL Analysis" on rocketmq.git/fix/receive-message-null-deadline has failed.
Run started by GitHub user zjncs (triggered by zjncs).
Head commit for run:
f767f71e6c18325f2db2f99a565bf22a74767d4b / zjncs <18...@163.com>
fix(proxy): fall back to max long polling timeout when gRPC deadline is absent
ContextInitPipeline only records the remaining deadline time when the
gRPC call actually carries a deadline. For a call without one - which
gRPC allows - ctx.getRemainingMs() returned null and the unboxing in
the pollingTime computation threw a NullPointerException, which the
catch block turned into an INTERNAL_SERVER_ERROR response.
Treat an absent deadline as grpcClientConsumerMaxLongPollingTimeoutMillis
remaining time: pollingTime and the timeout passed to popMessage stay
bounded by the configured maximum instead of crashing.
Report URL: https://github.com/apache/rocketmq/actions/runs/34573322426
With regards,
GitHub Actions via GitBox