[web] migrate compile of templates/example project to history mode (#32453)

* [web] migrate compile of templates/example project to history mode

* [saas-e2e] give clsi-cache more time to process the jobs

* [web] add comment on in-memory project update

Co-authored-by: Brian Gough <briangough@users.noreply.github.com>

* [saas-e2e] add retries to clsi-cache check

* [saas-e2e] remove spurious retry trigger

* [saas-e2e] remove broken assertion

---------

Co-authored-by: Brian Gough <briangough@users.noreply.github.com>
GitOrigin-RevId: 8766662cbe0ab5520c5c79d86fa6f774e012b3da
This commit is contained in:
Jakob Ackermann
2026-03-27 09:05:56 +00:00
committed by Copybot
co-authored by Brian Gough
parent a8abc22e6c
commit be67efb4d7
3 changed files with 48 additions and 16 deletions
@@ -310,6 +310,9 @@ async function _createRootDoc(project, ownerId, docLines) {
null
)
await ProjectEntityUpdateHandler.promises.setRootDoc(project._id, doc._id)
// update the rootDoc id on the project in memory
// used to identify the rootResourcePath when doing an initial compile from history
project.rootDoc_id = doc._id
return doc
} catch (error) {
throw OError.tag(error, 'error adding root doc when creating project')