Skip to content

docs(helm): explain pusher connection target - #12001

Merged
kodjima33 merged 1 commit into
BasedHardware:mainfrom
shubhxho:codex/docs-6752-pusher-capacity
Aug 22, 2026
Merged

kodjima33 merged 1 commit into
BasedHardware:mainfrom
shubhxho:codex/docs-6752-pusher-capacity

Conversation

@shubhxho

@shubhxho shubhxho commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • document that the production pusher target of 30 active WebSocket connections per pod is intentional
  • explain why it remains independent from backend-listen's lower target of 22
  • keep the deployed autoscaling value unchanged

Closes #6752

Verification

  • helm template pusher backend/charts/pusher -f backend/charts/pusher/prod_omi_pusher_values.yaml --set image.tag=test
  • OMI_PR_BODY_FILE=/tmp/omi-pr-body-6752.md make preflight
  • scripts/pr-preflight --pr-body-file /tmp/omi-pr-body-6752.md

Product invariants

None.

Review in cubic

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @shubhxho — the comment's factual content checks out. Verified against main:

  • backend/charts/pusher/prod_omi_pusher_values.yaml: the three added lines are comment-only, sitting above the existing activeConnectionsPerPod: 30; rendered values are unchanged.
  • backend/charts/backend-listen/prod_omi_backend_listen_values.yaml: activeConnectionsPerPod: 22 — the cross-reference in the comment is accurate.
  • backend/charts/pusher/templates/hpa.yaml consumes this value as the pusher_active_ws_connections_per_pod external metric target, so documenting the intent at this call site is genuinely useful for future capacity tuning.

One piece of history to weigh before merge: the intent question in #6752 was already confirmed in-issue by @thainguyensunya (pusher's WebSocket handling differs from backend-listen; 30 is intentional). @shaun0927 then proposed this exact documentation as #6769 — same file, same anchor, nearly identical text — and that PR was closed unmerged by a maintainer on 2026-04-27, minutes after #7046 removed "fragmented" runbooks in a docs-hygiene pass. So this PR effectively re-opens a change that was declined once, which makes it a maintainer-intent call rather than a correctness one.

Two clean paths for a maintainer:

  1. Merge the inline comment (it is accurate and well-placed; could fold in the Rollback activeConnectionsPerPod for backend-listen to 22 #6732 rollback reference from docs(helm): document intentional pusher activeConnectionsPerPod=30 vs backend-listen=22 #6769) and let it close Helm: pusher activeConnectionsPerPod=30 vs backend-listen=22 — intentional asymmetry? #6752 as documented.
  2. Keep the rationale in the Helm: pusher activeConnectionsPerPod=30 vs backend-listen=22 — intentional asymmetry? #6752 thread where it already lives and close that issue as answered, consistent with the docs(helm): document intentional pusher activeConnectionsPerPod=30 vs backend-listen=22 #6769 decision — no inline churn.

Either way #6752 can be resolved: its question has been answered since April. Not requesting changes — the content itself is correct — but leaving the re-land decision to a human maintainer given the prior decline.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added needs-maintainer-review Needs a human maintainer to sign off before merge backend Backend Task (python) labels Aug 21, 2026

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Comment-only doc addition; verified pusher=30 vs backend-listen=22 on main matches the claim exactly. Zero behavior change.

@kodjima33
kodjima33 merged commit 1977f65 into BasedHardware:main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend Task (python) needs-maintainer-review Needs a human maintainer to sign off before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Helm: pusher activeConnectionsPerPod=30 vs backend-listen=22 — intentional asymmetry?

3 participants