Skip to content

Conversation

@sairon
Copy link
Member

@sairon sairon commented Dec 8, 2025

Proposed change

Document option added in home-assistant/supervisor#6400.

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features for which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Remove stale or deprecated documentation

Checklist

  • I have read and followed the documentation guidelines.
  • I have verified that my changes render correctly in the documentation.

Additional information

Summary by CodeRabbit

  • Documentation

    • Updated API documentation for core configuration endpoints and response models.
  • New Features

    • Added a new configurable option to control Home Assistant log file duplication behavior via the API.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 8, 2025

📝 Walkthrough

Walkthrough

Documentation updates for a new duplicate_log_file boolean field in the Core API, enabling configuration and reporting of Home Assistant's log file duplication behavior through both the /core/info response and Core options payload.

Changes

Cohort / File(s) Summary
Core API documentation
docs/api/supervisor/endpoints.md
Added duplicate_log_file boolean field to the Core info API response (/core/info) and Core options payload request, documenting the configuration option for log file duplication behavior.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: documenting the duplicate_log_file Core option, which matches the primary objective of the pull request.
Description check ✅ Passed The description follows the template structure with proposed change, type of change selected, and relevant information provided, though one checklist item (render verification) remains unchecked.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch duplicate-log-file

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 7e0be96 and be81b30.

📒 Files selected for processing (1)
  • docs/api/supervisor/endpoints.md (2 hunks)
🔇 Additional comments (1)
docs/api/supervisor/endpoints.md (1)

1256-1282: Core options documentation looks good.

The duplicate_log_file field is correctly added to the /core/options payload table with proper formatting, type specification, and description. Placement is consistent with similar options like backups_exclude_database.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sairon sairon merged commit 6f5b933 into master Dec 8, 2025
5 checks passed
@sairon sairon deleted the duplicate-log-file branch December 8, 2025 15:36
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.

3 participants