Repository navigation
ci(autoupdate): a candidate is tested against its own version, and keeps the root override it needs - #902
Merged
Conversation
…eps the root override it needs Three bot updates failed for reasons of the index, not of the release: - compat.sdl3 3.4.20 (#708) and compat.quickjs-ng 0.18.0 (#668): the members' tests hold the pinned release as a literal (SDL_VERSIONNUM(3,4,18), "0.17.0"), so the candidate that was selected, built and run failed its own assertion. The tests now read the expectation from a macro whose default is the pin, and prepare defines it first, as it already does for mcr. - yizhinailong.mcr 0.3.0 (#563): mcr pins compat.openssl 3.5.1 beside compat.curl's 3.5.9; the workspace root's [workspace.dependencies] override settles it, but a candidate is a standalone project and lost it (irreconcilable versions). prepare writes the named root override into the candidate's manifest.
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.
Problem
Three open bot updates fail for reasons of the index, not of the release they carry:
initexit 2tests/examples/sdl3/tests/init.cppassertsSDL_VERSIONNUM(3, 4, 18); the candidate is 3.4.20engine.cppasserts"0.17.0"dependency 'compat.openssl' has irreconcilable versions[workspace.dependencies]override settles it, butpreparebuilds a standalone project with no workspaceChange
SDL3_EXPECT_MAJOR/MINOR/PATCH,QUICKJS_NG_EXPECT_VERSION) whose default is the member's pin, the pattern mcr'sapi.cppalready uses.ci.py preparedefines it first for the candidate (EXPECT_VERSION_DEFINES). The workspace run is unchanged.preparewrites the root override named inCANDIDATE_ROOT_OVERRIDES(mcr:compat.openssl) into the candidate's manifest as[dependencies.compat] openssl = { version, override = true }. It refuses, rather than build an unresolvable graph, when the root states no such override.Verification
python3 -m unittest discover -s tests/autoupdate: 30 tests OK.ci.py preparethenmcpp test --toolchain [email protected], mcpp 2026.11.20.1, linux): compat:sdl3 3.4.20compat.sdl3: ok (version 3.4.20, 4 video drivers, ...)1 passed; yizhinailong:mcr 0.3.0 1 passed (it failed withirreconcilable versionsbefore). The quickjs-ng candidate needs the descriptor change of the companion PR as well.