Skip to content

Simplify installed-package inspection - #2647

Draft
zaniebot wants to merge 13 commits into
quality-stack-20261014-22-i07from
quality-stack-20261014-23-i12
Draft

zaniebot wants to merge 13 commits into
quality-stack-20261014-22-i07from
quality-stack-20261014-23-i12

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Simplify installed-package indexing and traversal by reusing distribution metadata and keeping the name index synchronized with removals.

@zaniebot
zaniebot deployed to automations October 14, 2026 15:06 — with GitHub Actions Active
@codspeed

codspeed Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 10.95%

⚠️ 8 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 1 regressed benchmark
✅ 53 untouched benchmarks
🆕 15 new benchmarks
⏩ 35 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ ⚠️ Simulation discover_workspace_from_all_members_with_excludes 145.9 ms 163.8 ms -10.95%
🆕 WallTime git_fetch_cold_precise[django] N/A 5.2 s N/A
🆕 WallTime git_fetch_cold_precise[flask] N/A 274.5 ms N/A
🆕 WallTime git_fetch_cold_precise[sampleproject] N/A 35.8 ms N/A
🆕 WallTime git_fetch_revision_history[django/1] N/A 5.2 s N/A
🆕 WallTime git_fetch_revision_history[django/10] N/A 7.3 s N/A
🆕 WallTime git_fetch_revision_history[django/4] N/A 6 s N/A
🆕 WallTime git_fetch_warm_commit[django] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_commit[flask] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_commit[sampleproject] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_precise[django] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_precise[flask] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_precise[sampleproject] N/A 2.6 ms N/A
🆕 WallTime git_fetch_warm_reference[django] N/A 8.2 ms N/A
🆕 WallTime git_fetch_warm_reference[flask] N/A 8 ms N/A
🆕 WallTime git_fetch_warm_reference[sampleproject] N/A 5.9 ms N/A

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing quality-stack-20261014-23-i12 (5c4b363) with quality-stack-20261014-22-i07 (e83d329)

Open in CodSpeed

Footnotes

  1. 35 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@astral-automations-bot astral-automations-bot Bot added the internal A refactor or improvement that is not user-facing label Oct 14, 2026
@zaniebot
zaniebot added this pull request to stack #2716 October 14, 2026 16:30
@zaniebot
zaniebot force-pushed the quality-stack-20261014-23-i12 branch 3 times, most recently from faddc80 to 7b1da3e Compare October 14, 2026 21:08
@zaniebot
zaniebot deployed to automations October 14, 2026 21:11 — with GitHub Actions Active
@zaniebot
zaniebot force-pushed the quality-stack-20261014-23-i12 branch from 7b1da3e to 5c4b363 Compare October 14, 2026 21:57
@zaniebot
zaniebot deployed to automations October 14, 2026 22:00 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
automations — 5c4b363e Deployed Oct 14, 2026 by zaniebot via review-code-quality / code quality review #10336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants