Skip to content

Avoid filename collisions for recipes and diagnostic output #1784

@jfrost-mo

Description

@jfrost-mo

Coming back to this ticket, I think we are actually better off fixing the underlying issue of recipe filename collisions.

In #1713 we display a number of extra points of metadata on each diagnostic in the list. This metadata is needed to be able to filter on, but having it shown removes the need to have it in the title.

Diagnostic card showing date and type facets.

However, if we were to remove it from the title currently, then we would run into clashes on the underlying files, which have their names derived from the title.

What I think we should do instead is to add a random component to the filename to avoid collisions. There after the title doesn't need to be unique, and we don't have to avoid any special characters.

This doesn't preclude changing the operator to accept symbols or letters, but such a change should be judged on clarity, rather than what goes into our filenames.

Originally posted by @jfrost-mo in #1692

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions