Geo Replicable - Properly handle disabled verification
What does this MR do and why?
Closes #387069 (closed)
This change exposes the verification_enabled?
key to the Geo Replicables Frontend. This allows us to handle the GraphQL query correctly and avoid the need for "dummy" methods to fake their existence when the request is sent. See #385753 (closed) for more info about the error this was causing.
Screenshots or screen recordings
Before | After | |
---|---|---|
Verification Disabled (the bug) | ||
Verification Enabled |
How to set up and validate locally
- Fetch and checkout this branch
- Setup Geo (How to setup Geo)
- In the terminal, go to your Secondary GDK
/gitlab
directory - Access the Rails Console (
rails c
) - Seed a few Container Repositories into Geo (
Geo::ContainerRepositoryRegistry.create(container_repository_id: 1, state: "pending")
- Simply change
container_repository_id
to a new number for each record you create
- Simply change
- Access your Primary GDK UI
- Navigate to Geo Dashboard (
/admin/geo/sites
) - Scroll down to your Secondary Site and click
Container Repositories
link in the Replication Details section - This should navigate you to your Secondary GDK and show a list of the Container Repository Records you created in step 5
- Ensure NO FLASH ERRORS appear
- Ensure on each record it says
Last verified Not applicable.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #387069 (closed)
Edited by Zack Cuddy