Pipeline variables without description appear on 'Run pipeline' page

Summary

Earlier (yesterday) prefilled pipeline variables worked as documented here. Today all the variables appear on 'Run pipeline' page regardless of the variable has description or not.

Steps to reproduce

  1. Create a pipeline with a simple job and add a few variables one with description, another without, eg:
variables:
  TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${CI_ENVIRONMENT_NAME}
  WANT_TO_DESTROY:
    description: Set it to 'yes' if you want to destroy
    value: nope
  1. Go to CI/CD > Pipelines > Run Pipeline and the variable without description (TF_ADDRESS) is there: gitlab-screenshot

Example Project

What is the current bug behavior?

Pipeline variables without description appears on web ui when starting the pipeline manually.

What is the expected correct behavior?

Only variables with description should appear

Relevant logs and/or screenshots

See above

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by Daniel Pap