Skip to content

Sanitize job names with runner? #185

@jbusecke

Description

@jbusecke

I am running repeatedly into issues with dataflow job names that are not allowed on dataflow like here.

Runner warns about this, but fails. This is acceptable in general but adds avoidable overhead for the maintainer (who often already has a steep learning curve ahead of them). It is also only an issue on Dataflow and thus would be nicely abstracted away on the runner level?

I suggest that we sanitize jobnames within runner in the following way:

  • replace offending characters (e.g. _ with -)
  • trim the job name to the max length (with appropriate warning)

Metadata

Metadata

Assignees

No one assigned

    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