2 major findings · 2 minor findings · 5 suggestions
Earlier concerns neither republished nor resolved: 2 major findings · 4 suggestions. See the Run archive for their assessments.
Findings
[major] · The whole ci-matrix job is disabled
The temporary configuration disables all 17 non-FreeBSD matrix jobs, including NetBSD and OpenBSD cross builds, rather than replacing only the FreeBSD entry.
Location: .github/workflows/ci.yml:400 (head).
Details and suggested fix
Every line of ci-matrix, including its steps, is commented out. This removes the sanitizer, fuzz, cross-platform, static-analysis and other matrix checks from the active workflow. The new bsd job covers only FreeBSD, and test-each-commit checks out HEAD~, so it does not replace coverage of the PR head. Before merging, drop the NOMERGE: disable other jobs change and restore ci-matrix with only its FreeBSD cross entry removed.
[major] · Ordinary CI events schedule twenty FreeBSD VM jobs
The temporary robustness matrix repeats the FreeBSD build and extended tests twenty times on each eligible push or PR, without an opt-in guard; actual resource consumption was not measured.
Location: .github/workflows/ci.yml:577 (head).
Details and suggested fix
The twenty trial values combine with fail-fast: false to schedule identical VM jobs named FreeBSD robustness N. Each has a 120-minute timeout and uses the nested-virtualization Warp runner, or ubuntu-latest on forks. PULL_FILTER permits PRs and permits pushes unless SKIP_BRANCH_PUSH is set. The configured aggregate timeout is therefore up to 2,400 runner-minutes, not a measured runtime. Remove the trial axis and numbered naming before merge, or move repeated trials into a separately invoked workflow.
[minor] · The documented FreeBSD test exclusions are absent
feature_reindex_init and p2p_private_broadcast_retry_v1 remain selected despite the documented exclusions; no failing FreeBSD run at this revision was verified.
Location: ci/test/00_setup_env_freebsd_native.sh:15 (head).
Details and suggested fix
TEST_RUNNER_EXTRA="--extended" contains no exclusions, and the shared invocation adds --failfast. Both tests remain in the runner's list. If the reported feature_reindex_init failure persists, it will fail the job and stop further test scheduling; the reported slow test also remains eligible to run. To implement the documented exclusions, use TEST_RUNNER_EXTRA="--extended --exclude feature_reindex_init --exclude p2p_private_broadcast_retry_v1". The parser requires separate --exclude arguments, not a comma-separated list. If running both tests is now intentional, update the description instead.
[minor] · BSD_CACHE_TRIAL bypasses the default-branch cache-save policy
BSD runs reaching the save step can publish run-specific ccache entries from PRs and feature branches, increasing cache-capacity pressure; eviction impact was not measured.
Location: .github/actions/cache/save/action.yml:19 (head).
Details and suggested fix
The bsd job sets BSD_CACHE_TRIAL: true without an event guard, and all four shared save conditions accept it instead of requiring a default-branch push. The ccache key contains github.run_id, so successive workflow runs can publish fresh entries. The twenty trials share that key, and depends and previous-release saves retain their exact-hit guards. Saves use Warp in bitcoin/bitcoin and GitHub storage on forks, where ci/README.md already documents frequent quota-driven evictions. Restore the original default-branch guards before merging the trial configuration.
Optional improvements
[suggestion] · The cache-retrieval workaround is marked NOMERGE
Dropping all NOMERGE commits would also discard explicit cache retrieval and restore the copy-back behavior reported to stall; that stall was not independently reproduced.
Location: .github/workflows/ci.yml:646 at fb6a2e091a13 (commit) (commit).
Details and suggested fix
cc83aa46b44447f62b119c9443902fc5123b660b introduces the native job without a copyback override or retrieval step. fb6a2e091a13b6dd93bb52ae0edbfa44748d9371, titled NOMERGE: retrieve only FreeBSD CI caches, adds copyback: false, explicit rsync of the four cache directories, and ssh freebsd dmesg. Its message reports a whole-workspace copy-back stall, and the PR description describes the narrower retrieval behavior. Keep this change in the mergeable series, either folded into the native-job commit or immediately after it without the NOMERGE label. Its paths already exist in the native-job commit, so it does not require the trial matrix, disabled jobs, or cache-save bypass. This keeps the mergeable job aligned with the trial configuration.
[suggestion] · Native testing does not replace Linux-to-FreeBSD cross-build coverage
Deleting the FreeBSD cross configuration removes coverage of the Linux-hosted LLVM 23, SDK-sysroot and LLD build path, which the native VM does not exercise.
Location: ci/test/00_setup_env_freebsd_cross.sh:11 (base).
Details and suggested fix
00_setup_env_freebsd_cross.sh supplies HOST=x86_64-unknown-freebsd and explicit cross-toolchain overrides through DEP_OPTS, including the FreeBSD 15.1 sysroot and LLVM tools. The native configuration instead lets config.guess select the guest host and uses FreeBSD's native clang and clang++. Runtime tests add valuable coverage, but they cannot detect failures specific to the existing cross-toolchain setup. Consider retaining the build-only FreeBSD cross entry alongside the native job to preserve that independent check.
[suggestion] · The VM forwarding list omits the fail-fast cleanup override
The VM does not explicitly receive CI_FAILFAST_TEST_LEAVE_DANGLING, which prevents the functional runner from killing its own process group; effects on guest callers and diagnostics remain unverified.
Location: .github/workflows/ci.yml:628 (head).
Details and suggested fix
The workflow sets CI_FAILFAST_TEST_LEAVE_DANGLING=1 to avoid killing the CI script on errors, and the container wrapper forwards it. Add it to the VM action's envs list as well. Without the setting in the guest, a --failfast failure with other tests still running reaches os.killpg(os.getpgid(0), signal.SIGKILL) rather than the normal exit. That can kill callers sharing the group and lose buffered output. Exactly which processes share the group depends on the action's uninspected custom-shell implementation.
[suggestion] · The FreeBSD job lacks address setup for bind-discovery tests
The new FreeBSD job likely skips feature_bind_port_discover and feature_bind_port_externalip without routable aliases; this host-mode limitation is not a regression, and no skip was observed.
Location: .github/workflows/ci.yml:641 (head).
Details and suggested fix
Host mode bypasses the wrapper's BIND_TEST_ROUTABLE_IPV4 and BIND_TEST_ROUTABLE_IPV6 assignment, and the VM setup neither supplies alternatives nor adds aliases. The tests default to 1.1.1.5 and 1111:1111::5; a bind failure raises SkipTest, which leaves the job successful without reaching their address and port assertions. The VM image's default addresses were not checked. Add the documented FreeBSD aliases on an up, non-loopback interface in the CI-script step, after VM restoration: ifconfig <iface> 1.1.1.5/32 alias and ifconfig <iface> inet6 1111:1111::5/128 alias. This enables the platform-specific checks rather than relying on image defaults.
[suggestion] · Shared portability changes are bundled with the native-job migration
The native-job commit also changes shared system reporting and the depends environment, making existing-job behavior harder to validate separately from VM integration.
Location: ci/test/03_test_script.sh:94 at cc83aa46b444 (commit) (commit).
Details and suggested fix
cc83aa46b44447f62b119c9443902fc5123b660b combines the VM workflow migration with 03_test_script.sh changes to memory reporting, uname -sr, ${MAKE:-make}, and removal of the explicit empty CONFIG_SHELL assignment. Move those shared-script hunks into a preparatory portability commit before the native-job commit. They do not require the new job, and ${MAKE:-make} preserves the existing fallback. This lets reviewers validate the shared behavior independently, with a commit message explaining why CONFIG_SHELL= is removed and its effect on existing jobs. No existing-job regression was established.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: The new VM action inherits repository-default token permissions (earlier report)
- [suggestion]: The cache-epoch comment overstates its invalidation inputs (earlier report)
- [major]: Temporary trial matrix schedules twenty FreeBSD jobs per eligible run (earlier report)
- [suggestion]: FreeBSD preparation bypasses the shared installer and retry path (earlier report)
- [major]:
ci-matrixis disabled, not justFreeBSD Cross(earlier report) - [suggestion]:
copybackdoes unnecessary work on PR runs (earlier report)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
The SDK decision deliberately stopped short of pinning every container, action, package, and tool. The historical tradeoff included maintenance burden, delayed normal/security updates, and false confidence from non-recursive pins.
The author reduced #35754 to SDK verification and the lint lockfile, dropping broad image, action, Git-source, and separate hashed-test-requirement changes. A subsequent comment explains why non-recursive container/action pins do not establish reproducibility. Consequently, the old checksum should neither be dismissed as redundant nor generalized into an existing requirement for a fully immutable native VM: the inspected history supports a narrower fixed-artifact integrity guarantee within a still-trusted external environment.
Source 1 · Source 2 · Source 3
Pre-merge native BSD testing was sought because discovering failures only in external nightly jobs creates a merge-break-fix cycle. However, FreeBSD alone was explicitly recognized as insufficient coverage for platform differences in NetBSD and OpenBSD.
The earlier native proposal #33562 states the pre-merge objective; maflcko separately notes that FreeBSD would still miss differences on the other BSDs. The cross-compilation alternative #34491 was introduced after native-job permission, caching, and potential determinism concerns. The migration therefore interacts with two distinct historical goals: add execution coverage on FreeBSD and retain independent coverage for the other BSD platforms.
Source 1 · Source 2 · Source 3
Unresolved disagreements
The appropriate amount of CI dependency movement remained contested: catching breakages in updating common tools versus keeping bleeding-edge instability outside the pre-merge repository.
One participant favored somewhat floating images to catch tool/compiler/package regressions; another favored major-version constraints and external nightly testing to avoid making every PR red. The SDK-verification change was retained, but the inspected record does not resolve a general freshness policy for a prepared VM containing package-manager-selected dependencies.
Source 1 · Source 2 · Source 3
Making VM caching configurable did not resolve all historical objections to enabling the third-party VM action.
The earlier proposal cited broad usage and maintenance as reasons the action could be viable. Subsequent discussion still questioned upstream control, compromise risk, and maintenance concentration. The later cross job documents a practical alternative selected amid native-job concerns, not proof that native testing or third-party VM caching was permanently ruled out or subsequently demonstrated safe.