Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove timeout from the underlying network service #326

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

masci
Copy link
Member

@masci masci commented Oct 17, 2024

Fixes #320

When deploying nested workflows, another "system" workflow NetworkWorkflow is started under the hood to provide a map workflow<-->service. This workflow has no timeout set, defaulting to 10s. But if the overall deployment requires more than 10 seconds to run, NetworkWorkflow will exit before the deployment can finish, causing #320

We should probably review the strategy of NetworkWorkflow, specially when nested workflows are involved, but for the time being this fix should be good.

I didn't find a way to meaningfully unit test this, and a proper e2e test would take >10s so I propose we don't test it.

@coveralls
Copy link

Coverage Status

coverage: 65.5%. remained the same
when pulling 82da594 on massi/320
into 0cfab66 on main.

@masci masci mentioned this pull request Oct 17, 2024
@logan-markewich logan-markewich merged commit c790396 into main Oct 17, 2024
10 checks passed
@logan-markewich logan-markewich deleted the massi/320 branch October 17, 2024 14:21
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.

[Bug]: My inner workflow faces a timeout error
3 participants