Task · OPN-0024

Verify monit status-XML parser against monit 6.0.0 (ships in OPNsense 26.7.3)

Description

OPNsense 26.7.3 bumps monit to 6.0.0. We parse api/monit/status/get/xml (opnsense/monit*.go). Verify the XML shape against monit 6 output (upstream monit source or a live 26.7.3 box); fix tolerantly if drifted, close with a note if compatible.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 1 L12 plan: verify the released upstream payload-producing source, write a focused regression for the Monit 26.7 behavior, implement only task-owned files, return root registry edits, and stop before OPN-0050.

Implementation Notes

Wave 1 staged WIP verifies the Monit 6.0.0 XML shape from released payload-producing source and adds focused parser coverage; the integrated just check passed. Not landed because the shared code-bearing batch lacks a complete CodeRabbit review. Resume: obtain the CodeRabbit complete event, triage findings, commit this task with explicit pathspecs, integrate current origin/main, rerun just check, push, and verify exact-SHA CI.

Landed as 12f6097adf9ff0dac1fb99652b831ab28b95d371. The release-6.0.0 source-derived fixture proves the parser accepts the paging node without exporting it. CodeRabbit paging-assertion feedback was fixed before commit.

Final Summary

Verified Monit 6.0.0 status compatibility with a source-derived regression fixture; no parser change was required. just check and CodeRabbit passed; exact-head CI run 33583896929 succeeded at 12f6097adf9ff0dac1fb99652b831ab28b95d371.

View the source file on GitHub