canonical / discourse-gatekeeper

Experimental GitHub Action to upload charm documentation to charmhub
Apache License 2.0
7 stars 7 forks source link

Resolve race condition between check for conflicts and discourse update #187

Open jdkandersson opened 1 year ago

jdkandersson commented 1 year ago

The action checks for conflicts between git docs and discourse. However, taking into account the need to run the conflict detection check for every topic, potential rate limits and potentially large documentation, there could be on the order of minutes between the conflict check being run and the documentation actually being updated. This means that there is a window of time when there could be a community contribution that gets overridden.

There are some ideas to resolve this: