Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisions Count in Registry is including/counting views of the module's Registry page #1482

Open
fishfacemcgee opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@fishfacemcgee
Copy link

Bug description 🐞

The provisions count for a module's listing in the Registry is counting page views.

Screenshot 2024-10-31 at 4 23 56 PM

This module has never been used, and it increments every time I refresh the page. Because the module has never been used, I'm not sure whether the bug is that page views are being added to module downloads, or if provisions is only displaying page views.

I'm currently running Terrakube 2.23.2

Steps to reproduce

  1. Publish a module in the registry in a Terrakube Workspace
  2. View the module
  3. Note the provision count
  4. Refresh the page
  5. Note the increased provision count

Additionally, it appears the count increases even when viewing/refreshing the top level Registry page.

Expected behavior

Only the number of time the module has been downloaded to a workspace is displayed.

Example repository

No response

Anything else?

No response

@fishfacemcgee fishfacemcgee added the bug Something isn't working label Oct 31, 2024
@alfespa17
Copy link
Member

The UI is using the same registry endpoint so if you see the registry in the UI it will be the same as downloading when using the terraform CLI that is why the count change

@alfespa17 alfespa17 added the help wanted Extra attention is needed label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants