Conversation
0fe9afc to
f5c240a
Compare
mvillmow
left a comment
There was a problem hiding this comment.
Failed to parse structured output from analysis
mvillmow
left a comment
There was a problem hiding this comment.
NOGO: CI never builds/starts the dev container; GIT_COMMIT/BUILD_UID/BUILD_GID unset so exec hits a missing/garbled container; host/container build split defeats the goal.
…s, lint boundary - Add podman-version.env with pinned apt version (5.0.2+ds1-4ubuntu1) for Renovate-friendly version management - Source version pin in install step to prevent runner-image drift - Export GIT_COMMIT/BUILD_UID/BUILD_GID to $GITHUB_ENV so docker-compose.yml image tag and user: directive resolve correctly - Add actions/cache + podman save/load for dev image to avoid rebuilding on every CI run (keys on Containerfile/docker-compose.yml/conanfile.py hash) - Add explicit podman-compose up -d dev + readiness poll (10×2s) so build failures abort loudly instead of surfacing as confusing exec errors - Add cap_add: SYS_PTRACE and security_opt: seccomp:unconfined to dev service in docker-compose.yml for ASan/TSan sanitizer builds - Stabilize dev image tag to :latest and container_name to projectkeystone-dev - Wrap Configure CMake and Build with clang-tidy steps in podman-compose exec -T dev to maintain environment parity with make deps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mvillmow
left a comment
There was a problem hiding this comment.
NOGO: missing conan profile detect breaks make deps in fresh container; cache-load skips rebuild without verifying :latest tag; fuzzy restore-keys + missing host sysctl for sanitizers.
…s, lint boundary - Add podman-version.env with pinned apt version (5.0.2+ds1-4ubuntu1) for Renovate-friendly version management - Source version pin in install step to prevent runner-image drift - Export GIT_COMMIT/BUILD_UID/BUILD_GID to $GITHUB_ENV so docker-compose.yml image tag and user: directive resolve correctly - Add actions/cache + podman save/load for dev image to avoid rebuilding on every CI run (keys on Containerfile/docker-compose.yml/conanfile.py hash) - Add explicit podman-compose up -d dev + readiness poll (10×2s) so build failures abort loudly instead of surfacing as confusing exec errors - Add cap_add: SYS_PTRACE and security_opt: seccomp:unconfined to dev service in docker-compose.yml for ASan/TSan sanitizer builds - Stabilize dev image tag to :latest and container_name to projectkeystone-dev - Wrap Configure CMake and Build with clang-tidy steps in podman-compose exec -T dev to maintain environment parity with make deps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Addresses remaining self-review threads on the CI-migration action: - Verify the cache-restored image carries the projectkeystone-dev:latest tag after `podman load`; rebuild if a stale/mistagged tarball loaded (so it can no longer silently fail at `podman-compose up`). - Drop the broad `restore-keys: podman-` so a partial cache hit can no longer load a tarball built from a different Containerfile/conanfile; exact hashFiles key only, rebuild on any input change. - Set vm.mmap_rnd_bits=28 on the runner host so in-container ASan/TSan/LSan do not abort with shadow-memory mapping errors on the noble kernel. - Assert `podman info` reports rootless=true instead of merely printing it, so a rootful runner fails the step. - Defensively run `conan profile detect --exist-ok` in `make deps` before `conan install` (the dev image already detects a profile at build time). Refs #568 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
…s, lint boundary - Add podman-version.env with pinned apt version (5.0.2+ds1-4ubuntu1) for Renovate-friendly version management - Source version pin in install step to prevent runner-image drift - Export GIT_COMMIT/BUILD_UID/BUILD_GID to $GITHUB_ENV so docker-compose.yml image tag and user: directive resolve correctly - Add actions/cache + podman save/load for dev image to avoid rebuilding on every CI run (keys on Containerfile/docker-compose.yml/conanfile.py hash) - Add explicit podman-compose up -d dev + readiness poll (10×2s) so build failures abort loudly instead of surfacing as confusing exec errors - Add cap_add: SYS_PTRACE and security_opt: seccomp:unconfined to dev service in docker-compose.yml for ASan/TSan sanitizer builds - Stabilize dev image tag to :latest and container_name to projectkeystone-dev - Wrap Configure CMake and Build with clang-tidy steps in podman-compose exec -T dev to maintain environment parity with make deps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Addresses remaining self-review threads on the CI-migration action: - Verify the cache-restored image carries the projectkeystone-dev:latest tag after `podman load`; rebuild if a stale/mistagged tarball loaded (so it can no longer silently fail at `podman-compose up`). - Drop the broad `restore-keys: podman-` so a partial cache hit can no longer load a tarball built from a different Containerfile/conanfile; exact hashFiles key only, rebuild on any input change. - Set vm.mmap_rnd_bits=28 on the runner host so in-container ASan/TSan/LSan do not abort with shadow-memory mapping errors on the noble kernel. - Assert `podman info` reports rootless=true instead of merely printing it, so a rootful runner fails the step. - Defensively run `conan profile detect --exist-ok` in `make deps` before `conan install` (the dev image already detects a profile at build time). Refs #568 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
…stall-build-deps The NATIVE->Podman migration forced every required job to build the dev container from Containerfile (the cache key includes docker-compose.yml, which #568 changed, so #568 always cache-misses and rebuilds). The rebuild failed because 'pip install conan==2.0.0' can no longer build its pinned PyYAML 5.x sdist under modern setuptools/Cython: AttributeError: 'build_ext' object has no attribute 'cython_sources' This bricked the 'Install build dependencies' step of both lint and coverage. Relax the pin to 'conan>=2.0,<3' (resolves to a current conan 2.x with PyYAML 6.x), keeping the conan 2 major the conanfile.py API requires. Verified the container build + 'conan profile detect' succeed on ubuntu:24.04. Also replace the 'apt-cache madison podman >&2 || true' fallback diagnostic with an explicit if-guard so the forbid-suppressions required check (which rejects the '|| true' silent-failure idiom) passes without swallowing a real non-zero exit. Coverage floor is unchanged: scripts/generate_coverage.sh and the test set are identical to main; coverage only failed because the container build did. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…ed in install-build-deps The NATIVE->Podman migration forced every required job to build the dev container from Containerfile (the cache key includes docker-compose.yml, which #568 changed, so #568 always cache-misses and rebuilds). Three defects bricked that path: 1. 'pip install conan==2.0.0' can no longer build its pinned PyYAML 5.x sdist under modern setuptools/Cython ('AttributeError: build_ext object has no attribute cython_sources'), failing the container build. Relax to 'conan>=2.0,<3' (current conan 2.x + PyYAML 6.x), keeping the conan 2 major conanfile.py requires. Verified build + 'conan profile detect' succeed on ubuntu:24.04. 2. After a successful build, 'podman save -o /tmp/dev-image.tar' aborts with 'docker-archive doesn't support modifying existing images' (exit 125) when a stale tarball is present. Remove any prior archive before saving. Reproduced and verified the fix locally. 3. The 'apt-cache madison podman >&2 || true' fallback diagnostic tripped the forbid-suppressions required check. Replaced with an explicit if-guard that reports a non-zero exit instead of swallowing it. Coverage floor is unchanged: scripts/generate_coverage.sh and the test set are identical to main; coverage only failed because the container build did. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…s, lint boundary - Add podman-version.env with pinned apt version (5.0.2+ds1-4ubuntu1) for Renovate-friendly version management - Source version pin in install step to prevent runner-image drift - Export GIT_COMMIT/BUILD_UID/BUILD_GID to $GITHUB_ENV so docker-compose.yml image tag and user: directive resolve correctly - Add actions/cache + podman save/load for dev image to avoid rebuilding on every CI run (keys on Containerfile/docker-compose.yml/conanfile.py hash) - Add explicit podman-compose up -d dev + readiness poll (10×2s) so build failures abort loudly instead of surfacing as confusing exec errors - Add cap_add: SYS_PTRACE and security_opt: seccomp:unconfined to dev service in docker-compose.yml for ASan/TSan sanitizer builds - Stabilize dev image tag to :latest and container_name to projectkeystone-dev - Wrap Configure CMake and Build with clang-tidy steps in podman-compose exec -T dev to maintain environment parity with make deps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Addresses remaining self-review threads on the CI-migration action: - Verify the cache-restored image carries the projectkeystone-dev:latest tag after `podman load`; rebuild if a stale/mistagged tarball loaded (so it can no longer silently fail at `podman-compose up`). - Drop the broad `restore-keys: podman-` so a partial cache hit can no longer load a tarball built from a different Containerfile/conanfile; exact hashFiles key only, rebuild on any input change. - Set vm.mmap_rnd_bits=28 on the runner host so in-container ASan/TSan/LSan do not abort with shadow-memory mapping errors on the noble kernel. - Assert `podman info` reports rootless=true instead of merely printing it, so a rootful runner fails the step. - Defensively run `conan profile detect --exist-ok` in `make deps` before `conan install` (the dev image already detects a profile at build time). Refs #568 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
…ed in install-build-deps The NATIVE->Podman migration forced every required job to build the dev container from Containerfile (the cache key includes docker-compose.yml, which #568 changed, so #568 always cache-misses and rebuilds). Three defects bricked that path: 1. 'pip install conan==2.0.0' can no longer build its pinned PyYAML 5.x sdist under modern setuptools/Cython ('AttributeError: build_ext object has no attribute cython_sources'), failing the container build. Relax to 'conan>=2.0,<3' (current conan 2.x + PyYAML 6.x), keeping the conan 2 major conanfile.py requires. Verified build + 'conan profile detect' succeed on ubuntu:24.04. 2. After a successful build, 'podman save -o /tmp/dev-image.tar' aborts with 'docker-archive doesn't support modifying existing images' (exit 125) when a stale tarball is present. Remove any prior archive before saving. Reproduced and verified the fix locally. 3. The 'apt-cache madison podman >&2 || true' fallback diagnostic tripped the forbid-suppressions required check. Replaced with an explicit if-guard that reports a non-zero exit instead of swallowing it. Coverage floor is unchanged: scripts/generate_coverage.sh and the test set are identical to main; coverage only failed because the container build did. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Needs a design decision — CMake container/host path mismatchAutomated sweep got this PR through two layers of CI-migration bugs, but the remaining failure is architectural and needs your call as the migration author. Progress made (pushed, signed):
Remaining blocker (required
Because both reuse the same Decision needed: pick one build-isolation model for the migration —
This is left open and disarmed-of-urgency for your decision; the rest of the ecosystem PR sweep is complete. |
…501) Drop the NATIVE=1 host-build bypass and the `%.native` Makefile pattern rule so every build/test runs inside the Podman `dev` container. The CI workflows (_required.yml, extras.yml, release-please.yml) now invoke the container targets directly (make deps, make compile.debug, make test.debug.asan, make benchmark, ...) instead of the removed `.native` variants. Update the Makefile help text accordingly. Rebased onto current main and reduced to the intended CI/build change only — the agent layer and Python orchestration were extracted to ProjectAgamemnon per ADR-015/016, so this PR carries no agent source and no Python-CI changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
After removing the NATIVE=1 path, CI runs `make deps` then `make compile.X`. `compile` runs cmake inside the `dev` container (CONTAINER_PREFIX) with -DCMAKE_TOOLCHAIN_FILE=build/conan-deps/conan_toolchain.cmake, but `deps` was still running `conan install` on the host. The host-generated toolchain references the host's conan cache/compiler paths, which do not exist inside the container, so the in-container cmake configure failed (exit 1) for the coverage, benchmarks, release, and NATS-integration build jobs. Run the conan installs through CONTAINER_PREFIX too so the toolchain and packages are generated in the same container environment cmake builds in. The repo is bind-mounted at /workspace, so build/conan-deps still lands in the cached host path. Mirrors the previous native flow where deps.native and compile.native both ran on the host. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Add Podman setup to GitHub Actions build dependencies action: - Install podman and podman-compose packages - Start rootless Podman socket on GitHub Actions runners - Set DOCKER_HOST env var for docker-compose CLI plugin compatibility - Fix workspace permissions for Podman UID namespace mapping - Verify Podman installation works This fixes the issue where 'podman compose' was delegating to docker-compose CLI plugin instead of using Podman's native compose support, causing build failures in CI containers. Addresses issue #501: Migrate CI from native builds to Podman containers. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Formatting changes from cmake-format hook to maintain code style consistency across the project. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Replace 'podman compose' (which delegates to snap's docker-compose) with 'podman-compose' standalone tool for proper Podman integration in CI. Add DOCKER_HOST environment variable support to Makefile rules to enable rootless Podman socket connectivity in CI environments. Fixes container startup failures when running 'make deps' and other container-dependent targets in GitHub Actions runners. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Fix CodeQL warnings about unused template parameter 'args' in Logger::log() by using if constexpr to conditionally log based on whether format arguments are present. This resolves false positive static analysis warnings while maintaining correct behavior for both zero-argument and variadic-argument cases. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Apply clang-format fixes across the entire codebase and add SELinux relabeling flags to docker-compose.yml volume mounts for rootless Podman. Changes: - Add :Z flag to volume mounts in dev and build services for proper SELinux context sharing with rootless Podman containers - Apply clang-format to all C++ source files to pass CI linting checks Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…s, lint boundary - Add podman-version.env with pinned apt version (5.0.2+ds1-4ubuntu1) for Renovate-friendly version management - Source version pin in install step to prevent runner-image drift - Export GIT_COMMIT/BUILD_UID/BUILD_GID to $GITHUB_ENV so docker-compose.yml image tag and user: directive resolve correctly - Add actions/cache + podman save/load for dev image to avoid rebuilding on every CI run (keys on Containerfile/docker-compose.yml/conanfile.py hash) - Add explicit podman-compose up -d dev + readiness poll (10×2s) so build failures abort loudly instead of surfacing as confusing exec errors - Add cap_add: SYS_PTRACE and security_opt: seccomp:unconfined to dev service in docker-compose.yml for ASan/TSan sanitizer builds - Stabilize dev image tag to :latest and container_name to projectkeystone-dev - Wrap Configure CMake and Build with clang-tidy steps in podman-compose exec -T dev to maintain environment parity with make deps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Remove NATIVE=1 path; migrate all CI to Podman containers Closes #501 Implemented-By: claude-sonnet-4-6 Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
Addresses remaining self-review threads on the CI-migration action: - Verify the cache-restored image carries the projectkeystone-dev:latest tag after `podman load`; rebuild if a stale/mistagged tarball loaded (so it can no longer silently fail at `podman-compose up`). - Drop the broad `restore-keys: podman-` so a partial cache hit can no longer load a tarball built from a different Containerfile/conanfile; exact hashFiles key only, rebuild on any input change. - Set vm.mmap_rnd_bits=28 on the runner host so in-container ASan/TSan/LSan do not abort with shadow-memory mapping errors on the noble kernel. - Assert `podman info` reports rootless=true instead of merely printing it, so a rootful runner fails the step. - Defensively run `conan profile detect --exist-ok` in `make deps` before `conan install` (the dev image already detects a profile at build time). Refs #568 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
The ubuntu-24.04 runner image rotated podman 5.0.2+ds1-4ubuntu1 out of
its apt repo, so `apt-get install podman=${PODMAN_APT_VERSION}` failed
with "Version '...' for 'podman' was not found" (exit 100), turning the
required coverage/build jobs red. Keep the reproducibility pin when the
exact version is present, but fall back to the latest available podman
when apt has rotated it out, so an upstream repo change cannot
hard-break required CI.
Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…ed in install-build-deps The NATIVE->Podman migration forced every required job to build the dev container from Containerfile (the cache key includes docker-compose.yml, which #568 changed, so #568 always cache-misses and rebuilds). Three defects bricked that path: 1. 'pip install conan==2.0.0' can no longer build its pinned PyYAML 5.x sdist under modern setuptools/Cython ('AttributeError: build_ext object has no attribute cython_sources'), failing the container build. Relax to 'conan>=2.0,<3' (current conan 2.x + PyYAML 6.x), keeping the conan 2 major conanfile.py requires. Verified build + 'conan profile detect' succeed on ubuntu:24.04. 2. After a successful build, 'podman save -o /tmp/dev-image.tar' aborts with 'docker-archive doesn't support modifying existing images' (exit 125) when a stale tarball is present. Remove any prior archive before saving. Reproduced and verified the fix locally. 3. The 'apt-cache madison podman >&2 || true' fallback diagnostic tripped the forbid-suppressions required check. Replaced with an explicit if-guard that reports a non-zero exit instead of swallowing it. Coverage floor is unchanged: scripts/generate_coverage.sh and the test set are identical to main; coverage only failed because the container build did. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
The coverage and lint required jobs failed with a rootless-Podman
bind-mount ownership mismatch, not a code defect:
coverage: mkdir: cannot create directory 'build/x86.coverage.debug':
Permission denied (Makefile:79, host-side mkdir)
lint: CMake Error: Unable to (re)create the private pkgRedirects
directory (in-container cmake configure)
Both are the same bug. The dev service ran as user "${BUILD_UID}" under
the default rootless userns, which maps that uid to a host *subuid*
(e.g. 1001 -> 101000). Anything the container wrote under the mounted
workspace (build/conan-deps from 'make deps', etc.) became owned by that
foreign subuid on the host, so the host runner could no longer create
build/x86.coverage.debug, and an in-container cmake configure could no
longer recreate build/.
Add 'userns_mode: keep-id' to the dev (and build) services. keep-id maps
the host runner uid 1:1 into the container, so the host and the
in-container build user share ownership of the bind mount. Verified
locally with podman 5.8.3 / podman-compose 1.5.0: with keep-id and
user=$(id -u) (exactly what install-build-deps sets BUILD_UID to),
both host-side and in-container mkdir under build/ succeed.
Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…tent caches The coverage job's 'Generate coverage report' step ran generate_coverage.sh on the host, which reconfigured CMake against build/conan-deps (produced in-container by 'make deps') and a host ~/.conan2 that does not match the in-container Conan layout -> 'gmock_main not found in package'. Wrap it in the same podman-compose exec -T dev wrapper the lint configure/build steps use so every CMakeCache absolute path stays under /workspace/build/... The lint job's in-container clang-tidy configure also failed: the FetchContent cache restored a _deps/*-subbuild/CMakeCache.txt stamped with the pre-migration host build path (/home/runner/work/.../build/...), so cmake aborted with 'The current CMakeCache.txt directory ... is different than the directory ... where CMakeCache.txt was created'. Bump all four FetchContent cache keys with a -podman-v2 discriminator so the stale host-stamped caches are abandoned and repopulated in-container with /workspace/... paths. Keeps the existing userns_mode: keep-id fix. lcov/genhtml/bc/llvm-cov-18 are present in the dev image; report files land in the bind-mounted build/ dir so host upload-artifact/codecov steps still read them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
f52ad26 to
c0e9584
Compare
…dy gate
Three fixes so the required lint + coverage jobs pass under the all-in-container
Podman migration:
1. Coverage produced no .gcda files. The Makefile's %.coverage/%.profile/%.fuzz
pattern rules appended -DENABLE_<FEATURE>=ON to BUILD_FLAGS, which is passed
inside -DCMAKE_CXX_FLAGS="...". These are CMake option() cache variables, so
as a CXX flag -DENABLE_COVERAGE=ON became an inert clang preprocessor define
and never toggled the option — the build was not instrumented and
generate_coverage.sh failed with 'no .gcda files found'. Forward them via a
dedicated CMAKE_FEATURE_FLAGS variable on the cmake configure line instead.
2. generate_coverage.sh did 'rm -rf $BUILD_DIR' + reconfigure-from-scratch,
which re-ran Conan find_package(GTest) in a fresh cache and aborted with
"Library 'gmock_main' not found in package". Reuse $BUILD_DIR when it is
already a configured+built coverage tree (the CI path: make
compile.debug.coverage + make test.debug.coverage already ran in-container)
and capture the existing .gcda directly without zeroing counters or re-running
ctest. Local 'make coverage' (build/coverage, not pre-built) still configures
+ builds + tests fresh.
3. The lint 'Fail on clang-tidy errors' gate matched /error:/, which also matches
source-context echo lines like 'using std::runtime_error::runtime_error;'
('runtime_error::' contains 'error:'). This produced false failures once
clang-tidy began analysing the in-container _deps/ tree (cista_exception.h).
Anchor the gate on the ': error: ' diagnostic form, restrict to /src/ and
/include/, and exclude /_deps/.
Also wrap extras.yml's (non-blocking) coverage report step in the dev container
for parity, so its ctest/lcov resolve the in-container /workspace/... paths.
Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…suppressed The all-in-container CI migration runs ctest via `podman-compose exec -T dev`, which does NOT forward the host runner's TSAN_OPTIONS into the container. The TSan job set TSAN_OPTIONS=suppressions=$GITHUB_WORKSPACE/tsan.supp on the host, so inside the container TSAN_OPTIONS was unset and tsan.supp never loaded. That left the known-benign moodycamel::ConcurrentQueue internal-atomics races (WorkStealingQueue::push vs steal on a WorkItem slot) unsuppressed, which deterministically failed SimulationCornerCaseTest.MessageFlood under TSan (ASan/UBSan pass it; the suppression entries for these frames already exist in tsan.supp). Set TSAN_OPTIONS inside the container in the Makefile `test` rule, referencing the suppression file by its in-container path (/workspace/tsan.supp, the mount of the repo root). This activates the pre-existing, intended suppression where the tests actually run; it does not add a new suppression or weaken the test. Harmless for non-TSan builds, which ignore TSAN_OPTIONS. Also drop the now-dead host-path TSAN_OPTIONS env from the _required.yml TSan step (it never reached the in-container ctest) and document why. Signed-off-by: Micah Villmow <4211002+mvillmow@users.noreply.github.com>
…man-v2 caches Complete the Podman CI migration (#501/#568) for the four jobs it left broken, turning main red since 2af2391: - unit-tests: run ctest inside the dev container. The debug tree is configured in-container, so CTestTestfile.cmake references /workspace/build/x86.debug/*_include.cmake paths that do not exist on the host ("include could not find requested file"). - package: replace the deleted deps.native/compile.release.native targets with make deps / make compile.release, bump the FetchContent cache key to the -podman-v2 discriminator (matching the build job), and run the cpack DEB/RPM/TGZ/ZIP steps in-container against the in-container-configured release tree. - benchmarks + NATS integration (extras.yml): bump FetchContent cache keys to -podman-v2 so they stop restoring pre-migration host-stamped _deps caches that abort the in-container configure with "The current CMakeCache.txt directory ... is different than ...". - Containerfile (development stage): add rpm (rpmbuild) so CPack's RPM generator works in-container. Bump the NATS job timeout 15 -> 20 min to absorb the one-time cold dev-image rebuild this causes. - PULL_REQUEST_TEMPLATE.md: drop the deleted make format.native. Closes #608 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
…, package, benchmarks, NATS) (#609) * fix(ci): finish #568 Podman migration — in-container ctest/cpack, podman-v2 caches Complete the Podman CI migration (#501/#568) for the four jobs it left broken, turning main red since 2af2391: - unit-tests: run ctest inside the dev container. The debug tree is configured in-container, so CTestTestfile.cmake references /workspace/build/x86.debug/*_include.cmake paths that do not exist on the host ("include could not find requested file"). - package: replace the deleted deps.native/compile.release.native targets with make deps / make compile.release, bump the FetchContent cache key to the -podman-v2 discriminator (matching the build job), and run the cpack DEB/RPM/TGZ/ZIP steps in-container against the in-container-configured release tree. - benchmarks + NATS integration (extras.yml): bump FetchContent cache keys to -podman-v2 so they stop restoring pre-migration host-stamped _deps caches that abort the in-container configure with "The current CMakeCache.txt directory ... is different than ...". - Containerfile (development stage): add rpm (rpmbuild) so CPack's RPM generator works in-container. Bump the NATS job timeout 15 -> 20 min to absorb the one-time cold dev-image rebuild this causes. - PULL_REQUEST_TEMPLATE.md: drop the deleted make format.native. Closes #608 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> * ci(release): add PR-time canonical release check; rename publish job The homeric-main-baseline ruleset requires a `release` status context, but the only job carrying that name lived in release-please.yml gated on release_created — it can never post on a pull request, leaving every Keystone PR permanently BLOCKED. Add a real PR-time `release` validation job to _required.yml (release-please config/manifest parse, version consistency across release surfaces, CHANGELOG preconditions, CPack packaging metadata — no second compile, <5 min) following the Myrmidons #757 hybrid pattern, and rename the tag-gated publish job to `publish-release` so the two cannot collide on main pushes. User-authorized change to required-check semantics. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> --------- Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Summary
NATIVE=1/%.native:escape hatch from the Makefile entirely; all builds now run unconditionally viapodman compose exec -T devdepstarget withCONTAINER_CHECK/CONTAINER_PREFIXsomake depsinstalls Conan inside the container (closes AC1 from the issue)cap_add: [SYS_PTRACE]andsecurity_opt: [seccomp=unconfined]to thedevservice indocker-compose.ymlfor sanitizer builds (ASan/TSan/LSan/UBSan).github/actions/podman-setupcomposite action: installspodman-compose, restores/builds the dev image viaactions/cache@v5keyed onContainerfilehash, starts the container, and smoke-testsexecpodman-setupat the end ofinstall-build-deps(newsetup-podmaninput, defaulttrue) so every CI job has a running container before anymakestepmake X.nativecalls in_required.yml(13),extras.yml(8), andrelease-please.yml(2) with plainmake Xdocs/CICD_COVERAGE.mdto remove all.nativereferencesPlan Divergences (noted per review comment)
podman-compose.yml(does not exist)docker-compose.yml;podman composefinds it automaticallyCONTAINER_PREFIXwrapping ondepstargetGIT_COMMIT/BUILD_UID/BUILD_GIDnot exported before compose uppodman-setupaction beforepodman compose up -d devpodman-setupaction (SRP) with a singlesetup-podmaninput oninstall-build-depstest-allContainerfile stageCONTAINER_CHECKhad|| true(masked failures)Acceptance Criteria
make deps(no.native) runs inside container in CICONTAINER_PREFIX = podman compose exec -T devNATIVE,ifeq (NATIVE,1), and%.native:do not appear in the Makefilepodman-setupactionSYS_PTRACEcapability indocker-compose.ymlCloses #501
🤖 Generated with Claude Code