A6.4: Wire batch flags into scrape/search/screenshot/codegen#23
Closed
paulius-krutkis-dcd wants to merge 1 commit into
Closed
A6.4: Wire batch flags into scrape/search/screenshot/codegen#23paulius-krutkis-dcd wants to merge 1 commit into
paulius-krutkis-dcd wants to merge 1 commit into
Conversation
Attach --input-file, --input-column and --concurrency to every scrape-style command and dispatch into the batch pipeline when --input-file is present. - createTargetAction detects batch mode, rejects --input-file combined with a positional input, and otherwise runs each input through the same body builder + SDK call with bounded concurrency. - Primary positional args are now optional so the input can come from the file instead; a genuinely missing input raises a CliUsageError. - Binary targets (screenshot) write one file per item and require -o <dir>; non-binary targets stream ndjson or write per-item JSON files. Integration tests cover flag exposure and the usage-error paths; the orchestrator is unit-tested end to end without network calls. Depends on A6.2 + A6.3 (SCR-3181). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Superseded by #27 (rebranched to drop internal ids). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last of four stacked PRs for A6 — batch input (SCR-3092). Ties the previous layers into the actual commands.
--input-file,--input-column,--concurrencyto every scrape-style command (scrape, search, screenshot, and all codegen targets).createTargetActiondetects batch mode, rejects--input-filecombined with a positional input, and otherwise runs each input through the same body builder + SDK call with bounded concurrency.CliUsageError.-o <dir>; non-binary targets stream ndjson by default or write per-item JSON files when-o <dir>is given.Integration tests cover flag exposure and the usage-error paths; the orchestrator is unit-tested end to end without network calls.
Stack: A6.1 (#20) → A6.2 (#21) → A6.3 (#22) → A6.4 (this)
Closes SCR-3181.
🤖 Generated with Claude Code