Skip to content

Add header to identify requests made from Canary

Adds the X-Gitlab-Stage header when the AJAX requests are made from a page loaded from a Canary server.

Testing locally

  1. Add export CANARY=true to env.runit in the GDK root dir. (Docs)
  2. Check AJAX requests in the Network tab and note the X-Gitlab-Stage header

Related to #219731

Edited by Heinrich Lee Yu

Merge request reports