ci: pin Iris-Codec AVIF to brew libavif to dodge gitiles 503 flake#19
Merged
Conversation
The IFE conformance gate installs Iris-Codec from source (its pyproject hardcodes IRIS_BUILD_DEPENDENCIES=ON). Its AVIF dependency ExternalProject- clones libavif and FetchContent-pulls libaom from aomedia.googlesource.com, whose gitiles "+archive" tarball endpoint intermittently returns HTTP 503 under load, reddening the whole macOS job before the validator runs (hit on two consecutive main runs). cmake/avif.cmake only triggers that ExternalProject when AVIF_LIBRARY or AVIF_INCLUDE is unset. Point both at the brew libavif already installed by the cgo-deps step so the clone/fetch is skipped; all other Iris-Codec deps still build vendored. Verified locally that the override suppresses the gitiles libaom fetch (build proceeds past AVIF with no aomedia/libavif.git network access). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
pyprojecthardcodesIRIS_BUILD_DEPENDENCIES=ON). Its AVIF dep ExternalProject-clones libavif and FetchContent-pulls libaom fromaomedia.googlesource.com, whose gitiles+archivetarball endpoint intermittently returns HTTP 503, reddening the whole macOS job before the validator runs (hit on two consecutivemainruns).cmake/avif.cmakeonly triggers that ExternalProject whenAVIF_LIBRARYorAVIF_INCLUDEis unset. This points both at the brewlibavifalready installed by the cgo-deps step, so the clone/fetch is skipped. All other Iris-Codec deps still build vendored.Test Plan
aomedia.googlesource.comfetch.aomedia/libavif.gitnetwork access).🤖 Generated with Claude Code