Skip to content

optimize compact_path() in pytest discovery for the common case#26016

Open
vaclavHala wants to merge 1 commit into
microsoft:mainfrom
vaclavHala:compact-discovery-payload-shortcut
Open

optimize compact_path() in pytest discovery for the common case#26016
vaclavHala wants to merge 1 commit into
microsoft:mainfrom
vaclavHala:compact-discovery-payload-shortcut

short circuit using str.startswith() in compact_path() to cover the c…

07a5ab6
Select commit
Loading
Failed to load commit list.
VS Code Engineering / VS Code PR Check Started 2026-07-02 22:44:00 ago

Awaiting approvals (0/3)

PR classified as community.

⚠️ Head commit is NOT signed by a trusted team member, so the full 3-approval requirement applies. (Head commit signature not verified (reason: unsigned).)

Tip: to earn the credit (−1 approval), the head commit must be signed by you with one of your own keys listed in security/trusted-signing-keys.csv. A "Verified" badge that GitHub adds to commits it creates on your behalf — web-editor edits, applied suggestions, Codespaces, API commits — does not count.

⚠️ Collaborator approvals: 0/3.

Needs 3 more collaborator approvals to merge.