Skip to content

feat: add the new flag to the chart and documentation - #745

Merged
kalbasit merged 3 commits into
mainfrom
02-05-feat_add_the_new_flag_to_the_chart_and_documentation
Feb 5, 2026
Merged

kalbasit merged 3 commits into
mainfrom
02-05-feat_add_the_new_flag_to_the_chart_and_documentation

Conversation

@kalbasit

@kalbasit kalbasit commented Feb 5, 2026 •

Copy link
Copy Markdown
Owner

Document the flag --cache-download-poll-timeout and allow setting it in the chart. Additionally, add a valiation pattern to the chart's values.schema.yaml for all duration flags.

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 5, 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 enhances the cache configuration by adding a new timeout setting specifically for download polling. This allows for more granular control over how long the system waits for downloads to complete, improving flexibility and potentially addressing issues related to slow storage or network conditions. The change is fully integrated into the Helm chart for easy deployment and is thoroughly documented for user reference.

Highlights

  • New Configuration Flag: Introduced a new configuration flag, --cache-download-poll-timeout, to control the timeout for polling storage during download completion.
  • Helm Chart Integration: The new downloadPollTimeout parameter is now configurable within the Helm chart, allowing users to set this value via values.yaml.
  • Documentation Updates: The new flag and its purpose have been documented in both the config.example.yaml and the official user guide reference documentation.
Changelog
  • charts/ncps/templates/configmap.yaml
    • Added download.poll-timeout to the cache configuration, mapping it to .Values.config.cache.downloadPollTimeout.
  • charts/ncps/values.schema.json
    • Added downloadPollTimeout property to the cache schema with a type of string and a description.
  • charts/ncps/values.yaml
    • Added downloadPollTimeout with a default value of "30s" and a descriptive comment.
  • config.example.yaml
    • Added download.poll-timeout under the cache section with a default value of 30s and a comment explaining its purpose.
  • docs/docs/User Guide/Configuration/Reference.md
    • Added a new entry for --cache-download-poll-timeout to the configuration reference table, including its description, environment variable, and default value.
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 5, 2026 •

Copy link
Copy Markdown
Owner Author

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

Base automatically changed from 02-04-refactor_improve_test_code_quality_in_distributed_cache_tests to main February 5, 2026 09:05
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 5, 2026
@kalbasit
kalbasit force-pushed the 02-05-feat_add_the_new_flag_to_the_chart_and_documentation branch from 3f06434 to 529ca0e Compare February 5, 2026 09:06
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Feb 5, 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 adds the new --cache-download-poll-timeout flag, allowing it to be configured in the Helm chart and documenting it. The changes are consistent across the Helm chart values, schema, template, and documentation. I have a couple of suggestions to improve validation in the Helm chart and clarify the documentation.

Comment thread charts/ncps/values.schema.json Resolved
@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Feb 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.41%. Comparing base (2c70a24) to head (1fabffc).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #745   +/-   ##
=======================================
  Coverage   85.41%   85.41%           
=======================================
  Files           2        2           
  Lines         480      480           
=======================================
  Hits          410      410           
  Misses         65       65           
  Partials        5        5           

☔ 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.

Document the flag --cache-download-poll-timeout and allow setting it in
the chart.
@kalbasit
kalbasit force-pushed the 02-05-feat_add_the_new_flag_to_the_chart_and_documentation branch from 529ca0e to 31c09a5 Compare February 5, 2026 17:18
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 5, 2026
@kalbasit
kalbasit enabled auto-merge (squash) February 5, 2026 17:20
@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

@kalbasit
kalbasit merged commit 0d6a954 into main Feb 5, 2026
14 checks passed
@kalbasit
kalbasit deleted the 02-05-feat_add_the_new_flag_to_the_chart_and_documentation branch February 5, 2026 18: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 helm 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