Skip to content

Conversation

brian-mulier-p
Copy link
Member

@brian-mulier-p brian-mulier-p commented Sep 9, 2025

closes #11117

The main issue is that input defaults are trying to get resolved but if themselves depend on another inputs it's getting painful.

A better way may be to do the same as for resolve input endpoint or resolve other input defaults while keeping track of failed input resolutions and create a new renderer with the resolved input values and keep iterating till the failure list is no longer reducing or empty but it feels overkill and I don't think handling this case is useful as it's failing only in a "static" context (flow dependencies computing)

@brian-mulier-p brian-mulier-p requested review from a team and loicmathieu September 9, 2025 10:31
@github-project-automation github-project-automation bot moved this to To review in Pull Requests Sep 9, 2025
@brian-mulier-p brian-mulier-p force-pushed the fix/flow-dependencies-with-dynamic-default branch from f1c9d8a to c25cda3 Compare September 9, 2025 10:31
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🐋 Docker image: ghcr.io/kestra-io/kestra-pr:11166

docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:11166 server local

1 similar comment
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🐋 Docker image: ghcr.io/kestra-io/kestra-pr:11166

docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:11166 server local

@brian-mulier-p brian-mulier-p force-pushed the fix/flow-dependencies-with-dynamic-default branch from c25cda3 to e9bae98 Compare September 9, 2025 11:27
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🐋 Docker image: ghcr.io/kestra-io/kestra-pr:11166

docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:11166 server local

@MilosPaunovic MilosPaunovic enabled auto-merge (squash) September 9, 2025 11:36
Copy link

sonarqubecloud bot commented Sep 9, 2025

Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

I'm not sure I understand it, you said that it's normal to not be able to resolve inputs?
This is unfortunate as it would means that we would allow nonn-working flow to be defined...

@brian-mulier-p brian-mulier-p force-pushed the fix/flow-dependencies-with-dynamic-default branch from e9bae98 to e596479 Compare September 9, 2025 19:04
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🐋 Docker image: ghcr.io/kestra-io/kestra-pr:11166

docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:11166 server local

@brian-mulier-p brian-mulier-p merged commit 5759555 into develop Sep 10, 2025
7 of 8 checks passed
@brian-mulier-p brian-mulier-p deleted the fix/flow-dependencies-with-dynamic-default branch September 10, 2025 07:59
@github-project-automation github-project-automation bot moved this from To review to Done in Pull Requests Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix Flow Dependencies computation for flows with dynamic defaults
3 participants