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
Use of dependency_configuration is evidently supported, but lacks documentation in the Digger user documentation.
I'm not sure if #782 is supposed to address this.
Furthermore dependency_configuration could potetially have the wrong default behaviour, based on the definition of the two available modes (hard and soft).
Perhaps change the condition to diggerConfig.DependencyConfiguration.Mode == digger_config.DependencyConfigurationSoft?
I have discussed this with and demonstrated it on video call to @motatoes. In those discussions I've described a transitive dependency C -> B -> A, but that doesn't seem to matter at all. With the default behaviour, for C to plan, I have to make a change affecting A aswell.
The text was updated successfully, but these errors were encountered:
I'm happy to contribute changes, but first need to clarify what the definition of DependencyConfiguration.Mode is and what the default behaviour is expected to be 🙂
I've discussed with @Spartakovic regarding this and he said that there might be a bug indeed with the "hard" behaviour and asked me to try and replace the line
Use of
dependency_configuration
is evidently supported, but lacks documentation in the Digger user documentation.I'm not sure if #782 is supposed to address this.
Furthermore
dependency_configuration
could potetially have the wrong default behaviour, based on the definition of the two available modes (hard
andsoft
).digger/libs/digger_config/converters.go
Lines 12 to 17 in d9ac240
My experience is that without specifying anything for dependency_configuration.mode, the following happens
The way I observe this, in regards to adjusting
dependency_configuration
and how it currently functionshard
(default) mode requires all projects in a dependency chain to become affected by change.soft
mode will e.g. allow a change only to B. This is what we want.However, the definition from the source code tell us the opposite.
So seemingly the actual observed default behaviour is that of "soft", by definition.
Is the issue perhaps on this line in the orchestrator code?
digger/libs/orchestrator/github/github.go
Line 476 in d9ac240
Perhaps change the condition to
diggerConfig.DependencyConfiguration.Mode == digger_config.DependencyConfigurationSoft
?I have discussed this with and demonstrated it on video call to @motatoes. In those discussions I've described a transitive dependency C -> B -> A, but that doesn't seem to matter at all. With the default behaviour, for C to plan, I have to make a change affecting A aswell.
The text was updated successfully, but these errors were encountered: