Skip to main content
projectHistoryLabels holds the labels users put on versions in the History view, one document per label. project-history owns it and writes it in services/project-history/app/js/LabelsManager.js; there is no Mongoose schema. Web reaches it only through the project-history API.

Fields

Who Writes It

Who Reads It

Indexes

Notes

  • Before it inserts a label, project-history processes the project’s queued updates and checks that history-v1 has a chunk for that version, unless the request sends validate_exists: false (LabelsManager.js:53-59, 173-195; HttpController.js:1109-1115).
  • No code deletes a project’s labels when the project is deleted: project-history DELETE /project/:project_id only clears the sync state and the failure record (HttpController.js:1363-1396), and no other service touches this collection.
Last modified on November 14, 2026