Skip to content

Add experiment routes to robots.txt

What does this MR do?

In gitlab-experiment, we now have a concept of experiment coupled urls. These urls are currently used in markdown to instrument the number of visits a url gets from that markdown content. This is done to avoid having to add html to markdown templates, and this approach can be used in a lot of ways, like in email content and places where we'd otherwise not be able to instrument usage.

Because of this, if these urls appear in public content (public readme or other markdown files), we want to disallow bots from traversing these urls and artificially inflating their visit counts.

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading