Skip to content

CI: require the OsPath build flag in the build-flags check - #296

Merged
yarikoptic merged 1 commit into
masterfrom
claude/kind-curie-a9wb4m
Sep 28, 2026
Merged

yarikoptic merged 1 commit into
masterfrom
claude/kind-curie-a9wb4m

Conversation

@yarikoptic

Copy link
Copy Markdown
Member

Summary

Adds OsPath to the "Check git-annex version for some expected build flags" step, so a build without it fails instead of passing unnoticed.

Why

git-annex's OsPath flag is Default: True but not Manual. When one of its dependencies is missing, Setup configure quietly drops it. That is how our Ubuntu standalone lost OsPath: the buildenv image had no file-io >= 0.2.0 (fixed in #295). CI stayed green because the check only looked for Assistant MagicMime Servant S3.

Without OsPath, git-annex keeps problems that are only fixed in OsPath builds. Examples are the BeeGFS test failures and file-descriptor leaks to child processes (per the upstream CHANGELOG).

Safe to require on every platform

The latest runs already report OsPath on all four platforms:

Platform Run build flags
Ubuntu 36238422515 (first run after #295) … S3 WebDAV Servant OsPath
Windows 36230645908 … S3 WebDAV Servant OsPath Blake3 XXH3
macOS 36223958127 … S3 WebDAV Servant OsPath Blake3 XXH3
macOS ARM64 36223802082 … S3 WebDAV Servant OsPath XXH3

Changes

  • .github/workflows/template/build-{{ostype}}.yaml.j2: for f in Assistant MagicMime Servant S3 OsPath.
  • The four build-*.yaml files were regenerated with the repo's own make -C .github/workflows/template (mkworkflows.py). Each changed by that one line only; there was no other drift from the template.

Testing

Follow-ups (not in this PR)

Ubuntu builds still lack Blake3 and XXH3, which Windows and macOS have, and use aws-0.24.4 while git-annex recommends 0.25.2+. Adding those to the check would first need the buildenv image to provide them.

🤖 Generated with Claude Code

https://claude.ai/code/session_013n9Q2igij49kxdtiakUzYv


Generated by Claude Code

git-annex's OsPath flag is Default: True but not Manual, so when a
dependency is missing `Setup configure` silently builds without it.
That is how our Ubuntu standalone lost it: the buildenv image lacked
file-io >= 0.2.0 (fixed in #295), and nothing noticed because the
"expected build flags" check only looked for Assistant, MagicMime,
Servant and S3.

All four platforms now build with OsPath (latest runs: Ubuntu
36238422515, Windows 36230645908, macOS 36223958127, macOS ARM64
36223802082), so require it everywhere.  Edited the template and
regenerated the workflows with `make -C .github/workflows/template`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013n9Q2igij49kxdtiakUzYv
@yarikoptic
yarikoptic merged commit 4c67697 into master Sep 28, 2026
34 of 35 checks passed
@yarikoptic
yarikoptic deleted the claude/kind-curie-a9wb4m branch September 28, 2026 19:36
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.

2 participants