labelNameLimit constant

int const labelNameLimit

GitHub caps a label name at 50 characters and answers 422 resource: Label, code: invalid above it.

Enforced here because the fake was silently accepting a name the real API refuses, which is precisely the kind of belief a fake is not allowed to hold on its own: a 52-character label (<prefix>:section:<uuid>) passed every offline test while being impossible against GitHub.

Implementation

static const labelNameLimit = 50;