-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix intersphinx cache handling #12087
Fix intersphinx cache handling #12087
Conversation
…com:picnixz/sphinx into fix/11466-intersphinx-inventory-consistency
…hinx-inventory-consistency
Co-authored-by: James Addison <55152140+jayaddison@users.noreply.github.com>
@picnixz on the tests, please could you move everything new to a new If you're able to add more comments / explanation of what's being tested and which invariants we expect to hold etc, that would be great. (though optional) A |
Yes I can (I thought about it because I was like "mmmh this file becomes huge...") |
Do you want me to fix the tests now? or are you working on it now? |
I'll take care of fixing the CI/CD |
That'd be great, thank you! I've no more changes for now. |
@AA-Turner @picnixz one more observation: during those test failures, tests on Windows succeeded. And on all the others, an Intersphinx cache key eviction failure occurred. Could the reason that only Windows passed -- and also perhaps the reason why it tends to take longer than other CI pipelines -- be that it is rebuilding from fresh every time? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would personally still prefer to see the itemgetter
usage removed and replaced with named attributes.
However, I'm comfortable enough with the state of the changeset to approve it 👍
I split the test into 3 actually:
I'm going offline now. |
Thanks for the mammoth effort @picnixz |
You're welcome! (the effort wasn't that much and it was fun). I plan, at some point, to refactor the tests in general so that we can have helper classes but I cannot find time for that... |
This one is based on top of #12083.
This is the actual implementation (and bugfix) of #11466. I open it so that I can track more easily (and don't forget about it) but don't review it until the aforementioned PR is merged (and this one is rebased).