Skip to content

ci: pin the vcpkg version database per manifest - #87

Merged
xroche merged 1 commit into
masterfrom
ci-vcpkg-per-manifest
Aug 2, 2026
Merged

ci: pin the vcpkg version database per manifest#87
xroche merged 1 commit into
masterfrom
ci-vcpkg-per-manifest

Conversation

@xroche

@xroche xroche commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Picking the newest baseline by committer date was a proxy for ancestry, and a fragile one: ties sort unstably, and the exact check (git merge-base --is-ancestor) cannot see across two --depth 1 fetches. Rather than repair the comparison, this drops it. Each manifest gets versions/ checked out at its own pin, right before the build that uses it.

That also retires the shakier assumption behind #86, that the database is append-only enough for one tree to serve both baselines. It is not append-only in general, since port removals delete versions files; it just held across the two baselines we pin. Master now pins different baselines for the engine and the GUI, so an ordinary CI run exercises both checkouts.

…seline

Choosing the newest baseline by committer date was a proxy for ancestry: ties
sort unstably and a non-monotonic date would silently select the older tree.
The exact check, git merge-base --is-ancestor, cannot see across two --depth 1
fetches, so drop the comparison rather than try to repair it.

Each manifest now gets versions/ checked out at its own pin, immediately
before the build that consumes it. That also retires the assumption that the
database is append-only enough for one tree to serve both baselines.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012gAp9x4L95B8DkeuHQpuqg
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche enabled auto-merge (squash) August 2, 2026 09:24
@xroche
xroche merged commit feb22f8 into master Aug 2, 2026
4 checks passed
@xroche
xroche deleted the ci-vcpkg-per-manifest branch August 2, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant