Skip to content

docs: in-flight NAR staging for HA - #1359

Merged
kalbasit merged 2 commits into
mainfrom
docs-in-flight-nar-staging-for
Jun 8, 2026
Merged

kalbasit merged 2 commits into
mainfrom
docs-in-flight-nar-staging-for

Conversation

@kalbasit

@kalbasit kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Document in-flight NAR staging (group 11):

  • Configuration Reference: new In-flight NAR Staging Options section covering
    --cache-inflight-staging-enabled / -retention / -part-size.
  • Helm Chart Reference: add the config.inflightStaging.* rows; remove the
    config.cdc.iLoveTimeouts row.
  • High Availability: HA now requires CDC OR in-flight staging, with staging as
    the recommended lightweight default; document the iLoveTimeouts removal and
    note request-affinity routing as an optional optimization, not a requirement.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@kalbasit, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 6 minutes and 57 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7948e31c-2a8e-4bed-b34a-ff4c4b546fc4

📥 Commits

Reviewing files that changed from the base of the PR and between 26c2812 and 07ee0f3.

📒 Files selected for processing (3)
  • docs/docs/User Guide/Configuration/Reference.md
  • docs/docs/User Guide/Deployment/High Availability.md
  • docs/docs/User Guide/Installation/Helm Chart/Chart Reference.md
📝 Walkthrough

Walkthrough

This PR introduces documentation for in-flight NAR staging, a new high-availability feature that enables serving NAR archive objects across multiple pods during download. The changes update three documentation files to explain the deployment requirements, configuration flags, and Helm chart parameters for this mechanism.

Changes

In-flight NAR Staging Documentation

Layer / File(s) Summary
HA Requirements and Mechanism
docs/docs/User Guide/Deployment/High Availability.md
The HA guide now specifies "serve-during-download" as a core requirement for multi-replica deployments, promoting in-flight NAR staging (config.inflightStaging.enabled=true) as the recommended default and CDC (config.cdc.enabled=true) as an alternative, removes the old config.cdc.iLoveTimeouts bypass, and clarifies that request-affinity routing is optional for latency rather than required for correctness.
Configuration Options Reference
docs/docs/User Guide/Configuration/Reference.md
New "In-flight NAR Staging Options (HA)" section documents three configuration flags and their environment variable equivalents (--cache-inflight-staging-enabled, --cache-inflight-staging-retention, --cache-inflight-staging-part-size), explaining that staging serves NARs across pods during download, is off by default, and applies across all CDC modes.
Helm Chart Configuration
docs/docs/User Guide/Installation/Helm Chart/Chart Reference.md
New "In-flight NAR Staging Configuration" section documents three Helm parameters (config.inflightStaging.enabled, config.inflightStaging.retention, config.inflightStaging.partSize) for HA-safe cross-pod serving; removes the prior config.cdc.iLoveTimeouts bypass flag from the CDC configuration table.

🎯 1 (Trivial) | ⏱️ ~5 minutes

🐰 A staging ground grows,
NAR bundles shared cross the pods,
No timeouts to fear.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title clearly summarizes the main change: documentation for in-flight NAR staging in the HA context, which matches the changeset.
Description check ✅ Passed The description is well-related to the changeset, detailing the three documentation files modified and the specific content additions and removals made.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 7, 2026
@dosubot dosubot Bot added documentation Improvements or additions to documentation helm labels Jun 7, 2026

@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 in-flight NAR staging as a lightweight, zero-overhead alternative to Content-Defined Chunking (CDC) for high-availability (HA) deployments, allowing a replica to serve a NAR to other replicas while it is still downloading. It also removes the deprecated config.cdc.iLoveTimeouts Helm bypass flag and updates the relevant documentation. The review feedback correctly identifies a minor contradiction in the documentation where 'non-CDC' is grouped under 'all CDC modes' and suggests a clean phrasing fix.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit

kalbasit commented Jun 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from 433889c to a3466dc Compare June 8, 2026 00:11
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 26c2812 to 9a3b828 Compare June 8, 2026 00:11
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from a3466dc to f9b4797 Compare June 8, 2026 00:19
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 9a3b828 to 0da4689 Compare June 8, 2026 00:19
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from f9b4797 to c2f98b1 Compare June 8, 2026 00:27
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 0da4689 to 302d4f5 Compare June 8, 2026 00:27
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from c2f98b1 to b5822ac Compare June 8, 2026 00:42
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 302d4f5 to fa5af10 Compare June 8, 2026 00:42
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from b5822ac to 83be552 Compare June 8, 2026 00:49
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from fa5af10 to b80d655 Compare June 8, 2026 00:49
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from 83be552 to e1a4ada Compare June 8, 2026 00:56
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from b80d655 to 32878d8 Compare June 8, 2026 00:56
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from e1a4ada to f46fc73 Compare June 8, 2026 01:04
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 32878d8 to 77327ac Compare June 8, 2026 01:04
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from f46fc73 to 9df284c Compare June 8, 2026 01:11
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 77327ac to 3254ff5 Compare June 8, 2026 01:11
@kalbasit
kalbasit force-pushed the feat-chart-ha-via-cdc-or-in branch from 9df284c to 638a4a3 Compare June 8, 2026 01:19
kalbasit added a commit that referenced this pull request Jun 8, 2026
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 3254ff5 to 36cc02c Compare June 8, 2026 01:19
Base automatically changed from feat-chart-ha-via-cdc-or-in to main June 8, 2026 01:26
kalbasit and others added 2 commits June 8, 2026 01:26
Document in-flight NAR staging (group 11):
- Configuration Reference: new In-flight NAR Staging Options section covering
  --cache-inflight-staging-enabled / -retention / -part-size.
- Helm Chart Reference: add the config.inflightStaging.* rows; remove the
  config.cdc.iLoveTimeouts row.
- High Availability: HA now requires CDC OR in-flight staging, with staging as
  the recommended lightweight default; document the iLoveTimeouts removal and
  note request-affinity routing as an optional optimization, not a requirement.
Address review feedback on PR #1359 (thread PRRT_kwDONV6tZs6Hr3Cz): "non-CDC" is
not a CDC mode, so the phrase "all CDC modes (non-CDC, lazy-CDC, eager-CDC)" was
contradictory. In-flight staging applies to all modes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@kalbasit
kalbasit force-pushed the docs-in-flight-nar-staging-for branch from 36cc02c to 07ee0f3 Compare June 8, 2026 01:26
@kalbasit
kalbasit enabled auto-merge (squash) June 8, 2026 01:26
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@kalbasit
kalbasit merged commit cf5e439 into main Jun 8, 2026
37 checks passed
@kalbasit
kalbasit deleted the docs-in-flight-nar-staging-for branch June 8, 2026 01:34
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 helm merge-stack size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant