Skip to content

Synchronize env overrides and validate go2rtc path - #1182

Merged
matteius merged 4 commits into
mainfrom
ai-findings-autofix/src-core-config.c
Nov 26, 2026
Merged

matteius merged 4 commits into
mainfrom
ai-findings-autofix/src-core-config.c

Conversation

@matteius

@matteius matteius commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Findings addressed

  • Serialize environment override application with config snapshots.
  • Reject an unsafe go2rtc config directory before opening a config staging file. The generated patch referenced an undefined default-path macro and silently substituted a different value. Added a regression case verifying the previous config is preserved.

Verification

Built lightnvr and test_config; all 80 config tests passed on this branch.

matteius and others added 3 commits November 26, 2026 03:27
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@matteius matteius changed the title Potential fixes for 2 code quality findings Synchronize env overrides and validate go2rtc path Nov 26, 2026
@matteius
matteius marked this pull request as ready for review November 26, 2026 08:32
@matteius
matteius merged commit c4e2607 into main Nov 26, 2026
2 checks passed
@matteius
matteius deleted the ai-findings-autofix/src-core-config.c branch November 26, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant