Skip to content

MENG-1939 Command Timed Out caused Actor crashed#8

Merged
bohyuanchao merged 1 commit into
lulu/feat/ruby-3.3.6from
MENG-1939-timeout-timestamp-error
Aug 5, 2025
Merged

MENG-1939 Command Timed Out caused Actor crashed#8
bohyuanchao merged 1 commit into
lulu/feat/ruby-3.3.6from
MENG-1939-timeout-timestamp-error

Conversation

@bohyuanchao

Copy link
Copy Markdown

@bohyuanchao
bohyuanchao requested review from aukeman and tomeeo August 4, 2025 18:43
if dial_command.respond_to?(:timestamp)
@start_time = dial_command.timestamp.to_time
else
logger.warn "dial_command #{dial_command.inspect} did not respond to timestamp. @dial_command #{@dial_command.inspect}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to set some @start_time to some value? or is it ok if it's null?

any idea under what condition the dial_command doesn't have a timestamp set?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to set some @start_time to some value? or is it ok if it's null?

I think it should be fine since we don't use Adhearsion::Call#start_time for anything in the voice.

any idea under what condition the dial_command doesn't have a timestamp set?

When commands timed out, we ignore the timeout on purpose
https://github.com/VHT/callback_cloud/blob/comintg/voice/lib/outbound_call_extensions.rb#L7

@tomeeo

tomeeo commented Aug 5, 2025

Copy link
Copy Markdown

👍 seems to make sense to keep the celluloid actor from crashing

@bohyuanchao
bohyuanchao merged commit eba8244 into lulu/feat/ruby-3.3.6 Aug 5, 2025
3 of 9 checks passed
@bohyuanchao
bohyuanchao deleted the MENG-1939-timeout-timestamp-error branch August 5, 2025 18:36
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.

3 participants