Skip to content

feat(env-vars): rename SPLUNK_AO_LOG_STREAM → SPLUNK_AO_AGENT_STREAM (HYBIM-914)#120

Open
shuningc wants to merge 1 commit into
mainfrom
HYBIM-914-logstream-rename
Open

feat(env-vars): rename SPLUNK_AO_LOG_STREAM → SPLUNK_AO_AGENT_STREAM (HYBIM-914)#120
shuningc wants to merge 1 commit into
mainfrom
HYBIM-914-logstream-rename

Conversation

@shuningc

@shuningc shuningc commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Renames SPLUNK_AO_LOG_STREAM → SPLUNK_AO_AGENT_STREAM and SPLUNK_AO_LOG_STREAM_ID → SPLUNK_AO_AGENT_STREAM_ID across all source, test, example, and documentation files, following the
    domain entity rename from HYBIM-730 (PR feat: hard cut-over — rename LogStream→AgentStream, Metric→Evaluator #100)
  • Adds a silent backward-compat fallback in src/splunk_ao/utils/env_helpers.py: if SPLUNK_AO_AGENT_STREAM / SPLUNK_AO_AGENT_STREAM_ID are unset, the old variable names are read instead,
    so existing user environments continue to work without changes
  • Updates the _BRIDGE in config.py to map the new names to GALILEO_LOG_STREAM / GALILEO_LOG_STREAM_ID for galileo-core compatibility
  • The underlying API endpoints (/log_streams) are unchanged — this is a client-side rename only

Test plan

  • uv run pytest tests/ splunk-ao-adk/tests/ splunk-ao-a2a/tests/ passes with the renamed env vars
  • uv run mypy src/splunk_ao/ reports no new errors
  • Verify that setting the old SPLUNK_AO_LOG_STREAM still works (backward-compat alias in env_helpers.py)

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