Skip to content

Handle concurrent editing of Tree.Edit #1936

Handle concurrent editing of Tree.Edit

Handle concurrent editing of Tree.Edit #1936

Triggered via pull request August 14, 2023 02:37
Status Failure
Total duration 2m 20s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build (1.19.2): pkg/document/crdt/tree.go#L268
Error return value of `n.IndexTreeNode.SetChildren` is not checked (errcheck)
build (1.19.2): pkg/document/crdt/tree.go#L269
Error return value of `split.IndexTreeNode.SetChildren` is not checked (errcheck)
build (1.19.2): pkg/document/crdt/tree.go#L645
Error return value of `fromParent.InsertAt` is not checked (errcheck)
build (1.19.2): pkg/document/crdt/tree.go#L648
Error return value of `fromParent.InsertAfter` is not checked (errcheck)
build (1.19.2): pkg/index/tree.go#L268
exported: comment on exported method Node.ChildIndex should be of the form "ChildIndex ..." (revive)
build (1.19.2): pkg/index/tree.go#L367
exported: comment on exported method Node.FindOffset should be of the form "FindOffset ..." (revive)
build (1.19.2): pkg/index/tree.go#L763
exported: exported method Tree.PathToIndex should have comment or be unexported (revive)
build (1.19.2): pkg/index/tree.go#L385
increment-decrement: should replace refined += 1 with refined++ (revive)
build (1.19.2): pkg/document/crdt/tree.go#L37
exported: comment on exported var DummyTreeNodeId should be of the form "DummyTreeNodeId ..." (revive)
build (1.19.2): pkg/document/crdt/tree.go#L88
exported: comment on exported method TreePos.Equals should be of the form "Equals ..." (revive)