tairea / galaxy-maps-v2

Galaxy Maps is an open source e-learning platform themed around space and galaxies where learning pathways take the shape of exploreable star constellations. (Alpha release: www.galaxymaps.io) We are looking for more contributors, please help 🙏
https://galaxymaps.io
GNU General Public License v3.0
2 stars 1 forks source link

redundant xAPI data #131

Open tairea opened 5 months ago

tairea commented 5 months ago

related to #130

There is old course related xAPI data in the LRS, that doesnt match our main Firestore DB, as highlighted in this screenshot:

This is due to dev testing eg. starting a course, testing it, then deleting the records from the main Firestore database, but not deleting xAPI statements from the LRS (Learning Record Store).

Currently there are no checks or delete api calls to the LRS.

I am wondering if we need to build these checks and delete calls in, given a normal users flow.

Or is this just an outlier scenario because of the dev testing? It's not obvious to me which, so keen to discuss.

Image

Image

tairea commented 5 months ago

firestore delete trigger (cloud function) should also delete call to LRS (possibly see idle student email notification)