Repository navigation
TUR-292: Versioning: count a commit's nodes, edges and dataparts when COMMIT builds them - #1469
Conversation
|
Note AI-generated summary. Summary
The count loop moves out of Change::commit (COMMIT)
flushWriteBuffer
buildAllPending
load each DataPartBuilder
+ updateCommitStats sum node/edge container sizes over commitDataparts
VersionController submit (CHANGE SUBMIT)
rebase, if main moved
build
buildAllPending
+ updateCommitStats recounts: same values, plus any parts flushed at submit
journal().finalise()
- count loop over commitDatapartsThe loop body is the same as before, except that it iterates the The test fixture EvidenceNew target
I did not run the rest of Merge DangerDoor: two-way No format change. The counts were already in the commit metadata that Blast Radius: small Only readers of |
Report the nodes, edges and dataparts a commit added as soon as COMMIT builds it, not only after CHANGE SUBMIT.
Stacked on #1455 (bot stack
main): review and merge #1455 first.