abc_ci_launcher.main¶
WARNING
This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.
abc_ci_launcher.main
¶
Command-line interface for abc-ci-launcher.
positive_int
¶
Parse a strictly positive integer for CLI arguments.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
add_common_config_args
¶
Register launcher config path arguments on a parser.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
add_batch_args
¶
Register attempt/node batch arguments shared by trigger subcommands.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
load_checked_config
¶
Load config and exit with user-facing errors if invalid.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
print_trigger_result
¶
print_trigger_result(request: TriggerRequest, result: dict, json_output: bool = False) -> None
Render trigger results in either text or JSON form.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
resolve_agent_list
¶
Resolve an agent pattern to a list of agent ids.
Glob patterns (e.g. example-*) are expanded against the available
agents from the abc-runner config. Non-glob patterns are validated as
exact agent ids, honouring force to skip confirmation.
Returns the list of agent ids, or None when validation failed.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
trigger_for_requests
¶
trigger_for_requests(config, requests: list[TriggerRequest], dry_run: bool = False, json_output: bool = False) -> int
Trigger pipelines for a list of requests and print consolidated results.
Returns 0 when every request succeeded, 1 otherwise.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
cmd_doctor
¶
Validate local launcher configuration and print a summary.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
cmd_trigger
¶
Validate CLI input and trigger a benchmark pipeline.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
cmd_trigger_group
¶
Validate CLI input and trigger a task-group benchmark pipeline.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
build_parser
¶
Construct the top-level argument parser.
Source code in abc-ci-launcher/src/abc_ci_launcher/main.py
main
¶
Run the abc-ci command-line entry point.