Skip to content

docs(helm): document intentional pusher activeConnectionsPerPod=30 vs backend-listen=22 - #6769

Closed
shaun0927 wants to merge 1 commit into
BasedHardware:mainfrom
shaun0927:audit/pusher-conns-intent-comment
Closed

shaun0927 wants to merge 1 commit into
BasedHardware:mainfrom
shaun0927:audit/pusher-conns-intent-comment

Conversation

@shaun0927

Copy link
Copy Markdown
Contributor

What

Adds a one-line YAML comment to backend/charts/pusher/prod_omi_pusher_values.yaml documenting that the asymmetry between pusher.activeConnectionsPerPod=30 and backend-listen.activeConnectionsPerPod=22 is intentional, not a missed-rollback bug from PR #6732.

Why

Issue #6752 was filed to confirm intent. @thainguyensunya confirmed in #6752 comment:

The activeConnectionsPerPod value of 30 for pusher is intentional. The logic to handle WebSocket traffic of pusher and backend-listen are different. As my observation, backend-listen can't handle 30 activeConnectionsPerPod but pusher can. That's why I only rollback the change for backend-listen. Currently there are some changes introduced in backend-listen and pusher to optimize async requests handling, I believe activeConnectionsPerPod will need to be adjusted continuously to optimize the number of backend-listen and pusher pods.

This PR captures that context at the call site so future readers don't have to re-discover it from PR history.

Closes #6752

… backend-listen=22

PR BasedHardware#6732 rolled back backend-listen to 22 but kept pusher at 30, which
is intentional: pusher's WebSocket handling profile can absorb 30
concurrent connections per pod while backend-listen's cannot. Both
values are tuned continuously as the async request pipeline evolves.

Adds a one-line YAML comment so the asymmetry is visible at the call
site instead of buried in PR history.

Closes BasedHardware#6752

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@greptile-apps

greptile-apps Bot commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a four-line YAML comment to backend/charts/pusher/prod_omi_pusher_values.yaml documenting that activeConnectionsPerPod=30 for pusher is intentionally higher than the 22 used for backend-listen, with references to issue #6752 and the PR #6732 rollback for traceability. The change is documentation-only and carries no functional risk.

Confidence Score: 5/5

Safe to merge — documentation-only change with no functional impact.

Single YAML comment addition that carries zero runtime risk. The comment is accurate, well-placed, and references the correct tracking issue and PR for future readers.

No files require special attention.

Important Files Changed

Filename Overview
backend/charts/pusher/prod_omi_pusher_values.yaml Adds a 4-line YAML comment explaining the intentional activeConnectionsPerPod=30 asymmetry; no functional changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    HPA[HPA / Autoscaler]
    HPA -->|activeConnectionsPerPod = 22| BL[backend-listen pods]
    HPA -->|activeConnectionsPerPod = 30| PU[pusher pods]
    BL -->|"audio frames + transcripts (binary WS)"| PU
    PU -->|"webhooks, integrations, LLM jobs"| EXT[External services]
    note1["Asymmetry is intentional:\npusher's async WS profile\ncan absorb 30 conns/pod;\nbackend-listen rolled back\nfrom 30 → 22 in PR #6732"]
    style note1 fill:#fffbe6,stroke:#d4a,stroke-dasharray:4
Loading

Reviews (1): Last reviewed commit: "docs(helm): document intentional pusher ..." | Re-trigger Greptile

@beastoin beastoin closed this Apr 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey @shaun0927 👋

Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request.

After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our roadmap and vision

Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out.

Thank you for being part of the Omi community! 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants