Two of the four defects have real upstream fixes. Two do not. The remediation ladder is split: apply the patches where they exist, and put a guard in front of the rest before the next maintenance window.

The honest fix matrix

Defect Status What to do
Mirror sessions deleted at pool capacity Fixed — sonic-swss #5122, 16 Nov 2026 Take the fix (master / 202611) or backport it
BGP test warm-reboots an ISSU-disabled DUT Fixed — sonic-mgmt #29081, 11 Nov 2026 Take the fix; keep a capability gate in older branches
syncd fails on Marvell Prestera Open — #30704 Pin SAI to the pre-1.19.2 commit, or wait for Marvell's library
QoS probe overwrites Mellanox schedulers Open — #29087 Snapshot schedulers; skip the probe on custom-profile devices

Anything else is marketing. The series does not claim four fixes.

Rung 1: know the tuple

Record five facts per switch: branch and image build, the SAI header version syncd reports, the vendor libsai version, platform and ASIC, and ISSU capability. The tuple is the unit of risk; a branch name is not enough.

Rung 2: pin the SAI, not just the image

On Marvell Prestera, if the vendor has not shipped a 1.19.2-built library, pin src/sonic-sairedis/SAI back to 6dd73819, the last 1.18 pin before sonic-sairedis PR #2152. That is a build workaround, not a fix, and must be labelled as such.

Never mix a 1.19.2 header build with a 1.18 vendor binary. The sai_attribute_t stride changed from 48 to 64 bytes; the failure is deterministic.

Rung 3: apply the two real fixes

The mirror fix is one condition in MirrorOrch::createEntry(): skip isHwResourcesAvailable() when the session is in m_recoverySessionMap. The BGP fix is a capability check before selecting the reboot type. Both are small, reviewed, merged, and carry tests.

Rung 4: assert state after every reboot

SONiC has no built-in state check. Build one. After warm reboot, assert that every mirror session in CONFIG_DB is active, not error; that QoS scheduler references match the pre-reboot snapshot; and that ACLs, buffer profiles and telemetry subscriptions survived. Alert on the assertion, not on traffic — traffic will look fine.

warm-reboot-state-assert.sh snapshots mirror sessions, scheduler, queue and ACL tables, then diffs them after.

Rung 5: keep mirror pool headroom

Until the fix is in your image, never run the mirror pool at 100%: the bug triggers at exactly full capacity. mirror-pool-capacity-check.sh fails the maintenance window when sessions equal reported capacity.

Rung 6: snapshot schedulers before probing

Before any test_qos_probe run on Mellanox, dump the scheduler, queue and buffer-profile tables; after the run, diff them. If the probe is not essential, skip it on devices with custom profiles.

Rung 7: gate the test suite on capability

Never run sonic-mgmt against hardware without ISSU support unless the reboot test is gated. The fix checks is_mellanox_device() and is_issu_enabled(). In older branches, add the check or deselect test_bgp_session_interface_down on ISSU-disabled DUTs.

Rung 8: buy an owner

A distribution with a support contract — Dell, NVIDIA, Aviz — does not prevent a platform bug, but it gives you a vendor who will triage it against your platform and say which branch carries the fix. On upstream master with a hand-built image, you are the owner.

Rung 9: prefer cold reboot where warm is unproven

Cold reboot is slower and honest; warm reboot depends on every subsystem's restore path. If the fabric can absorb downtime, cold removes a whole class of state-restoration bugs.

What the download carries

PATCH/ contains the two real upstream commits with provenance, merge SHAs and a script that applies them to the correct parents and compares the result byte-for-byte. MITIGATION/ contains the platform/SAI check, the syncd start guard, the warm-reboot assertion, the mirror capacity check, the Mellanox scheduler snapshot and the ISSU test guidance. Read the labels: two fixes, four workarounds, one honest scope statement.

Next: the series ends here. The switches keep forwarding; the seam keeps moving.