Skip to content

Conversation

@steiler
Copy link
Collaborator

@steiler steiler commented Oct 31, 2025

No description provided.

@steiler steiler mentioned this pull request Nov 4, 2025
Copy link
Contributor

@hansthienpondt hansthienpondt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, deviation testing are failing because of known issue.

name string
// updates is nil if the intent did not exist.
updates treetypes.UpdateSlice
updates []*treetypes.PathAndUpdate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a specific reason why we use a pointer type in the slice? There is not much performance gain and it risks more nil pointer issues in the future

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Habit I guess... but you're right it contains just pointers so lets make store the values.

Copy link
Contributor

@alexandernorth alexandernorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - we plan to discuss code style (pointers in slices vs not) later

@hansthienpondt hansthienpondt merged commit f3cbbe5 into main Nov 6, 2025
12 of 14 checks passed
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 4.91803% with 58 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/tree/types/PathUpdate.go 0.00% 14 Missing ⚠️
pkg/tree/types/update_slice.go 0.00% 9 Missing ⚠️
pkg/datastore/types/transaction_intent.go 0.00% 8 Missing ⚠️
pkg/utils/testhelper/utils.go 0.00% 8 Missing ⚠️
pkg/datastore/transaction_rpc.go 0.00% 6 Missing ⚠️
pkg/tree/types/update.go 0.00% 6 Missing ⚠️
pkg/tree/leaf_variant_slice.go 0.00% 5 Missing ⚠️
pkg/datastore/datastore_rpc.go 0.00% 1 Missing ⚠️
pkg/datastore/types/transaction.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants