Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better logging, more failing tests #16

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

vladsud
Copy link
Owner

@vladsud vladsud commented Feb 16, 2024

No description provided.

@@ -475,6 +482,9 @@ export class SharedMatrix<T = any>
if (count === 0) {
return;
}
if (rowStart > this.rowCount) {
throw new UsageError("insertRows: out of bounds");
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like the idea of adding more information - assuming it gets propagated. insertRows: out of bounds rowStart ${rowStart}, rowCount ${this.rowCount}

@@ -648,6 +661,12 @@ export class SharedMatrix<T = any>
return;
}

/*
if (segment.removedSeq !== undefined && segment.removedSeq > referenceSequenceNumber) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove for now ?

@NicholasCouri NicholasCouri merged commit 88e619e into MatrixOt Feb 16, 2024
2 checks passed
@vladsud vladsud deleted the MatrixOt-tests branch March 13, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants