NAS-141266 / 27.0.0-BETA.1 / Restructure alert plugin to the lean typesafe layout (#19071)
## Problem
The alert plugin passed mypy but didn't follow the typesafe convention
the other converted plugins use: the eponymous `alert` service lived in
`alert.py` as an 1100-line `Service` with all logic, models, and helpers
inline, `__init__.py` was empty, and the two sibling services each
combined their service class and service part in one off-convention
file.
## Solution
- Move `AlertService` into a lean `__init__.py` that exposes only the
endpoint stubs; each delegates to plain functions in `lifecycle.py` /
`runtime.py` / `oneshot.py` / `queries.py` that take `(context, state)`.
- Lift all mutable runtime state into a dedicated `AlertState` object
(`state.py`) built once in `__init__`. Concurrency is intentionally
unchanged — it still relies on the asyncio event loop plus the existing
`process_alerts` job lock, with no new lock introduced.
- Pull the standalone pieces into `state.py`, `alert_classes.py`, and
[5 lines not shown]
[AMDGPU] Allow null operands in VImage tensor instructions (#200911)
NULL is equivalent to passing a block of SGPRs that are set to zero, and
is allowed for 3+ opnds.
[Driver] Don't warn on ObjC constant-literal flags for non-ObjC inputs (#200303)
-fobjc-constant-literals and the per-kind
-f[no-]constant-ns{number,array, dictionary}-literals flags are only
acted on for Objective-C inputs. When a build system passes them
uniformly to every source via a shared response file, they go unclaimed
on assembly and C/C++ inputs and trigger:
error: argument unused during compilation: '-fobjc-constant-literals'
[-Werror,-Wunused-command-line-argument]
Mark the options NoArgumentUnused so the unused argument is ignored
regardless of input type or whether the cc1 or cc1as path runs. The
behavior of the flags is unchanged: only the positive forms are
forwarded to cc1, and only for ObjC inputs.
rdar://175647747
webkit-gtk60: update comments, remove bmalloc patches
Since 2.52.4, the default on NetBSD is to use the system allocator,
so the NetBSD patches for bmalloc are not needed any longer.
18128 zfs tests need equal sized disks
18130 zfs tests functional/cli_root/zpool_upgrade need more time
18131 zfs test zpool_create_016_pos skip if can't remove swap
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
fts: address post-merge feedback on fts_children_test.c
- Remove fts_check_debug() which is only needed by test cases
that use the fts_test() helper; fts_children_test.c does not
call fts_test()
- Remove fts_lexical_compar where traversal order does not matter
for the test result
- Drop fts_test.h and copy fts_lexical_compar locally
- Pull up NULL argument onto same line as fts_open
Fixes: e624417db8a1 ("lib/libc/tests/gen: add fts_children() tests")
Sponsored by: Google LLC (GSoC 2026)
Reviewed by: des, asomers
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/2260
[clang] Fix VFS creation crash with missing `DiagnosticConsumer` (#201397)
For convenience, the `CompilerInstance::createVirtualFileSystem()` API
allows omitting the diagnostic consumer for clients that don't care
about missing overlay files and other VFS creation errors. However, even
in that case, the temporary `DiagnosticsEngine` created internally
within the function does need a consumer. This PR sets it up.
rdar://176754115
Let TrueNAS Connect self-heal after deregistration
This commit fixes an issue where a TrueNAS Connect certificate could not be deleted (even with force) because TNC stayed wedged in a renewal state and never auto-unset itself. The heartbeat is the only thing that unsets TNC and removes its cert when it gets a 401, but its start guard only allowed the CONFIGURED state while the loop it guards ran across all configured states, so it died immediately in CERT_RENEWAL_IN_PROGRESS/SUCCESS/FAILURE and never saw the 401 that signals deregistration.
We widen the guard to match the loop, add CERT_RENEWAL_FAILURE to the configured states (with a boot-time renewal retry), and surface a 401 from the renewal check into the same unset path instead of swallowing it as "renewal not needed".
net-p2p/transmission{,-components}: Update 4.1.1 => 4.1.2
This is a bugfix release. It fixes 20+ bugs and
has a few performance improvements too. All users
are encouraged to upgrade to this version.
Changelog:
https://github.com/transmission/transmission/releases/tag/4.1.2
PR: 295871
Reported by: Rafe Sadler <mondo.debater_0q at icloud.com> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q2
(cherry picked from commit 3d4e19e014be4a01570acb86e65b41edb6f09844)
net-p2p/transmission{,-components}: Update 4.1.1 => 4.1.2
This is a bugfix release. It fixes 20+ bugs and
has a few performance improvements too. All users
are encouraged to upgrade to this version.
Changelog:
https://github.com/transmission/transmission/releases/tag/4.1.2
PR: 295871
Reported by: Rafe Sadler <mondo.debater_0q at icloud.com> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q2
fts: address post-merge feedback on fts_set_test.c
Per review by des@:
- Remove fts_check_debug() which has no effect in fts_set_test.c, and
remove unused #include "fts_test.h"
- Add errno = 0 before fts_read() so errno check is meaningful
- Remove fts_lexical_compar where traversal order does not matter
- Change int boolean flags to bool throughout
- Use !saw_inside instead of saw_inside == false
- Move fts_set_clientptr/fts_get_clientptr test inside fts_read()
loop so the pointer is exercised during active traversal
Fixes: 940142d6103 ("lib/libc/tests/gen: add fts_set() tests")
Sponsored by: Google LLC (GSoC 2026)
Reviewed by: des, asomers
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/2258
[IR][CodeGen][mlir] Overload pointer argument for compressstore/expandload intrinsics (#200492)
Update the `llvm.masked.expandload` and `llvm.masked.compressstore`
intrinsics to have overloaded pointer arguments so other address spaces
can be used. This puts these intrinsics in line with other similar
intrinsics, which already have overloaded pointer arguments.
The change may look large, but almost all of the changes are adding
`.p0` to tests.
This is needed for targets that have non-zero default address space, the
problem was found when trying to compile the libc LIT tests for SPIRV,
specifically
[this](https://github.com/llvm/llvm-project/blob/4ac26f45fa8f5c58a90effb903808cb0e908cf1c/libc/test/src/__support/CPP/simd_test.cpp)
one.
Co-Authored-By: Claude Sonnet 4.5 <noreply at anthropic.com>
---------
[2 lines not shown]