Skip to content

Please make Werft support arbitrarily long branch names #8605

Closed
@jankeromnes

Description

@jankeromnes

Bug description

Currently, Werft spontaneously fails your Pull Request if your branch name is not extremely short:

gitpod/.werft/build.ts

Lines 52 to 55 in 73cbeef

const maxBranchNameLength = 20;
if (config.previewEnvironment.destname.length > maxBranchNameLength) {
werft.fail("check-branchname", `The branch name ${config.previewEnvironment.destname} is more than ${maxBranchNameLength} character. Please choose a shorter name!`)
}

The only solution is to pack up your work and move to a completely new branch / Pull Request.

This is becoming a significant tax on Gitpod's developer velocity and happiness:

Could we please find a way to support slightly longer branch names? 🙏 😍 (For example like so)

Steps to reproduce

  1. Contribute to Gitpod
  2. Get frustrated 🤬

Workspace affected

No response

Expected behavior

  1. Contribute to Gitpod
  2. Smooth sailing ⛵

Example repository

https://github.com/gitpod-io/gitpod

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions