Skip to content

Pin voice stack dependencies and log runtime voice info#66

Open
Gokias wants to merge 102 commits intomainfrom
codex/update-requirements.txt-and-add-startup-logging
Open

Pin voice stack dependencies and log runtime voice info#66
Gokias wants to merge 102 commits intomainfrom
codex/update-requirements.txt-and-add-startup-logging

Conversation

@Gokias
Copy link
Copy Markdown
Owner

@Gokias Gokias commented Mar 4, 2026

Motivation

  • Prevent unnoticed production drift of the voice stack and make voice-related runtime differences immediately visible in startup logs.

Description

  • Pin py-cord[voice] to 2.6.1 and PyNaCl to 1.6.1 in requirements.txt to lock the voice-critical dependencies.
  • Add import sys and a startup logger.info in on_ready() that logs discord.__version__, the Python runtime version via sys.version.split()[0], and the discord.opus.is_loaded() status.

Testing

  • Ran python -m py_compile poopbot.py which completed successfully.

Codex Task

…ist-segments

Prefer non-HLS YouTube audio URLs and add FFmpeg HTTP headers
Add guild voice transcription sessions with /gtranscribe, /gsetuser, /gendsession
…o-pycord

Swap to Pycord (voice sinks) and update slash-command wiring
…o-pycord-ungr0e

Codex-generated pull request
Improve Opus loading and voice-recording preflight checks for transcription
…oopbot

Harden /gtranscribe against early voice websocket race
…issue

Increase Discord voice readiness wait for /gtranscribe
…meout-issue

Improve voice readiness checks for transcription startup
…meout-issue-fsfrdb

Harden voice readiness check against sentinel ws values
Harden voice websocket readiness checks for transcription start
…oyment-documentation

Add yt-dlp and faster-whisper requirements and update deployment/transcription guidance
…g_buffers-logging

Add consent-aware guard and throttled warning in capture flush
…on-in-poopbot.py

Fix transcription chunk offsets to use stream timeline
…functionality

Improve transcription consent visibility and reminders
…anscribe

Add gtranscribe permission prechecks and consent-flow error handling
…-with-rolling-windows

Live transcription: rolling windows with overlap, bounded queue, and overlap-deduping
…-process

Improve live transcription chunk diagnostics and sink key handling
…nscribe_chunk

Support raw PCM sink payloads for transcription chunks
…cription-messages

Remove transcription debug suffix and harden /gendsession interaction handling
…s-and-fix-audio-backlog

Refine transcription consent flow to DM opt-in only
…accuracy

Bias Whisper transcription to English with beam/ VAD tuning and auto-language fallback
…poopbot.py

Order live transcription posts by timestamp
…tion-in-poopbot.py

Refactor transcription inference to run in worker threads
…onitoring

Add recording health monitoring and teardown safeguards
…n-gplay-command

Fix gplay crash when voice client is present but not connected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant