Skip to content

Conversation

taylorleese
Copy link

Summary

This PR fixes inconsistencies in the environment variable naming between the documentation and the actual code implementation.

Problem

The README.md and .env.example files had incorrect names for SSL-related environment variables. The documentation was using shortened names while the actual code in src/common/config.py uses the full names with SSL_ prefix.

Changes

Updated the following environment variable names to match the actual implementation:

  • REDIS_CA_PATHREDIS_SSL_CA_PATH
  • REDIS_CERT_REQSREDIS_SSL_CERT_REQS
  • REDIS_CA_CERTSREDIS_SSL_CA_CERTS

Files Modified

  • README.md: Updated environment variable table and example configuration
  • .env.example: Updated environment variable names to match actual usage

This ensures users following the documentation will use the correct environment variable names that the server actually reads.

The README.md and .env.example files had inconsistent naming for SSL-related
environment variables. The actual code uses:
- REDIS_SSL_CA_PATH (not REDIS_CA_PATH)
- REDIS_SSL_CERT_REQS (not REDIS_CERT_REQS)
- REDIS_SSL_CA_CERTS (not REDIS_CA_CERTS)

This commit updates the documentation to match the actual variable names
used in src/common/config.py.
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@d892956). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage        ?   87.23%           
=======================================
  Files           ?       16           
  Lines           ?      611           
  Branches        ?        0           
=======================================
  Hits            ?      533           
  Misses          ?       78           
  Partials        ?        0           
Flag Coverage Δ
unittests 87.23% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@tishun
Copy link
Contributor

tishun commented Sep 15, 2025

Hey, thanks for the contribution!

Could you also address the ones in the smithery.yaml file?

Update smithery.yaml to use consistent SSL environment variable names that match the actual implementation in src/common/config.py:
- redisCAPath → redisSSLCAPath (maps to REDIS_SSL_CA_PATH)
- redisCertReqs → redisSSLCertReqs (maps to REDIS_SSL_CERT_REQS)
- redisCACerts → redisSSLCACerts (maps to REDIS_SSL_CA_CERTS)

This ensures the Smithery configuration uses the correct environment variable names that the server actually reads.
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.

3 participants