Repository navigation
fix(chart): use a keep-alive of 100 s - #478
Merged
Merged
Conversation
The petstore example chart set gunicorn.keepalive to 75 seconds, while foca.gunicorn_config uses 100, longer than the idle timeouts of common proxies (60 s for ingress-nginx, 90 s for Traefik). Use 100 seconds in the example chart, the library chart's tests and snapshots, and the docs, so that apps have the same keep-alive with and without the chart. Closes #469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThe PR changes the unreleased petstore Helm example from a 75-second to a 100-second Gunicorn keep-alive, updates all affected template expectations, and revises deployment and migration documentation to align with the application default and Traefik's 90-second idle timeout. The library chart implementation is unchanged, so no chart version bump is needed. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #478 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 3444 3444
=========================================
Hits 3444 3444
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
October 24, 2026 15:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Maintainer decision of 2026-10-24: keep-alive 100 s everywhere, matching
foca.gunicorn_config(#463).examples/petstore/chart/values.yaml:petstore.gunicorn.keepalive75 → 100.charts/foca-common/tests/test_templates.py) and snapshots:--keep-alive 100.docs/helm-chart.md(the generic keep-alive note no longer claims a chart default of 75, which the library chart doesn't have; the Traefik note now says that its 90 s are shorter than the 100 s),docs/deployment.md, and a note in the Gunicorn section ofdocs/migration-0.18.mdfor app charts that copied the example's values.charts/foca-commonoutsidetests/) is unchanged, and the example chart is unreleased.Verification
helm lint --strict(Helm 3.22.1, as in CI) ofcharts/foca-commonandexamples/petstore/chart: passedpytest charts/foca-common/tests: 203 passedmkdocs build --strict: no warnings;pre-commit run --all-files: all hooks passedDeclined review findings
Open questions
None.
Closes #469
🤖 Generated with Claude Code