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

[sc-112730] fix: out of range error while running extinctions on large diffs #425

Merged
merged 8 commits into from
Jan 24, 2024

Conversation

jazanne
Copy link
Contributor

@jazanne jazanne commented Jan 23, 2024

Thanks @ffluk3 for introducing fix in #386

Adds a test case to verify the fix. The test data is taken from sergi/go-diff#89 data.txt

Closes #351

ffluk3 and others added 4 commits January 22, 2024 20:17
Resolves #351, where the tool would throw index out of range errors for
sufficiently large source code diffs. The downstream library was
recently updated to allow for significantly larger diff max sizes, as
discussed in the associated issue.
@jazanne jazanne changed the title Ffluk3/update go diff [sc-112730] fix: out of range error while running extinctions on large diffs Jan 24, 2024
Copy link

This pull request has been linked to Shortcut Story #112730: Index out of range error when scanning large files.

@jazanne jazanne marked this pull request as ready for review January 24, 2024 14:58
@jazanne jazanne requested a review from a team January 24, 2024 14:58
@jazanne jazanne enabled auto-merge (squash) January 24, 2024 15:10
@jazanne jazanne merged commit bbbd2b5 into main Jan 24, 2024
2 checks passed
@jazanne jazanne deleted the ffluk3/update-go-diff branch January 24, 2024 15:17
@ffluk3
Copy link
Contributor

ffluk3 commented Jan 24, 2024

Thank you @jazanne! Can we also publish a patch version for this change?

@jazanne
Copy link
Contributor Author

jazanne commented Jan 24, 2024

@ffluk3 yes, i expect to have that our later today

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.

Extinctions scan fails for large file diffs
3 participants