-
Forgetting to regenerate docs. Any change to a command, flag, or help string must be followed by
make docs. CI runsmake check-docs, which regenerates and fails ifgit statusis dirty. This is the most common CI failure. -
Vendoring drift. Dependencies are vendored (
vendor/is committed). Aftergo get/go modchanges you must rungo mod tidy && go mod vendor, or the build/CI breaks. Do not hand-editvendor/. -
Stale mocks. Mocks in
internal/auth0/mockare generated bymockgen. After changing a mocked interface, runmake test-mocks— do not hand-edit the generated files. -
Two go-auth0 major versions coexist. The repo imports both
github.com/auth0/go-auth0(v1,management) andgithub.com/auth0/go-auth0/v2. Check which version a given command already uses before adding calls; don't mix types across the two. -
Printing results directly. Use the
internal/displayrenderer instead offmt.Printlnso--jsonand format flags keep working, and so nothing accidentally prints a secret. -
Leaking secrets in output/logs. Client secrets and tokens live in the OS keyring (
internal/keyring). Never log them; secret-revealing output (e.g.--reveal-secrets) must be explicit and opt-in. -
Enabling telemetry/crash reporting for dev builds. Both analytics and Sentry intentionally no-op when
buildinfo.Versionis empty ordev. Don't remove those guards. -
godotlint failures. Comments must be complete sentences ending in a period — an easy lint miss on new code.