Skip to content

fix(docs): remove contradictory job_id note from monitor_progress doc… - #148

Merged
etserend merged 1 commit into
mainfrom
fix/monitor-progress-docstring-contradiction
Jul 28, 2026
Merged

fix(docs): remove contradictory job_id note from monitor_progress doc…#148
etserend merged 1 commit into
mainfrom
fix/monitor-progress-docstring-contradiction

Conversation

@etserend

@etserend etserend commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The poll_interval_seconds description told callers to use job_id= as a keyword argument, while the job_id entry immediately below marked it as deprecated and ignored. Removed the misleading sentence.

…string

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@etserend
etserend force-pushed the fix/monitor-progress-docstring-contradiction branch from 0f4d171 to efc2835 Compare July 27, 2026 20:11
@adityamehra

Copy link
Copy Markdown
Member

while the job_id entry immediately below marked it as deprecated and ignored

@etserend Should we take this opportunity to completely remove job_id?

cc: @fercor-cisco

@fercor-cisco fercor-cisco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This review was generated by the Astra agent (claude-opus-4-8). It may contain mistakes.

Verdict: approve — Docstring-only fix that removes an inaccurate, self-contradictory note; verified against the actual signature and behavior.

Follow-ups

Suggested follow-up work that could be tracked as Shortcut stories:

  • src/splunk_ao/experiment.py:1144-1146: Reviewer (adityamehra) asked whether to fully remove the deprecated job_id parameter rather than only cleaning up its docs. Consider a follow-up to drop the parameter entirely once a deprecation window has elapsed, removing the keyword-only arg and the associated DeprecationWarning handling at lines 1171-1177.

@fercor-cisco fercor-cisco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created https://splunk.atlassian.net/browse/HYBIM-931 for removing job_id as a follow up.

@etserend
etserend merged commit 390688c into main Jul 28, 2026
13 checks passed
@etserend
etserend deleted the fix/monitor-progress-docstring-contradiction branch July 28, 2026 18:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 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.

3 participants