Skip to content

fromfilename: add deterministic ID for pytest-xdist - #7135

Open
henry-oberholtzer wants to merge 1 commit into
fromfilename/5-5413-write-tagsfrom
fromfilename/6-improvements
Open

henry-oberholtzer wants to merge 1 commit into
fromfilename/5-5413-write-tagsfrom
fromfilename/6-improvements

Conversation

@henry-oberholtzer

Copy link
Copy Markdown
Member

Description

pytest-xdist encounters issues with the ordering of Items in parameterized tests. This address the ordering issue by adding an _item_id to the tests, ensuring consistent performance acrss pytest-xdist.

Function order was changed for clarity.

To Do

  • Documentation. (If you've added a new command-line flag, for example, find the appropriate page under docs/ to describe it.)
  • Changelog. (Add an entry to docs/changelog.rst to the bottom of one of the lists near the top of the document.)
  • Tests. (Very much encouraged but not strictly required.)

Gemini was used split into a stack - but all code & PRs were written manually.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@henry-oberholtzer
henry-oberholtzer requested a review from a team as a code owner October 31, 2026 00:34
@henry-oberholtzer

Copy link
Copy Markdown
Member Author

@snejus @JOJ0 - the beast of the FromFilename rewrite has been split into a more manageable stack of PRs to review! At your leisure! I'll close the previous PR since this supercedes it.

@github-actions github-actions Bot added the fromfilename fromfilename plugin label Oct 31, 2026
@github-actions

Copy link
Copy Markdown

Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.

@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.86%. Comparing base (d1021af) to head (e028be3).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                        Coverage Diff                         @@
##           fromfilename/5-5413-write-tags    #7135      +/-   ##
==================================================================
- Coverage                           80.87%   80.86%   -0.01%     
==================================================================
  Files                                 149      149              
  Lines                               21523    21523              
  Branches                             3332     3332              
==================================================================
- Hits                                17406    17404       -2     
- Misses                               3292     3294       +2     
  Partials                              825      825              
Files with missing lines Coverage Δ
beetsplug/fromfilename.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@snejus snejus mentioned this pull request Nov 1, 2026
2 of 3 tasks

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fromfilename fromfilename plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant