Skip to content

cargo lambda watch hangs with default --concurrency or --concurrency 1 #926

@clndurnea

Description

@clndurnea

Hello

After updating to v1.9.0 the cargo lambda watch seems to hang at request stack increased function_name when run with the default or 1 concurrency.

 INFO starting Runtime server runtime_addr=[::]:9000
DEBUG request stack initialized before compilation function_name="_"
DEBUG invocation received function_name=_
DEBUG request stack increased function_name="_"
DEBUG invocation received function_name=_
DEBUG request stack increased function_name="_"

When starting with at least 2 concurrency, it executes as expected

 INFO starting Runtime server runtime_addr=[::]:9000
DEBUG request stack initialized before compilation function_name="_"
DEBUG invocation received function_name=_
DEBUG request stack increased function_name="_"
DEBUG spawning additional instance function="_" queue_depth=1
 INFO spawning function instance function="_" instance_id=67698aba-2549-4729-b8b9-170b5b6ded80
 INFO starting lambda function instance function="_" instance_id=67698aba-2549-4729-b8b9-170b5b6ded80 manifest=Some("Cargo.toml") cmd=Exec { prog: "[...]/.rustup/toolchains/1.93.1-aarch64-apple-darwin/bin/cargo", args: ["run", "-v", "--color", "auto", "--manifest-path", "Cargo.toml"] }
...
DEBUG watcher action received action=Action { events: [Event { tags: [], metadata: {} }], outcome: OnceCell(Uninit) } signals=[] has_paths=false empty_event=true
DEBUG spawning additional instance function="_" queue_depth=1
 INFO spawning function instance function="_" instance_id=39705224-6395-45ad-b8af-887edb4fdd6b
 INFO starting lambda function instance function="_" instance_id=39705224-6395-45ad-b8af-887edb4fdd6b manifest=Some("Cargo.toml") cmd=Exec { prog: "[...]/.rustup/toolchains/1.93.1-aarch64-apple-darwin/bin/cargo", args: ["run", "-v", "--color", "auto", "--manifest-path", "Cargo.toml"] }
...
DEBUG watcher action received action=Action { events: [Event { tags: [], metadata: {} }], outcome: OnceCell(Uninit) } signals=[] has_paths=false empty_event=true
Starting cold start. Service dummy_lambda, Environment: dev
DEBUG registered connection peer=[::1]:58053 function_name="_" instance_id=2dd87bf7-7c6e-4707-9aa0-01e9b6187829
DEBUG instance marked busy function_name="_" instance_id=2dd87bf7-7c6e-4707-9aa0-01e9b6187829
DEBUG processing request req_id="dc46364a-0b15-40a1-976c-cb6c542d4739" function="_" instance_id=Some(2dd87bf7-7c6e-4707-9aa0-01e9b6187829)
Starting cold start. Service dummy_lambda, Environment: dev
DEBUG registered connection peer=[::1]:58054 function_name="_" instance_id=b6179926-c09b-44d8-8141-d9ef29115fec
DEBUG watcher action received action=Action { events: [Event { tags: [Source(Keyboard), Signal(Interrupt)], metadata: {} }], outcome: OnceCell(Uninit) } signals=[Interrupt] has_paths=false empty_event=false
 INFO terminating instance monitor
 INFO terminating lambda function instance function="_" instance_id=39705224-6395-45ad-b8af-887edb4fdd6b
 INFO terminating lambda scheduler
 INFO terminating lambda function instance function="_" instance_id=67698aba-2549-4729-b8b9-170b5b6ded80
DEBUG watcher action received action=Action { events: [Event { tags: [Source(Keyboard), Signal(Interrupt)], metadata: {} }], outcome: OnceCell(Uninit) } signals=[Interrupt] has_paths=false empty_event=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions