Skip to content

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

Merged
etserend merged 1 commit into
mainfrom
fix/HYBIM-966-flush-docstrings
Aug 24, 2026
Merged

fix(docs): correct stale flush() docstrings to reflect drain-only semantics (HYBIM-966)#217
etserend merged 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
@fercor-cisco

Copy link
Copy Markdown
Collaborator

I created this follow-up ticket: https://splunk.atlassian.net/browse/SAO-16166

@etserend
etserend merged commit d2356ec into main Aug 24, 2026
13 checks passed
@etserend
etserend deleted the fix/HYBIM-966-flush-docstrings branch August 24, 2026 14:28
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants