Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2055.
Replaces #2056, which was closed after the CLA rescan endpoint returned HTTP 400 and the check remained pending. The code and validation are unchanged.
Problem
_do_fetchlogs and swallows HTTP, connection, and write failures. Joblib therefore treats failed requests as successful tasks. If font processing completes,mainpersists advanced icon versions even though assets were not downloaded, so later runs skip those versions. A failed font request can also fall through to decompressing a stale local WOFF2 file.Change
Remove the broad exception handler so failures propagate through joblib and abort the updater before font post-processing and version-cache persistence. Successful requests use the same headers, status check, directory creation, and byte writes as before.
This changes only updater code and offline tests. It does not submit or modify icon designs, SVGs, Android drawables, generated fonts, or the version-cache data, in accordance with the README's icon-file contribution policy.
Validation
python -m unittest discover -s update -p '*_test.py' -v: 7 passed.git diff --checkpasses.The issue is established by offline fault injection; this PR does not claim it caused any particular historical missing icon.