Skip to content

[BE] Persist policy sync state and make it queryable

Why are we doing this work

  • We need to add an inProgress field to the GraphQL subscription introduced by !201777 (merged)
  • We need to add a new GraphQL query for querying the current policy sync state so that the progress bar UI can be hydrated on page load
  • We need to PolicySyncState::State so that it doesn't clear the Redis keys that track progres

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:
Edited by 🤖 GitLab Bot 🤖