[32.x] build: remove *dev* errors from dev-mode

bitcoin/bitcoin: PR #36927

Backport verdict: Needs clarification

Fidelity could not be established from the available evidence.

Evidence:

Limitations:

Coverage details

Background

Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.

Documented decisions

Related configuration-warning work had a purpose beyond catching build-script mistakes: a Python version below the required minimum produced warnings while CI silently skipped utils and rpcauth tests. The proposal sought fatal configuration warnings, and was subsequently closed in favor of an AUTHOR_WARNING-based successor.

The historical motivation included preserving meaningful CI coverage, not merely enforcing CMake style. This qualifies any claim that the removed gate was exclusively cosmetic. The uninspected successor and current warning sites prevent establishing exactly which such checks remain covered by this gate.

Source 1 · Source 2 · Source 3

The CMake-upgrade incident involved a non-target-directive diagnostic in bundled secp256k1. The historical issue connected it to CMake 4.5 and recorded that updating CI alone would not address developers whose local builds had also begun failing after a CMake upgrade.

This supplies a concrete reason to consider both CI and local developer workflows: the failure was not confined to CI configuration. It supports addressing both entry points, without establishing that every warning promoted by the gate is harmless.

Source 1 · Source 2 · Source 3

Ralph's inferences

The inspected history supports treating this primarily as a build-quality and test-coverage gate, not as an established maintenance-branch compatibility guarantee. However, it does not support reducing its purpose to catching development mistakes alone.

Relaxation trades automatic detection of author warnings and potentially incomplete configurations for resilience to diagnostics introduced by newer build tools. The CMake incident explains the pressure for relaxation in both local dev-mode and CI, but does not by itself justify the full breadth of removing the gate everywhere.

Source 1 · Source 2 · Source 3

Unresolved disagreements

The incident discussion exposed different approaches: one participant characterized the warning as harmless and proposed avoiding warning-induced failures on mutable CI tasks, with dedicated nightly monitoring; another emphasized that absent other changes, fixes needed backporting and CI-only changes left local developers affected.

The inspected exchange explains the competing priorities of stable maintenance workflows and early diagnostic enforcement. It does not resolve whether a broad gate removal, narrower CI treatment, or underlying build-system fixes best preserves the intended checks.

Source 1 · Source 2