Skip to content

chore(authorship): remove 3 dead methods from authorship_log_serialization#1332

Open
jwiegley wants to merge 1 commit into
dc/api-client-cleanupfrom
dc/authorship-serialization-cleanup
Open

chore(authorship): remove 3 dead methods from authorship_log_serialization#1332
jwiegley wants to merge 1 commit into
dc/api-client-cleanupfrom
dc/authorship-serialization-cleanup

Conversation

@jwiegley
Copy link
Copy Markdown
Contributor

@jwiegley jwiegley commented May 11, 2026

Summary

Remove AttestationEntry::remove_line_ranges, shift_line_ranges, and AuthorshipLog::convert_to_checkpoints_for_squash. The squash-merge authorship path was refactored into rebase_authorship.rs; these methods were never updated. Includes the private compress_lines_to_working_log_format helper and 6 unit tests that exclusively covered the dead code. Net: −611 lines.

Test plan

  • task build passes
  • task lint passes

🤖 Generated with Claude Code


Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

…ation

AttestationEntry::remove_line_ranges, AttestationEntry::shift_line_ranges,
and AuthorshipLog::convert_to_checkpoints_for_squash had zero callers.
The squash-merge authorship path was refactored into rebase_authorship.rs;
these methods were never updated to reflect that. Also removes the private
compress_lines_to_working_log_format helper that only served them, and
the six unit tests that exclusively covered this dead code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jwiegley jwiegley force-pushed the dc/api-client-cleanup branch from 5b6c496 to 7f15079 Compare May 28, 2026 18:13
@jwiegley jwiegley force-pushed the dc/authorship-serialization-cleanup branch from 233d28d to 699f929 Compare May 28, 2026 18:13
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.

1 participant