Skip to content

feat(scraper): add --auto-save to self-healing approve/heal resume#15

Open
anil-bd wants to merge 1 commit into
brightdata:mainfrom
anil-bd:feat/scraper-auto-save
Open

feat(scraper): add --auto-save to self-healing approve/heal resume#15
anil-bd wants to merge 1 commit into
brightdata:mainfrom
anil-bd:feat/scraper-auto-save

Conversation

@anil-bd

@anil-bd anil-bd commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Thread the new optional auto_save parameter into the resume_automation_job call. When a heal is approved (message:true) and --auto-save is set, the body becomes {message:true, auto_save:true} so the approved template is saved automatically once the job completes. auto_save is omitted on reject (the API ignores it there), keeping the request minimal.

  • resume_and_poll: build body with auto_save only on approve
  • approve + heal subcommands: new --auto-save flag
  • types: autoSave on Scraper_approve_opts / Scraper_heal_opts
  • tests: assert body carries auto_save only when approving + flag set

Ref: docs resume-self-healing-job (auto_save)

Thread the new optional auto_save parameter into the resume_automation_job
call. When a heal is approved (message:true) and --auto-save is set, the body
becomes {message:true, auto_save:true} so the approved template is saved
automatically once the job completes. auto_save is omitted on reject (the API
ignores it there), keeping the request minimal.

- resume_and_poll: build body with auto_save only on approve
- approve + heal subcommands: new --auto-save flag
- types: autoSave on Scraper_approve_opts / Scraper_heal_opts
- tests: assert body carries auto_save only when approving + flag set

Ref: docs resume-self-healing-job (auto_save)
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.

2 participants