Add realistic fixture data for cluster agents and related tables

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

The agent and associated tables are not currently created by any fixtures. These fixtures are used to verify version upgrades (docs), so we should add a realistic looking agent setup to ensure we have test coverage for these features. This includes the following tables:

  • cluster_agents
  • cluster_agent_tokens
  • agent_activity_events
  • agent_user_access_project_authorizations
  • agent_user_access_group_authorizations
  • agent_project_authorizations
  • agent_groups_authorizations
  • cluster_agent_url_configurations
  • clusters_managed_resources

The following tables are created in 19_environments.rb, however this file is very old so we should review if the records created are still realistic today:

  • deployments
  • environments
Edited Sep 22, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading