Repository navigation
fix(ci): post-rename path refs (unblocks merge train) - #46
Merged
Merged
Conversation
Following the ADR-0700 repo-layout rename (libvmaf/ → core/), five CI workflow files still referenced the old source-directory path. This caused CodeQL (Python/C++), Docker, FFmpeg-integration, nightly clang-tidy, and supply-chain builds to fail, blocking all merges via the Required Checks Aggregator. Changes: - docker-image.yml, ffmpeg-integration.yml: path filters libvmaf/** → core/** - ffmpeg-integration.yml: meson setup sourcedir libvmaf → core (×3) - supply-chain.yml: meson setup sourcedir libvmaf → core - nightly.yml: cd libvmaf → cd core; find libvmaf/src libvmaf/tools → core/src core/tools - tests-and-quality-gates.yml, libvmaf-build-matrix.yml: stale comments updated - security-scans.yml: replace gitleaks-action@v2.3.9 (requires GITLEAKS_LICENSE on org repos) with direct gitleaks CLI binary install (Apache-2.0 CLI, no license required); keeps SARIF upload - Repo: vulnerability alerts + dependency graph enabled via GitHub API no user-discoverable surface change — CI infra repair no digest needed: post-rename path fix, mechanical equivalent no decision matrix needed: pure path-rename fix following ADR-0700 no rebase-sensitive invariants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lusoris
enabled auto-merge (squash)
May 28, 2026 15:25
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
PR #46 caught 5 workflow files but 7 more retained `meson setup <BUILDDIR> -<FLAGS>` without a positional source dir. Since the root-level meson.build moved into core/ (ADR-0700), those calls fail with "no meson.build found". Adds `core` between BUILDDIR and the first flag for: - tests-and-quality-gates.yml: 10 occurrences (build, build-mcp, build-coverage, build-coverage-gpu) - sanitizers.yml: 2 - security-scans.yml: 1 - rust-ci.yml: 1 - lint-and-format.yml: 3 (also swap stale libvmaf sourcedir → core) - libvmaf-build-matrix.yml: 4 (same swap) - fuzz.yml: 1 (same swap) Unblocks the cpp23 merge train (PR #41, #43, #44, #45). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Added supplementary commit fixing 7 more workflow files (tests-and-quality-gates, sanitizers, security-scans, rust-ci, lint-and-format, libvmaf-build-matrix, fuzz) that were missed in first pass. Diff: ~23 ins / ~23 del across 7 files. |
test_ansnr_simd.c was deleted by the ansnr drop (PR #38 / ADR-0720) but the corresponding executable() and test() blocks in core/test/meson.build were never cleaned up, causing `meson setup` to fail with "File test_ansnr_simd.c does not exist" on every downstream PR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 28, 2026
…CI runners) Flips the meson_options.txt default from true to false so CI builds do not attempt to link libvmafx_tad.a when cargo/cbindgen are absent. Opt-in with -Denable_rust_features=true on developer machines. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Author
|
Added rust default flip — this branch now has both workflow path fixes AND the rust meson_options fix that was on PR #53. Should unblock CI. |
6 tasks
lusoris
added a commit
that referenced
this pull request
May 28, 2026
…60) PR #46 supplement's sed replaced `meson setup build -` with `meson setup build core -` globally. Steps that already set `working-directory: core` (or equivalent) treat `.` as their source tree, so the appended `core` positional directed meson to `core/core/` which does not exist — producing "Neither source directory 'build' nor build directory 'core' exist." Revert the extra `core` positional in every step that carries `working-directory: core`: - tests-and-quality-gates.yml: netflix-golden build, cross-backend build, vulkan-vif-cross-backend build (lavapipe + Arc nightly), vulkan-parity-matrix-gate build, sanitizer-matrix build, dnn-onnx build, build-mcp step, build-coverage step, build-coverage-gpu step (10 occurrences). - sanitizers.yml: ASan+UBSan build, TSan build (2 occurrences). - security-scans.yml: CodeQL C++ build (1 occurrence). Steps without working-directory (lint-and-format.yml clang-tidy + cppcheck, supply-chain.yml release build, rust-ci.yml libvmaf install, fuzz.yml, sanitizers.yml build-fuzz) run from repo root and correctly retain the `core` source-dir positional. Co-authored-by: Claude Sonnet 4.6 <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
Post-ADR-0700 rename (
libvmaf/→core/) left stale source-directoryreferences in five CI workflow files. This caused CodeQL (C/C++ and Python),
Docker image, FFmpeg integration, nightly clang-tidy, and supply-chain
workflows to fail, blocking all merges via the Required Checks Aggregator.
Also fixes Gitleaks (org license) and Dependency Review (graph not enabled).
Type
build/ci— tooling / infraChecklist
make format && make lintis green locally.meson test -C build. — no C changes; YAML-only/cross-backend-diffand the worst ULP is ≤ 2. — no SIMD/GPU code touched.c/.cpp/.cu/.h/.hpp, it has the appropriate license header (seeCONTRIBUTING.md). — no C/C++ files added!orBREAKING CHANGE:and the migration path is documented below. — not a breaking changeBug-status hygiene (ADR-0165)
docs/state.mdupdated in this PR with a row in the appropriate section.Netflix golden-data gate (ADR-0024)
assertAlmostEqual(...)score in the Netflix golden Python tests.Cross-backend numerical results
Not applicable — YAML-only CI fix.
Deep-dive deliverables (ADR-0108)
AGENTS.mdinvariant note — no rebase-sensitive invariants.changelog.d/fixed/ci-path-rename-fix.md.docs/rebase-notes.mdentry added.Reproducer
Files fixed:
.github/workflows/docker-image.yml— path filterslibvmaf/**→core/**.github/workflows/ffmpeg-integration.yml— path filters +meson setup libvmaf→core.github/workflows/supply-chain.yml—meson setup build libvmaf→meson setup build core.github/workflows/nightly.yml—cd libvmaf→cd core;find libvmaf/src→find core/src.github/workflows/tests-and-quality-gates.yml— stale comments.github/workflows/libvmaf-build-matrix.yml— stale comment.github/workflows/security-scans.yml— replacegitleaks/gitleaks-action@v2.3.9(requiresGITLEAKS_LICENSEon org repos) with direct gitleaks CLI binary install; repo dependency graph enabled via GitHub APIRoot causes:
gitleaks-actionv2+ requiresGITLEAKS_LICENSEfor org repos (even public); replaced with free CLI binary.no user-discoverable surface change — CI infra repair