Skip to content

Conversation

@pxaws
Copy link
Member

@pxaws pxaws commented Oct 30, 2024

Issue #, if available:

Description of changes:

Due to a bug in upstream, the detectResourcesSync doesn't wait for the async attributes. This happens if we use the async version of some resource detector. The fix is in another upstream release. We don't want to upgrade the upstream version for now. To avoid this issue, we switch to the sync version of the detectors and this should have no impact for the functionalities (as detectResourcesSync waits for all async detectors anyway and works for both sync and async detectors). In the future, even if we upgrade upstream version, we don't need to switch back to async detectors.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pxaws pxaws requested a review from a team as a code owner October 30, 2024 16:26
@pxaws pxaws merged commit 59d1adb into main Oct 30, 2024
9 checks passed
@pxaws pxaws deleted the use-sync-resource-detector branch October 30, 2024 16: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.

2 participants