You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workspace parsing fails maybe 1 out of 3 attempts with the error
Error: failed to load workspace: failed to resolve mod dependencies
Dependencies:
dashboard.ibm_security_group_age_report -> dashboard.ibm_security_group_detail.url_path
table.dashboard_ibm_security_group_age_report_anonymous_table_0 -> dashboard.ibm_security_group_detail.url_path
MISSING: dashboard.ibm_security_group_detail
Getting charts steampipe_dashboard_chart /home/runner/work/hub.steampipe.io/hub.steampipe.io/docs-cache/output/mods/github.com/turbot/steampipe-mod-ibm-insights/abb4bd584cd3b6ab1d6ab15212398871a36b9242
Getting Containers steampipe_dashboard_container /home/runner/work/hub.steampipe.io/hub.steampipe.io/docs-cache/output/mods/github.com/turbot/steampipe-mod-ibm-insights/abb4bd584cd3b6ab1d6ab15212398871a36b9242
Error: failed to load workspace: failed to resolve mod dependencies
Dependencies:
dashboard.ibm_security_group_age_report -> dashboard.ibm_security_group_detail.url_path
table.dashboard_ibm_security_group_age_report_anonymous_table_0 -> dashboard.ibm_security_group_detail.url_path
MISSING: dashboard.ibm_security_group_detail
The issue is that the code currently assumes that dependencies can be resolved in 2 passes, which in the ideal case would be true.
However the dependency order generated by the runContext dependency graph is not consistent. In some cases it returns a dependency order which takes 3 passes to resolve.
The solution is to not have a fixed number of passes, but instead continue decoding as long as the number of unresolved dependencies decreases.
i.e. if the number does not decrease, treat the dependencies as unresolveable and fail
The text was updated successfully, but these errors were encountered:
kaidaguerre
changed the title
Intermittent depdency error when loading steampipe-mod-ibm-insights
Intermittent dependency error when loading steampipe-mod-ibm-insights
May 13, 2022
workspace parsing fails maybe 1 out of 3 attempts with the error
The issue is that the code currently assumes that dependencies can be resolved in 2 passes, which in the ideal case would be true.
However the dependency order generated by the runContext dependency graph is not consistent. In some cases it returns a dependency order which takes 3 passes to resolve.
The solution is to not have a fixed number of passes, but instead continue decoding as long as the number of unresolved dependencies decreases.
i.e. if the number does not decrease, treat the dependencies as unresolveable and fail
The text was updated successfully, but these errors were encountered: