Skip to content

Crashdump directory is not properly set in workflow config file #2557

@eort

Description

@eort

Crash files are written to the current directory despite setting the crashdump directory of a workflow with workflow.config = {"execution": {"crashdump_dir": 'crashdump'}}.

I suspect the problem is line 594 in pipeline/engine/workflows.py when the workflow config file is being merged with the node config file. The default behaviour of merge_dict is that in case of a key conflict the second dictionary has precedence, so that the user-defined setting from the workflow level is being overwritten with the default settings from the node level.

As far as I can see the ideal behaviour would be that node settings override workflow settings, but additionally, explicitly defined settings override default-settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions