FreeNAS/freenas a30a77dsrc/middlewared/middlewared/api/base/server doc.py

add job flag to json schema
DeltaFile
+2-0src/middlewared/middlewared/api/base/server/doc.py
+2-01 files

FreeNAS/freenas e9dd239src/middlewared/debian control

NAS-141903 / 27.0.0-BETA.1 / Depend on openipmi explicitly (#19381)

## Problem
The IPMI plugin starts the `openipmi` systemd service on any system with
a real BMC (`ipmi.py` setup, gated on dmidecode `has-ipmi`), and that
unit — which loads the `ipmi_si`/`ipmi_devintf` kernel modules that
create `/dev/ipmi0` — is shipped by the Debian `openipmi` package. We
only declared `ipmitool` in Depends though, and openipmi rode in purely
as `ipmitool`'s `Recommends:`. Once truenas_build disabled
`install_recommends` by default, openipmi silently stopped being
installed, so on IPMI-capable hardware the service start fails,
`/dev/ipmi0` never appears, and all IPMI LAN/user configuration breaks.

## Solution
Add `openipmi` to middlewared's `Depends`. Same fix as the websockify
case — it's a genuine hard runtime dependency that was only surviving as
a recommend, so declaring it explicitly makes it independent of the
build's recommends setting.
DeltaFile
+1-0src/middlewared/debian/control
+1-01 files

OPNSense/core 5023639src/opnsense/mvc/app/controllers/OPNsense/Base UserInformationalException.php UserWarningException.php

mvc: style sweep
DeltaFile
+1-2src/opnsense/mvc/app/controllers/OPNsense/Base/UserInformationalException.php
+1-2src/opnsense/mvc/app/controllers/OPNsense/Base/UserWarningException.php
+2-42 files

FreeNAS/freenas d3154besrc/middlewared/middlewared/apps webshell_app.py, src/middlewared/middlewared/utils os.py

webshell: fix sessions hanging with a blank terminal

login(1) hangs up and reopens its tty at session start, so reads on
the pty master transiently fail with EIO. The reader thread treated
any read error as fatal and exited silently: the UI showed
"connected" but the terminal stayed blank while the shell kept
running with nobody forwarding its output. Treat EIO as fatal only
when the shell child is gone (50ms retry, 5s cap).

Also harden the worker teardown:

- abort() closed master_fd while the reader/writer threads still
  used the fd number; it now only signals and kills the child, and
  run() reaps, joins, then closes under try/finally.
- terminate_pid(use_pgid=True) before the child's setsid() resolved
  to middlewared's own process group and could kill the daemon;
  signal the pid directly when the group is the caller's own.
- Bound every teardown wait: WNOHANG reap (D-state child), 30s
  websocket send (stalled client). Catch BaseException so thread

    [2 lines not shown]
DeltaFile
+126-68src/middlewared/middlewared/apps/webshell_app.py
+49-0tests/api2/test_webshell_io.py
+8-3src/middlewared/middlewared/utils/os.py
+183-713 files

FreeNAS/freenas adfa7desrc/middlewared/middlewared/plugins/kmip zfs_keys.py

NAS-141882 / 26.0.0-RC.1 / Fix `clear_sync_pending_zfs_keys` (#19362)

The bug — zfs_keys.py:164: clear_sync_pending_zfs_keys called
datastore.update('storage.encrypteddataset', {'kmip_uid': None}),
passing the update data dict into the id_or_filters position and leaving
the required data argument unfilled. Any dataset that still held a local
encryption_key triggered TypeError: DatastoreService.update() missing 1
required positional argument: 'data', which aborted the whole function —
so the sibling datastore.delete on line 167 never ran and orphan rows
were left behind.
DeltaFile
+1-1src/middlewared/middlewared/plugins/kmip/zfs_keys.py
+1-11 files

FreeNAS/freenas 22adeeasrc/middlewared/middlewared/plugins/kmip zfs_keys.py

NAS-141883 / 26.0.0-RC.1 / Fix KMIP in-memory cache being wiped after every push (#19363)

zfs_keys.py:102 (and the same in pull) — {k: v for k, v in
store.zfs_keys.items() if k in existing_datasets} compares dataset names
against a list of dicts, so it always evaluates false and wipes the
in-memory cache after every push. That's why kmip_sync_pending stays
true after a successful push, which is what forces several tests to use
force_clear.
DeltaFile
+4-2src/middlewared/middlewared/plugins/kmip/zfs_keys.py
+4-21 files

FreeNAS/freenas 6afb569src/middlewared/middlewared/plugins/kmip connection.py

NAS-141884 / 26.0.0-RC.1 / Fix `kmip_connection` error handling (#19364)

PyKMIP re-raises the bare ConnectionRefusedError, which isn't in the
caught tuple.
DeltaFile
+1-2src/middlewared/middlewared/plugins/kmip/connection.py
+1-21 files

FreeNAS/freenas 58b62ddsrc/middlewared/middlewared main.py, src/middlewared/middlewared/api/base/server doc.py

NAS-141908 / 27.0.0-BETA.1 / add --keep-refs to --dump-api (#19383)

This is needed for the MCP feature since they're using the dump-api
command to generate typescript interfaces from our json schemas. Should
be no change in functionality, just an extra argument.
DeltaFile
+143-0src/middlewared/middlewared/pytest/unit/api/base/server/test_api_dumper_keep_refs.py
+24-3src/middlewared/middlewared/api/base/server/doc.py
+13-5src/middlewared/middlewared/main.py
+180-83 files

LLVM/project 5431603llvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG switch-simplify-default.ll

Revert "[SimplifyCFG] Simplify switch default branch when branch proves operand value" (#211341)

Reverts llvm/llvm-project#206597

Causes verifier issues:
https://github.com/llvm/llvm-project/pull/206597#issuecomment-5049789740
DeltaFile
+0-297llvm/test/Transforms/SimplifyCFG/switch-simplify-default.ll
+0-41llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+0-3382 files

LLVM/project 6f2ba12lldb/source/Plugins/SymbolFile/DWARF SymbolFileWasm.cpp, lldb/test/Shell/SymbolFile/DWARF wasm-data-symbol.yaml

[lldb] Synthesize data symbols for plain C globals on WebAssembly (#211301)

The Wasm name section names functions but not data, so LLDB recovers
data symbols from the DWARF. It only did so for variables with a linkage
name, such as a C++ vtable, so a plain C global, which has only a
DW_AT_name, got no symbol and its address did not resolve back to a
name. Use the source name when there is no linkage name.
DeltaFile
+84-0lldb/test/Shell/SymbolFile/DWARF/wasm-data-symbol.yaml
+22-12lldb/source/Plugins/SymbolFile/DWARF/SymbolFileWasm.cpp
+106-122 files

FreeNAS/freenas 83e1b55src/middlewared/middlewared main.py

get rid of messy line
DeltaFile
+3-4src/middlewared/middlewared/main.py
+3-41 files

FreeNAS/freenas 3fd2b22tests/api2 test_snapshot_task_crud.py test_snapshot_task_run.py

ruff
DeltaFile
+53-13tests/api2/test_snapshot_task_crud.py
+14-3tests/api2/test_snapshot_task_run.py
+11-3tests/api2/test_snapshot_task_attachment.py
+78-193 files

LLVM/project b47174dllvm/lib/Transforms/Vectorize VPlanTransforms.cpp LoopVectorizationPlanner.h

[VPlan] Add createWiden{Load,Store} VPBuilder members (NFC) (#210543)

Add member functions to create wide load/store and migrate various sites
to use them.

It also updates makeMemOpWideningDecisions to use it. For consistency,
ReplaceWith has been updated to always require inserted recipes.

PR: https://github.com/llvm/llvm-project/pull/210543
DeltaFile
+20-20llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+21-0llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+8-10llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+49-303 files

LLVM/project 8ae7803mlir/include/mlir/Dialect/EmitC/IR EmitC.td, mlir/lib/Dialect/EmitC/IR EmitC.cpp

[mlir][emitc] Add compound assignment ops (#210233)
DeltaFile
+84-0mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+48-11mlir/lib/Target/Cpp/TranslateToCpp.cpp
+22-11mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+18-0mlir/test/Target/Cpp/common-cpp.mlir
+17-0mlir/test/Dialect/EmitC/invalid_ops.mlir
+17-0mlir/test/Dialect/EmitC/ops.mlir
+206-226 files

LLVM/project 63c04a4clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+4-0clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-1clang/lib/Lex/TextEncoding.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+21-15 files

LLVM/project 2e2da39clang/docs LanguageExtensions.md, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.md
+56-193 files not shown
+60-199 files

LLVM/project 0af40d3clang/lib/AST ASTContext.cpp, clang/lib/Lex TextEncoding.cpp

Convert the key before cache lookup to prevent encoding differences
DeltaFile
+9-9clang/lib/AST/ASTContext.cpp
+1-1clang/lib/Lex/TextEncoding.cpp
+10-102 files

LLVM/project 1e7dca8clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+4-42 files

LLVM/project 674d440clang/lib/AST PrintfFormatString.cpp ScanfFormatString.cpp

change char literals to u8'' to preserve behaviour in the case the
compiler is compiled with a different fexec-charset
DeltaFile
+44-44clang/lib/AST/PrintfFormatString.cpp
+28-28clang/lib/AST/ScanfFormatString.cpp
+28-27clang/lib/AST/FormatString.cpp
+100-993 files

FreeNAS/freenas d3cb889src/middlewared/middlewared/apps webshell_app.py, src/middlewared/middlewared/utils os.py

webshell: fix silent reader/writer thread death and fd lifecycle

login(1) hangs up and reopens its tty at session start: pty_close()
of the vhangup'd slave sets TTY_OTHER_CLOSED on the master and wakes
its readers, so os.read() returned EIO until pty_open() cleared the
flag on reopen. The reader treated any read error as fatal and
exited; the shell kept running with no output forwarded. Treat
read/write EIO as fatal only when the child is gone; retry with 50ms
backoff.

abort() closed master_fd while the reader/writer threads still used
the fd number, so a recycled number (e.g. the next session's
forkpty) could receive their I/O. abort() now only signals and kills
the child; run() reaps it, joins both threads, then closes
master_fd. A post-fork check covers abort() racing the fork.

Catch BaseException in both threads: a BaseException propagated
through Future.result() (SystemExit, or asyncio.CancelledError via
asyncio's exception conversion) escaped except Exception, killing

    [33 lines not shown]
DeltaFile
+177-106src/middlewared/middlewared/apps/webshell_app.py
+49-0tests/api2/test_webshell_io.py
+9-3src/middlewared/middlewared/utils/os.py
+235-1093 files

LLVM/project 8c55656llvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp, llvm/test/Transforms/LowerMatrixIntrinsics phi.ll

[Matrix] Use incoming terminator as insert point in visitPHI. (#211211)

For some instructions, like invoke, getInsertionPointAfterDef may return
an std::nullopt. Using the insert point after the phi is then incorrect.
Use the incoming terminator as default insert point to fix a crash in
the added test cases.

PR: https://github.com/llvm/llvm-project/pull/211211
DeltaFile
+74-0llvm/test/Transforms/LowerMatrixIntrinsics/phi.ll
+3-3llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+77-32 files

LLVM/project 4e833e2libc/src/__support/FPUtil FEnvImpl.h, libc/test/UnitTest FEnvSafeTest.cpp

[libc] Add missing functions in FEnvImpl.h under LIBC_MATH_USE_SYSTEM_FENV config. (#211303)
DeltaFile
+6-11libc/test/UnitTest/FEnvSafeTest.cpp
+14-0libc/src/__support/FPUtil/FEnvImpl.h
+2-5libc/test/src/math/RoundToIntegerTest.h
+2-5libc/test/src/math/smoke/RIntTest.h
+2-5libc/test/src/math/RIntTest.h
+1-4libc/test/src/math/smoke/NextTowardTest.h
+27-308 files not shown
+29-4914 files

Illumos/gate 960edb1usr/src/cmd/bhyve/common pci_nvme.c

18240 bhyve: unsigned <= 0
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+9-7usr/src/cmd/bhyve/common/pci_nvme.c
+9-71 files

LLVM/project 50563d2flang/docs/MeetingNotes/2026 2026-07-15.md

[flang] Add Flang Call Notes for 7/15/26 meeting (#211284)
DeltaFile
+65-0flang/docs/MeetingNotes/2026/2026-07-15.md
+65-01 files

FreeNAS/freenas 8f3ec7fsrc/middlewared/middlewared main.py, src/middlewared/middlewared/api/base/server doc.py

add --keep-refs to --dump-api
DeltaFile
+143-0src/middlewared/middlewared/pytest/unit/api/base/server/test_api_dumper_keep_refs.py
+24-3src/middlewared/middlewared/api/base/server/doc.py
+12-3src/middlewared/middlewared/main.py
+179-63 files

LLVM/project bd663b0llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/CodeGen/AMDGPU load-constant-i1.ll

review feedback: static_cast

Created using spr 1.3.7
DeltaFile
+2,559-652llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+1,270-764llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+0-1,992llvm/test/CodeGen/X86/expand-false-deps.ll
+1,253-322llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
+1,385-0llvm/test/CodeGen/X86/expand-false-deps.mir
+30-1,240llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+6,497-4,970907 files not shown
+35,646-18,386913 files

LLVM/project 1bfe095llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/CodeGen/AMDGPU load-constant-i1.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+2,559-652llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+1,270-764llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+0-1,992llvm/test/CodeGen/X86/expand-false-deps.ll
+1,253-322llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
+1,385-0llvm/test/CodeGen/X86/expand-false-deps.mir
+30-1,240llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+6,497-4,970906 files not shown
+35,645-18,385912 files

LLVM/project e1af868lldb/include/lldb/Expression ExpressionVariable.h, lldb/source/Expression ExpressionVariable.cpp Materializer.cpp

Revert "Make result variables obey their dynamic values in subsequent expressions" (#211321)

This reverts commit 8b9cce358bef26ae4cb9275dd6a43f903bafbaa0.

This causes failures running expressions that return ObjC types on
x86-64 macOS but not on arm64 macOS.

Reverting till I can figure out why that's happening.
DeltaFile
+0-174lldb/test/API/functionalities/expr-result-var/TestCPPExprResult.py
+6-72lldb/source/Expression/ExpressionVariable.cpp
+18-44lldb/include/lldb/Expression/ExpressionVariable.h
+0-55lldb/test/API/functionalities/expr-result-var/two-bases.cpp
+24-25lldb/source/Expression/Materializer.cpp
+5-9lldb/source/Expression/LLVMUserExpression.cpp
+53-3794 files not shown
+56-38410 files

LLVM/project 0e9b8c3clang/include/clang/AST TypeBase.h TypeProperties.td, clang/include/clang/Basic Attr.td

[HLSL] Add IsMultiSampled HLSL resource attribute (#211125)

This PR completes the frontend work for adding the IsMultiSampled HLSL
resource attribute (addressing
https://github.com/llvm/llvm-project/issues/194933)

The DirectX and SPIR-V backend work will be completed alongside the
implementation Texture2DMS
(https://github.com/llvm/llvm-project/issues/194955) so that the
functionality can be exercised.

Assisted by: Claude Opus 4.8
DeltaFile
+22-0clang/test/ParserHLSL/hlsl_is_ms_attr.hlsl
+20-0clang/test/ParserHLSL/hlsl_is_ms_attr_error.hlsl
+12-5clang/include/clang/AST/TypeBase.h
+11-0clang/lib/Sema/SemaHLSL.cpp
+6-0clang/include/clang/Basic/Attr.td
+4-1clang/include/clang/AST/TypeProperties.td
+75-63 files not shown
+81-69 files

LLVM/project e00944cclang/lib/CIR/CodeGen CIRGenStmt.cpp CIRGenCleanup.cpp, clang/test/CIR/CodeGen loop-cond-var-cleanup.cpp

[CIR] Generate cleanup region for loops when needed (#211158)

This adds support for generating a cleanup region in loops that declare
destructed variables in the loop condition. These variables need to be
destructed on a per-iteration basis, so it's not possible to have a
cleanup scope that properly encloses the variable without losing the
loop structure elements in the initial CIR representation.

The CFG flatteneing of these loops was added in a previous PR, and the
lowering to LLVM IR follows directly from the flattened form.

Assisted-by: Cursor / various models
DeltaFile
+1,036-0clang/test/CIR/CodeGen/loop-cond-var-cleanup.cpp
+105-62clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+69-9clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+59-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+57-0clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+13-0clang/lib/CIR/CodeGen/EHScopeStack.h
+1,339-711 files not shown
+1,340-727 files