Skip to content

feat(export): add JSONL_FLAT export format (HYBIM-788)#74

Draft
etserend wants to merge 1 commit into
feat/HYBIM-788-port-e42a569from
feat/HYBIM-788-port-6ccd06a
Draft

feat(export): add JSONL_FLAT export format (HYBIM-788)#74
etserend wants to merge 1 commit into
feat/HYBIM-788-port-e42a569from
feat/HYBIM-788-port-6ccd06a

Conversation

@etserend

@etserend etserend commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Ports upstream commit 6ccd06a from rungalileo/galileo-python (PR #621)
  • Adds JSONL_FLAT = "jsonl_flat" to LLMExportFormat enum
  • Extends ExportClient.records() decode path to treat JSONL_FLAT identically to JSONL
  • Adds jsonl_flat value to openapi.yaml LLMExportFormat schema

Stacked on: #73 (feat/HYBIM-788-port-e42a569 — include_code_metric_metadata)

Test plan

  • poetry run pytest tests/test_export.py -v — 18 passed
  • test_export_records_jsonl_flat — new test verifying JSONL_FLAT decodes records correctly and sets export_format on request body
  • ruff check src/splunk_ao/ — clean
  • No stray from galileo. imports in src/splunk_ao/

🤖 Generated with Claude Code

Port upstream commit 6ccd06a from rungalileo/galileo-python (PR #621).
Adds LLMExportFormat.JSONL_FLAT enum value and treats it identically to
JSONL in the streaming decode path so callers can request flattened output.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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