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

bug: artifact generation does not respect timeout value set using INFRAHUB_TIMEOUT value #5456

Open
wvandeun opened this issue Jan 14, 2025 · 0 comments · May be fixed by #5471
Open

bug: artifact generation does not respect timeout value set using INFRAHUB_TIMEOUT value #5456

wvandeun opened this issue Jan 14, 2025 · 0 comments · May be fixed by #5471
Assignees
Labels
group/backend Issue related to the backend (API Server, Git Agent) priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release type/bug Something isn't working as expected

Comments

@wvandeun
Copy link
Contributor

Component

API Server / GraphQL

Infrahub version

1.1.2

Current Behavior

When a transformation, that is used by an artifact definition, does not define a timeout value, then the default will be used of 10s instead of respecting the value defined in the INFRAHUB_TIMEOUT environment variable.

This could lead to GraphQL queries timing out earlier than expected, which is a problem on larger datasets.
https://github.com/opsmill/infrahub/blob/stable/backend/infrahub/git/tasks.py#L350
https://github.com/opsmill/infrahub/blob/stable/backend/infrahub/git/integrator.py#L1270

Expected Behavior

If no timeout is defined on the transformation then INFRAHUB_TIMEOUT value should be respected.

Steps to Reproduce

See code

Additional Information

No response

@wvandeun wvandeun added type/bug Something isn't working as expected group/backend Issue related to the backend (API Server, Git Agent) labels Jan 14, 2025
@exalate-issue-sync exalate-issue-sync bot added state/needs-triage priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release labels Jan 14, 2025
@dgarros dgarros added this to the Infrahub - 1.1.3 milestone Jan 14, 2025
@dgarros dgarros self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release type/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants