Skip to content

W10 M2: Use public get_merge_status, check in working-tree benchmark, tested everything once again - #75

Open
Saanvi521 wants to merge 1 commit into
mainfrom
docs/week10-working-tree-handoff
Open

Saanvi521 wants to merge 1 commit into
mainfrom
docs/week10-working-tree-handoff

Conversation

@Saanvi521

Copy link
Copy Markdown
Collaborator

Summary

  • Switches cmd_add and cmd_status from Module 3's private _read_pending_merge() to the public get_merge_status() from Polish log output and CLI errors #66. Behavior is unchanged.
  • Checks in the working-tree benchmark as scripts/benchmark_working_tree.py, which docs/performance.md already referred to but the repo didn't contain.
  • Adds a Reproduction section to docs/performance.md with the commands, revision, Python version, machine, and a fresh run.

Validation

  • scripts/quality-check.sh (lint, format check, and 445 tests pass)
  • Manual testing, if applicable: ran PYTHONPATH=. python3 scripts/benchmark_working_tree.py from the repository root on 2026-11-19 at 2e87586 plus this branch (Python 3.13.5, MacBook Air, Apple silicon). status takes about 0.07 s and the 500-edit diff about 0.18 s, in line with the earlier After table.

Checklist

  • The change is focused and easy to review.
  • Tests were added or updated for behavior changes.
  • Documentation was updated for user-facing or setup changes.
  • No secrets, generated artifacts, or local-only files are included.

Notes for Reviewers

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