Skip to content

fix(docs): correct stale flush() docstrings to reflect drain-only semantics (HYBIM-966) - #217

Open
etserend wants to merge 1 commit into
mainfrom
fix/HYBIM-966-flush-docstrings
Open

fix(docs): correct stale flush() docstrings to reflect drain-only semantics (HYBIM-966)#217
etserend wants to merge 1 commit into
mainfrom
fix/HYBIM-966-flush-docstrings

Conversation

@etserend

@etserend etserend commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Background

PR #155 (8e244a0) changed flush() / async_flush() to drain-only — they no longer conclude open spans or upload traces. Docstrings and example code still described the old upload-and-finalize behavior.

Changes in this PR

  • src/splunk_ao/utils/singleton.pySplunkAOLoggerSingleton.flush() and flush_all() docstrings: "Flush (upload and clear)" → drain-only semantics
  • src/splunk_ao/decorator.pySplunkAODecorator.flush_all() docstring: "Upload all captured traces" → drain-only, with explicit note that it does not conclude open spans
  • Examples — removed logger.flush() calls and updated comments that implied upload-and-send behavior

@etserend
etserend marked this pull request as draft August 7, 2026 19:19
@etserend
etserend marked this pull request as ready for review August 20, 2026 23:24
@etserend
etserend requested a review from fercor-cisco August 20, 2026 23:30
@etserend
etserend force-pushed the fix/HYBIM-966-flush-docstrings branch from 00a2499 to 62efd38 Compare August 20, 2026 23:52
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