Gold plan shows up multiple times on the account billing page

Summary

On the billing page, I have The gold plan listed three times. Once with the correct price and two extra ones that make it look free.

Steps to reproduce

Go to https://gitlab.com/profile/billings. I'm not sure if this is on every account, just people on the early adopter's plan, or just my own account.

What is the current bug behavior?

The page is displayed as in the screenshot below, with the two extra "free" gold plans

image

What is the expected correct behavior?

Exactly the same as above but with the superfluous plans removed.

Output of checks

This bug happens on GitLab.com

Possible fixes

It seems the issue is in a data model somewhere, but I'm not familiar enough with how it all works to dig out the actual cause. this line in the HAML templates is what loops over the plans, so it's probably a good starting point for finding the issue.

Assignee Loading
Time tracking Loading