You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/sow/current/SOW-0027-20260629-netdata-vendor-memory-safety-update.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,22 @@ Risks:
69
69
- Updating the wrong Netdata checkout can create unrelated branch drift.
70
70
- Skipping the vendor diff can hide missing language-specific updates.
71
71
72
+
### PR CI Follow-up - 2026-07-01
73
+
74
+
Evidence:
75
+
76
+
- Netdata PR `netdata/netdata#22936` passed Codacy after source commit `e2bd45254b9f7182692fda8ed7c811d57fd03397` was vendored.
77
+
- SonarCloud then reported zero open issues, but the quality gate still failed on duplication density: `new_duplicated_lines_density=3.0010718113612005`, threshold `3`.
78
+
- Sonar duplication evidence pointed to `src/go/pkg/netipc/protocol/cgroups_lookup.go`:
79
+
- duplicated block at lines 313-341 and 386-414: repeated cgroups lookup item-header parsing in validation and decode paths;
80
+
- smaller duplicated builder conversion blocks later in the same file and against `apps_lookup.go`.
81
+
82
+
Plan:
83
+
84
+
- Fix the largest duplicated source block in `plugin-ipc`, not directly in Netdata, by extracting private cgroups lookup item-header parsing into one helper.
85
+
- Keep the wire format, public Go API, and validation semantics unchanged.
86
+
- Run focused Go protocol tests in source, commit/push source, then re-vendor into Netdata and re-check Sonar.
0 commit comments