Skip to content

docs: document Content-Defined Chunking (CDC) feature - #680

Merged
kalbasit merged 4 commits into
mainfrom
01-31-docs_document_content-defined_chunking_cdc_feature
Feb 1, 2026
Merged

kalbasit merged 4 commits into
mainfrom
01-31-docs_document_content-defined_chunking_cdc_feature

Conversation

@kalbasit

@kalbasit kalbasit commented Feb 1, 2026 •

Copy link
Copy Markdown
Owner

docs: document Content-Defined Chunking (CDC) feature

This commit adds comprehensive documentation for the new CDC feature.
It includes:

  • A new feature guide in docs/docs/User Guide/Features/CDC.md explaining what CDC is and how it works.
  • Updated configuration reference in docs/docs/User Guide/Configuration/Reference.md with new flags.
  • Updated Helm chart documentation in docs/docs/User Guide/Installation/Helm Chart.md with CDC configuration examples.
  • Updated User Guide index to link to the new feature documentation.

Part of #322

This commit adds comprehensive documentation for the new CDC feature.
It includes:
- A new feature guide in docs/docs/User Guide/Features/CDC.md explaining what CDC is and how it works.
- Updated configuration reference in docs/docs/User Guide/Configuration/Reference.md with new flags.
- Updated Helm chart documentation in docs/docs/User Guide/Installation/Helm Chart.md with CDC configuration examples.
- Updated User Guide index to link to the new feature documentation.

The CDC feature allows ncps to deduplicate storage by splitting NAR files into variable-sized chunks. It is currently marked as experimental.
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 1, 2026
@dosubot

dosubot Bot commented Feb 1, 2026

Copy link
Copy Markdown

Related Documentation

No published documentation to review for changes on this repository.

Write your first living document

How did I do? Any feedback?  Join Discord

@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Feb 1, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @kalbasit, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces extensive documentation for the experimental Content-Defined Chunking (CDC) feature within ncps. The new guides explain how CDC works to deduplicate NAR files, its benefits for storage efficiency, and provide detailed configuration instructions for both direct ncps usage and Helm chart deployments. This ensures users have clear guidance on enabling and optimizing this advanced deduplication capability.

Highlights

  • New CDC Feature Documentation: Comprehensive documentation for the experimental Content-Defined Chunking (CDC) feature has been added, explaining its purpose, mechanics, and benefits.
  • Configuration Updates: The configuration reference and Helm chart documentation have been updated to include CDC-specific settings, flags, and usage examples.
  • User Guide Integration: The main User Guide index now links to the new CDC feature documentation, improving discoverability and navigation for users.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

kalbasit commented Feb 1, 2026

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive documentation for the new Content-Defined Chunking (CDC) feature. The changes are well-structured, adding a new feature guide, and updating the configuration reference, Helm chart documentation, and user guide index. The documentation clearly explains what CDC is, its benefits, and how to configure it. I've provided a suggestion on the new CDC.md page to improve consistency. Overall, this is a valuable addition to the project's documentation.

Comment thread docs/docs/User Guide/Features/CDC.md Resolved
kalbasit and others added 2 commits January 31, 2026 23:46
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@kalbasit
kalbasit enabled auto-merge (squash) February 1, 2026 07:49
@codecov

codecov Bot commented Feb 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.16%. Comparing base (8a98484) to head (d755a32).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #680   +/-   ##
=======================================
  Coverage   79.16%   79.16%           
=======================================
  Files           2        2           
  Lines         456      456           
=======================================
  Hits          361      361           
  Misses         83       83           
  Partials       12       12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kalbasit
kalbasit merged commit 178e9a2 into main Feb 1, 2026
@kalbasit
kalbasit deleted the 01-31-docs_document_content-defined_chunking_cdc_feature branch February 1, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant