Skip to content

Support `GITLAB_EARLY_AUTH_CHECK` env variable to disable early auth check and disable for acc tests

Timo Furrer requested to merge early-auth-check-var into main

This change set reduces unnecessary calls to /api/v4/user from the early auth check from ~2.5k to ~450 for an entire test suite run:

grep "/api/v4/user" -c ce-15.6.6-ce.0-acctest-before.jsonl 
449

See !1417 (closed) for prior work on this.

Closes #1361 (closed)

/cc @Alexand

Edited by Timo Furrer

Merge request reports