openwrt-iac / uapi / docs / 4.0.1 / Roadmap

Roadmap

Things deliberately not yet shipped. Each entry says why and what shape the change would take. Update this file when an item moves between sections.

Shipped

The section of each release in CHANGELOG.md is the full record.

Features (additive, future minor bumps in 4.x)

25.12, which 4.x does not support, keeps wireguard.sh, where the half that matters to 3.x remains: the wg set apply protects the write, not the boot. A peer whose endpoint resolves when written and stops resolving later sits in uci, and the next reboot runs it through the proto handler and drops the tunnel. No amount of local code fixes that, because the platform owns the boot path.

The peer change detection half needs nothing from us. It was reported twice, on the devel list in 2023 and as netifd#66 in 2026, and neither landed in that form; it is instead solved in master by the ucode proto rewrite (package/network/utils/wireguard-tools/files/wireguard.uc), whose config function loads peers so the framework's change detection covers them. That rewrite also fixed route metrics (#23199) but left proto.setup_failed() exactly as it was.

Neither outcome retires src/lib/wg.uc. Even with both fixed, a netifd-driven apply stays asynchronous, so uapi still could not report whether a write reached the kernel, which is what the transaction contract needs. Retiring the local code would take netifd applying peer deltas synchronously, which is not on anyone's roadmap.

Install the deferred packages in CI

Partly done in 2.5.0. lldpd and vnstat2 are installed by install_uapi's bootstrap, about 560 KiB together, so lldpd/config and vnstat/config are exercised by tests/integration/49_daemon_gated_resources_test.sh and included in the stock-config round-trip. The install sits in the bootstrap rather than inside a test, which is what avoids the QEMU SLIRP failure that cost hours of CI when it was tried inline.

Still outside the image, so still unexercised: snmpd, mwan3, sqm, usteer, prometheus-node-exporter-lua and the openvpn handler, whose uci storage 53_interface_proto_scope_test.sh checks without it. unbound is installed by 40_unbound_uci_ext_test.sh but only while that test runs, which is not a guarantee another test can lean on.

The cost of leaving it is measurable rather than theoretical: vnstat/interfaces modelled a section type vnstat never reads and shipped that way, because a resource for an uninstalled package is never exercised against real configuration, so a wrong section type is indistinguishable from a right one.

Note for whoever picks up the rest: on the standing test box the distfeeds needed pointing at 25.12.5 and the kmods feed at kernel 6.12.94-1-a7bc15f4..., or every kmod-* dependency is unresolvable.

Hardening (next, no new wire surface)

The open defects that the lock-state audit found are under Open findings in docs/lock-state-audit.md.

Objectives for the next major

The sweep list for v4, tracked in the v4 milestone. At v4 planning, read it top to bottom: every line must resolve to an issue in the milestone, or be explicitly descoped in the release PR with the reason. An issue is closed when its work merges into main, the 4.x line since the v4 branch merged, and that work ships with v4. The mechanisms, the evidence and the open questions live in the issues.

Left the milestone:

Merged, and closed:

Out of scope by design