NAS-140902 / 27.0.0-BETA.1 / improve db config upload (#18895)
Three independent flag-file writers (`write_debug_kernel_flag`,
`write_zfs_modprobe`, `write_vfio_pci_ids`) collapse into one function,
`write_initramfs_flags`, that reads all initramfs-relevant config in a
single pass. Also restores one-reboot semantics for config uploads that
affect `debugkernel`, GPU isolation, or ZFS tunables.
## Unification
Before: three plugins each owned their own sqlite opener,
change-detection loop, and atomic-write block, each materializing one of
three files under `/data/subsystems/initramfs/`.
After: a new `middlewared/plugins/initramfs.py` module owns the three
flag paths and the single writer. Per-feature change paths (debugkernel
update, tunable CRUD, GPU isolation update) call the umbrella; each call
reconciles all three files cheaply and idempotently. `get_gpus()` is
skipped entirely when no GPUs are isolated.
[39 lines not shown]
[Coverage] Improve performance of propagating Counter of Expansions
This improves `-dump-coverage-mapping` (939,498 lines) for
`RISCVInstructionSelector.cpp` from 30m to 1m18s and also improves
`llvm-cov` for `check-llvm` from 33m to 24s.
The current implementation behaved O(N^2) order with hundreds
thousands of Expansions.
This assumes:
- Records are partitioned by FileID.
- ExpandedFileID doesn't point FileID==0, since it is the root.
- The Count in Expansion is propagated from 1st Record in
ExpandedFileID.
Therefore another fact below can be assumed.
- Propagation chain consists of Expansions at each 1st Record.
This scans the Record at most a few times. O(N) is expected.
[2 lines not shown]
www/py-strawberry-graphql-django: Set PORTSCOUT
* Ignore new releases for now, because support for Django 4.2 was
dropped starting with version 0.83.0.
net-mgmt/netbox: Update to 4.5.10
Changelog:
Bug Fixes:
* Fix erroneous deletion of device assignment when editing a virtual
machine
* Fix filtering of interfaces by connected status to exclude incomplete
cable paths
* Recast empty string values as null for unique nullable fields to avoid
integrity errors
* Fix error when adding a prefix from a VLAN with no tenant/site
* Correct OpenAPI schema for cable_end field on cabled objects to
indicate it may be null
https://github.com/netbox-community/netbox/releases/tag/v4.5.10
MFH: 2026Q2
[ADT] Bitset: add shift operators, word accessors, and etc (#193400)
This PR is split out from #191757 per reviewer request. It has the
following changes to `llvm::Bitset<N>`:
* Added `operator<<`/`<<=`/`>>`/`>>=`, `getNumWords()`, `getWord()`, and
`findLastSet()`.
* Moved the `std::array<>` constructor from protected to **public** and
**explicit**.
A follow-up PR will use these to re-implement `LaneBitmask` as a
`llvm::Bitset` wrapper.
---
The unit test in the PR is largely generated by LLMs. I have reviewed it
and manually applied changes to cover more edge cases.
[NFC][analyzer] Introduce specialized variants of makeNode (#194459)
This commit introduces new methods `makePostStmtNode` and
`makeNodeWithBinding` of `CoreEngine`, which will be used instead of the
5-parameter overloads of `NodeBuilder::generateNode` and
`NodeBuilder::generateSink` (which were originally methods of the class
`StmtNodeBuilder` that was deleted in commit
fb46677a858697afa116c4252e84050a07bc6a70).
This commit applies the newly introduced methods in a few places (as
examples), but there are 80+ call sites that use the 5-parameter
`NodeBuilder::generateNode` or `generateSink`, so this transition will
be completed in multiple follow-up commits.
I decided to introduce these methods because after the transition there
will be 20+ calls to `makePostStmtNode` and 30+ calls to
`makeNodeWithBinding` and it would be cumbersome to use plain `makeNode`
instead of these specialized variants.
[2 lines not shown]
[analyzer][NFC] Rename class `StackFrameContext` to `StackFrame` (#195802)
This patch continues the refactoring roadmap described in issue #190973
by renaming the `StackFrameContext` class to just `StackFrame`. Many
variables of type `const StackFrame *` also had their names updated to
reflect the new class name `StackFrame`.