From 717ff2ef3b974795867f814b05917e6ffcbbfc34 Mon Sep 17 00:00:00 2001 From: etserend Date: Thu, 30 Jul 2026 13:16:48 -0500 Subject: [PATCH 1/3] =?UTF-8?q?fix(config):=20rename=20config=20file=20gal?= =?UTF-8?q?ileo-python-config.json=20=E2=86=92=20splunk-ao-config.json=20(?= =?UTF-8?q?HYBIM-918)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- CHANGELOG.md | 11 +++++++++++ splunk-ao-migration-tool/README.md | 12 +++++++++++- src/splunk_ao/config.py | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fbf795..a8c1495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## Unreleased +### Breaking Changes + +- **Config file renamed** (HYBIM-918): The on-disk credentials file written to + `~/.galileo/` has been renamed from `galileo-python-config.json` to + `splunk-ao-config.json`. Users with an existing saved config must either rename + the file manually or delete it and re-authenticate. + +- `SplunkAOLogger.flush()` and `async_flush()` now return `None` and only drain + completed spans already queued for OTLP export. They no longer conclude open + spans or return uploaded proprietary trace objects. + ### Added - Added deployment-aware configuration and authentication for Splunk diff --git a/splunk-ao-migration-tool/README.md b/splunk-ao-migration-tool/README.md index c972e23..f900a54 100644 --- a/splunk-ao-migration-tool/README.md +++ b/splunk-ao-migration-tool/README.md @@ -340,6 +340,16 @@ The `GalileoScorers` enum has been removed entirely. Migrate to `SplunkAOEvaluat + scorer = SplunkAOEvaluators.completeness ``` +### 5.3 On-Disk Config File Renamed + +The SDK credentials file written to `~/.galileo/` has been renamed: + +| Old | New | +|-----|-----| +| `~/.galileo/galileo-python-config.json` | `~/.galileo/splunk-ao-config.json` | + +If you have saved credentials on disk, either rename the file manually or delete it and re-authenticate by running your code once. + --- ## 6. HTTP Tracing Headers @@ -422,13 +432,13 @@ The following are **unchanged** between galileo and splunk-ao and require no mig - Optional extra names (`[langchain]`, `[openai]`, `[otel]`, `[all]`, etc.) - `TracingMiddleware` class name - `OPENAI_API_KEY` environment variable -- On-disk config file name: `galileo-python-config.json` - Default console/API URLs (`https://app.galileo.ai/`, `https://api.galileo.ai/`) --- ## 9. Migration Checklist +- [ ] Rename on-disk config file: `~/.galileo/galileo-python-config.json` → `~/.galileo/splunk-ao-config.json` (or delete it and re-authenticate) - [ ] Update Python to **≥ 3.11** - [ ] Replace `galileo` with `splunk-ao` in `requirements.txt` / `pyproject.toml` - [ ] Add `grpcio>=1.80.0,<2.0.0` if using the `otel` extra (or use `splunk-ao[otel]`) diff --git a/src/splunk_ao/config.py b/src/splunk_ao/config.py index 58cf391..bf00281 100644 --- a/src/splunk_ao/config.py +++ b/src/splunk_ao/config.py @@ -71,7 +71,7 @@ class SplunkAOConfig(GalileoConfig): """Configure authentication and endpoints for standalone and O11y deployments.""" # Config file for this project. - config_filename: str = "galileo-python-config.json" + config_filename: str = "splunk-ao-config.json" console_url: Url = DEFAULT_CONSOLE_URL _instance: ClassVar[Optional["SplunkAOConfig"]] = None From e59ad4651ae11ebd1e7943b4ab446f7fe3db9ce9 Mon Sep 17 00:00:00 2001 From: etserend Date: Thu, 30 Jul 2026 16:32:16 -0500 Subject: [PATCH 2/3] test(config): assert SplunkAOConfig.config_filename defaults to splunk-ao-config.json (HYBIM-918) Co-Authored-By: Claude Opus 4.7 --- tests/test_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_config.py b/tests/test_config.py index 34834e1..cbe50db 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -341,3 +341,7 @@ def test_reset_removes_all_bridgeable_galileo_vars() -> None: f"reset() is expected to remove {galileo_key} " f"(bridge owns all GALILEO_* keys; no SDK consumer sets them directly)" ) + + +def test_config_filename_default() -> None: + assert SplunkAOConfig.model_fields["config_filename"].default == "splunk-ao-config.json" From 8ca8f300da8489f25254bd3481333e86800129d5 Mon Sep 17 00:00:00 2001 From: etserend Date: Sat, 1 Aug 2026 10:43:05 -0500 Subject: [PATCH 3/3] fix(changelog): remove out-of-scope flush() entry from HYBIM-918 CHANGELOG hunk Co-Authored-By: Claude Opus 4.7 --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8c1495..94a6a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,6 @@ `splunk-ao-config.json`. Users with an existing saved config must either rename the file manually or delete it and re-authenticate. -- `SplunkAOLogger.flush()` and `async_flush()` now return `None` and only drain - completed spans already queued for OTLP export. They no longer conclude open - spans or return uploaded proprietary trace objects. - ### Added - Added deployment-aware configuration and authentication for Splunk