Skip to content

Release 1.35.0 with bounded managed C-Gate logs - #142

Merged
cursor[bot] merged 3 commits into
masterfrom
dougrathbone/release-1-34-16-log-retention-9f8f
Sep 29, 2026
Merged

cursor[bot] merged 3 commits into
masterfrom
dougrathbone/release-1-34-16-log-retention-9f8f

Conversation

@dougrathbone

@dougrathbone dougrathbone commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Merges the USB interface recovery already on master with managed C-Gate log retention, and releases it as 1.35.0.

Home Assistant already provides /data as the add-on's persistent volume and manages stdout/stderr separately. C-Gate's own file logs therefore need native rotation and add-on-side retention rather than another host mount.

1.34.16 was already published with these fixes. 1.35.0 is the minor release of the same changes.

Changes

  • adds a periodic managed C-Gate log cleanup every 15 minutes instead of only at startup
  • adds the optional cgate_log_max_mb setting, defaulting to 500 MiB
  • counts active log files toward the cap but never unlinks files the JVM still has open
  • scales C-Gate's native event-log segment retention down when a lower cap is configured
  • documents and translates the new option across all supported locales
  • bumps the source and add-on versions to 1.35.0

Test plan

  • npm test passes locally (3204 tests)
  • npm run lint passes
  • npm run typecheck passes
  • Add-on config, translation, and schema/i18n validation pass
  • Changed shell scripts pass bash -n
  • Periodic pruner service smoke-tested with an accelerated interval
  • Open-log protection covered by a unit test

Checklist

  • Version bumped in package.json and homeassistant-addon/config.yaml (if releasing)
  • CHANGELOG.md updated (if releasing)
  • No sensitive data or credentials included
Open in Web Open in Cursor 

cursoragent and others added 3 commits September 29, 2026 22:38
Co-authored-by: Doug Rathbone <dougrathbone@users.noreply.github.com>
Co-authored-by: Doug Rathbone <dougrathbone@users.noreply.github.com>
@cursor cursor Bot changed the title Release 1.34.16 and keep managed C-Gate logs bounded Release 1.35.0 with bounded managed C-Gate logs Sep 29, 2026
@dougrathbone
dougrathbone marked this pull request as ready for review September 29, 2026 23:29
@cursor
cursor Bot merged commit dae0e88 into master Sep 29, 2026
25 checks passed
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.

2 participants