6d8ea36c

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Enforce item name length limits (#88)

Reject item names longer than 25 characters after trimming and apply the
same limit to item-name form fields.

Tests: ./dev-scripts/run-go-tests
Build: ./dev-scripts/build-all-flake-targets

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/88

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 9s 9s 12s 2s
Eval 6s 27s 27s 33s 0s
Build 14s 2m23s 37s 52s 0s
Deploy 1m18s 1m30s 1m30s 2m49s 26s
Suite 2s 4m31s 2m46s 2m49s 29s

Timeline

0s10s20s30s40s50s1m20s1m30s1m40s1m50s2m2m10s2m20s2m30s2m40s