Skip to content

refactor(server): standardize server env config prefixes#127

Open
lan17 wants to merge 6 commits intomainfrom
codex/refactor-server-env-prefixes
Open

refactor(server): standardize server env config prefixes#127
lan17 wants to merge 6 commits intomainfrom
codex/refactor-server-env-prefixes

Conversation

@lan17
Copy link
Contributor

@lan17 lan17 commented Mar 14, 2026

Summary

  • standardize server-owned config on canonical AGENT_CONTROL_* env vars
  • remove legacy server env aliases and switch the database config to true env_prefix-based settings
  • update server-facing compose, Docker, Makefile, and test docs to use the new canonical names

Verification

  • uv run --package agent-control-server pytest server/tests/test_config.py server/tests/test_logging_utils.py --noconftest -q
  • make lint
  • make typecheck

Notes

  • This PR intentionally migrates server env var names without legacy compatibility fallbacks.
  • I did not run the full DB-backed make server-test suite in this environment.

@codecov
Copy link

codecov bot commented Mar 14, 2026

Codecov Report

❌ Patch coverage is 97.64706% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/src/agent_control_server/logging_utils.py 94.73% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@lan17 lan17 changed the title refactor: standardize server env config prefixes refactor(server)!: standardize server env config prefixes Mar 14, 2026
@lan17 lan17 changed the title refactor(server)!: standardize server env config prefixes refactor(server): standardize server env config prefixes Mar 14, 2026
@lan17 lan17 enabled auto-merge (squash) March 14, 2026 06:30
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.

1 participant