orbi-cli 0.7.54__tar.gz → 0.7.55__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/PKG-INFO +1 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/pyproject.toml +4 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/__init__.py +1 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/amend_command.py +6 -6
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/answer.py +24 -24
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/base_ci_fix.py +14 -11
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/blocked_comment.py +2 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/blocked_scan.py +2 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/check_permission.py +6 -7
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/claim.py +49 -44
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/clarify.py +7 -6
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_commands.py +6 -6
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_status.py +9 -10
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/config.py +2 -2
- orbi_cli-0.7.55/src/orbi/delivery_labels.py +282 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/delivery_scene.py +16 -26
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/draft.py +8 -13
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/example_config.toml +6 -5
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/failure_report.py +18 -16
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/github.py +6 -10
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/human_review.py +3 -3
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/implementation_delivery.py +6 -10
- orbi_cli-0.7.55/src/orbi/labels.py +265 -0
- orbi_cli-0.7.55/src/orbi/labels.toml +113 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/merge_blocked.py +3 -3
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/merge_exec.py +2 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/merge_handoff.py +5 -5
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/milestone.py +20 -21
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/milestone_command.py +3 -3
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/notify.py +9 -9
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/notify_text.py +19 -20
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/ops_delivery.py +2 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pilot_setup.py +5 -5
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/question.py +4 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/recoverable_failure.py +2 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release.py +3 -3
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_closeout.py +5 -4
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_notes.py +2 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_run.py +5 -10
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/repo_config.py +6 -7
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/requeue.py +4 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/restart_scan.py +6 -8
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/resume_scan.py +13 -12
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/resume_verification.py +9 -14
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/review_merge.py +14 -25
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/review_rounds.py +4 -4
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/runner.py +35 -58
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/runner_health.py +20 -20
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/setup_config.py +15 -111
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/split_apply.py +5 -10
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/split_command.py +6 -4
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/status_observe.py +10 -13
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/stop_comment.py +5 -3
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/stopped_scans.py +12 -12
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/suggest.py +4 -6
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi_cli.egg-info/PKG-INFO +1 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi_cli.egg-info/SOURCES.txt +3 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_delivery.py +6 -5
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_main.py +3 -2
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_milestone.py +2 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_tickets.py +5 -4
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_packaging.py +49 -44
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_delivery_labels.py +5 -3
- orbi_cli-0.7.55/tests/test_labels.py +484 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pilot_setup.py +65 -47
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_run_id_e2e.py +2 -1
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_setup_output_golden.py +8 -6
- orbi_cli-0.7.54/src/orbi/delivery_labels.py +0 -267
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/LICENSE +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/README.md +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/docs/licenses/sustainable-use-license.md +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/setup.cfg +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/acceptance_section.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/base_ci_red.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/blocked_record.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/body_steering.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/branch_reclaim.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/checks.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/claim_race.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/clarify_proposal.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/clarify_stop.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_doctor.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_parser.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/cli_ticket_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/command_line.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/comment_kind.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/comment_rest_id.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/comment_trust.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/config_hint.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/delivery_comment.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/delivery_push.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/draft_cli.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/draft_document.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/draft_marker.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/draft_validate.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/engine_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/extensions/clarify_verdict.ts +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/extensions/draft_tools.ts +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/failure.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/failure_evidence.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/gh_response.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/git_identity.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/git_transport.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/github_feedback.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/gitops.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/journal.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/language.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/language_failure.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/language_terms.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/language_terms_criteria.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/language_terms_fix.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/launchd_deploy.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/merge_gate.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/milestone_errors.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_activity.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_exec.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_idle.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_process.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_recovery.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_session.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pi_stream_log.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pilot_slots.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/plan_milestone.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pr_head_sync.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/pr_verification.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/progress.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/progress_display.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/progress_outcome.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/progress_summary.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/provider_balance.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_comments.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_declaration.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/release_git.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/review_ci_status.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/review_verdict.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/review_wait.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/run_fields.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/run_state.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/runner_marker.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/runner_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/scene.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/scheduler.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/scheduler_units.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/session_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/setup_checks.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/source_pool.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/steering.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/systemd_deploy.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/terminal_stops.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/tick_reads.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/ticket_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/ticket_command_registry.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/ticket_criteria.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/user_summary.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/waiting_checks.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi/worktree_retention.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi_cli.egg-info/entry_points.txt +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/src/orbi_cli.egg-info/top_level.txt +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_agents_md.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_amend_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_answer.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_apply_label_patch.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_base_branch_failure.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_base_ci_red.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_blocked_comment.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_body_steering.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_adapters.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_pi.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_preflight.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_release.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_claim_resume.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_failure_report.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_outcome.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_prompt.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_reconcile.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_bootstrap_runner_session.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_branch_reclaim.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_check_permission.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_ci_macos_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_ci_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_claim_race.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_clarify.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_claude_plugin.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_golden.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_install.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_milestone.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_cli_ticket_commands.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_command_receipt_contract.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_comment_identity.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_comment_readers_contract.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_comment_rest_id.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_comment_trust.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_concurrency_e2e.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_constitution.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_coverage_gate.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_deliver_pr_fakes.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_delivery_branch_delete.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_delivery_scene.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docker_docs.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docker_entrypoint.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docker_image_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_i18n.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_issue_shapes.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_labels.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_mermaid.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_releases.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_safety_matrix.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_single_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_docs_site.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_draft.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_draft_repo_view.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_draft_validate.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_engine_source.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_failure.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_failure_report.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_fix_needed_loop.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_gh_read_retry.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_gh_response.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_git_base_smoke.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_git_merge_smoke.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_git_network_retry.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_git_transport.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_github.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_github_fakes.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_gitops.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_gitops_fakes.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_human_review.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_import_graph.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_install_sh.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_issue_1367.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_issue_461.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_issue_template_config.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_journal.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_journal_events.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_launchd_deploy.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_license.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_merge_exec_extraction.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_message_language.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_milestone_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_notify.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_ops_e2e.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_orbi.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_orbi_dashboard.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_orbi_exporter.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_patch_ratchet.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_activity.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_child_reap.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_exec.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_extensions.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_provider_templates.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_recovery.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pi_session.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pilot_slots.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pr_issue_link_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_pr_verification.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_prerequisite_check.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_progress.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_progress_wiring.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_prompt_contract.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_public_contracts.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_public_helpers.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_publish_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_question.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_question_resume.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_release_docs_workflow.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_release_extraction.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_release_ticket_templates.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_repo_config.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_resume_continue_e2e.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_resume_e2e.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_resume_other_executor.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_resume_pr.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_review_merge.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_review_verdict.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_review_waiting.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_run_artifacts.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_run_fields.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_run_id_fixture.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_runner_config.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_runner_health.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_runner_source_freshness.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_scene.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_scheduler.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_seam.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_size_ratchet.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_split_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_src_layout.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_status_observe.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_steering_review.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_suggest.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_suggest_repo_view.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_suite_hygiene.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_systemd_deploy.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_systemd_timer.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_tick_reads.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_ticket_command.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_ticket_command_registration.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_user_acceptance_contract.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_user_summary.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_versioned_comment_block.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_waiting_checks.py +0 -0
- {orbi_cli-0.7.54 → orbi_cli-0.7.55}/tests/test_worktree_reclaim.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orbi-cli
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.55
|
|
4
4
|
Summary: Orbi — local AI development worker: claims GitHub Issues, runs Pi in isolated worktrees, and delivers PRs (GitHub Issues + labels are the only state store).
|
|
5
5
|
Author: xqliu
|
|
6
6
|
License-Expression: AGPL-3.0-only OR LicenseRef-Sustainable-Use-1.0
|
|
@@ -44,7 +44,7 @@ build-backend = "setuptools.build_meta"
|
|
|
44
44
|
|
|
45
45
|
[project]
|
|
46
46
|
name = "orbi-cli"
|
|
47
|
-
version = "0.7.
|
|
47
|
+
version = "0.7.55"
|
|
48
48
|
description = "Orbi — local AI development worker: claims GitHub Issues, runs Pi in isolated worktrees, and delivers PRs (GitHub Issues + labels are the only state store)."
|
|
49
49
|
readme = "README.md"
|
|
50
50
|
requires-python = ">=3.14"
|
|
@@ -78,7 +78,9 @@ where = ["src"]
|
|
|
78
78
|
# Issue #1955: the clarification gate's Pi extension ships with the engine
|
|
79
79
|
# — the gate passes this file to pi --extension, so a wheel install must
|
|
80
80
|
# carry it exactly like the example config (Issue #163).
|
|
81
|
-
|
|
81
|
+
# Issue #2347: labels.toml is the single source of the platform label
|
|
82
|
+
# names the engine reads at start, so the wheel must carry it too.
|
|
83
|
+
orbi = ["example_config.toml", "labels.toml", "extensions/*.ts"]
|
|
82
84
|
|
|
83
85
|
# The contract test command (`python3 -m coverage run --branch -m pytest
|
|
84
86
|
# tests/ -q`) runs WITHOUT installing the package: pytest puts `src/` on
|
|
@@ -53,9 +53,8 @@ from orbi.acceptance_section import (
|
|
|
53
53
|
render_acceptance,
|
|
54
54
|
write_body,
|
|
55
55
|
)
|
|
56
|
-
from orbi.delivery_labels import
|
|
57
|
-
|
|
58
|
-
)
|
|
56
|
+
from orbi.delivery_labels import has_delivery_state, label_names
|
|
57
|
+
from orbi import delivery_labels
|
|
59
58
|
from orbi.github import comment_issue, edit_issue, issue_view
|
|
60
59
|
from orbi.ticket_command import (
|
|
61
60
|
CommandSpec,
|
|
@@ -140,10 +139,11 @@ def _criteria_validate(
|
|
|
140
139
|
def _criteria_apply(
|
|
141
140
|
argument: str, *, repo: str, issue_number: int, command_comment: dict,
|
|
142
141
|
comments: list[dict], issue: dict, suggestion: object,
|
|
143
|
-
dispatch_label: str =
|
|
142
|
+
dispatch_label: str | None = None,
|
|
144
143
|
language_code: str = language.DEFAULT_LANGUAGE, **_context: object,
|
|
145
144
|
) -> None:
|
|
146
145
|
"""Do the four steps, in the order the ticket depends on."""
|
|
146
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
147
147
|
if not isinstance(suggestion, clarify.Suggestion):
|
|
148
148
|
raise TicketCommandError(
|
|
149
149
|
"append the criteria",
|
|
@@ -193,8 +193,8 @@ def _criteria_apply(
|
|
|
193
193
|
# the command again and finishes whatever is still missing. A failure
|
|
194
194
|
# here is not wrapped in a step receipt — the append itself succeeded,
|
|
195
195
|
# and a "failed" receipt beside the success would read as a second run.
|
|
196
|
-
if NEEDS_DETAIL_LABEL in label_names(issue):
|
|
197
|
-
edit_issue(issue_number, repo=repo, remove=NEEDS_DETAIL_LABEL)
|
|
196
|
+
if delivery_labels.NEEDS_DETAIL_LABEL in label_names(issue):
|
|
197
|
+
edit_issue(issue_number, repo=repo, remove=delivery_labels.NEEDS_DETAIL_LABEL)
|
|
198
198
|
|
|
199
199
|
|
|
200
200
|
AMEND_COMMAND = CommandSpec(
|
|
@@ -70,14 +70,8 @@ from dataclasses import dataclass
|
|
|
70
70
|
from orbi import acceptance_section, language, question
|
|
71
71
|
from orbi.branch_reclaim import delete_merged_delivery_branch
|
|
72
72
|
from orbi.comment_trust import comment_is_trusted
|
|
73
|
-
from orbi.delivery_labels import
|
|
74
|
-
|
|
75
|
-
EVENT_FIX_NEEDED,
|
|
76
|
-
FIX_NEEDED_LABEL,
|
|
77
|
-
IN_PROGRESS_LABEL,
|
|
78
|
-
PR_OPENED_LABEL,
|
|
79
|
-
READY_LABEL,
|
|
80
|
-
)
|
|
73
|
+
from orbi.delivery_labels import EVENT_FIX_NEEDED
|
|
74
|
+
from orbi import delivery_labels
|
|
81
75
|
from orbi.github import (
|
|
82
76
|
apply_label_patch,
|
|
83
77
|
close_issue,
|
|
@@ -109,11 +103,14 @@ from orbi.ticket_command import (
|
|
|
109
103
|
# The stage is the label the ticket carries when the answer is read: the
|
|
110
104
|
# scan label of the stopped-ticket scans, or `ai-in-progress` for the
|
|
111
105
|
# steering poll. Nothing else is a stage an answer is read at.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
106
|
+
def stages() -> tuple[str, str, str, str]:
|
|
107
|
+
"""The four stop stages an answer can target (Issue #2221)."""
|
|
108
|
+
return (
|
|
109
|
+
delivery_labels.BLOCKED_LABEL,
|
|
110
|
+
delivery_labels.PR_OPENED_LABEL,
|
|
111
|
+
delivery_labels.FIX_NEEDED_LABEL,
|
|
112
|
+
delivery_labels.IN_PROGRESS_LABEL,
|
|
113
|
+
)
|
|
117
114
|
|
|
118
115
|
# The Issue fields the answer's one read needs.
|
|
119
116
|
ISSUE_FIELDS = "number,body,labels"
|
|
@@ -228,7 +225,7 @@ def decide(
|
|
|
228
225
|
answer whose `value` matches no option of the question is refused
|
|
229
226
|
here, before any write.
|
|
230
227
|
"""
|
|
231
|
-
if stage not in
|
|
228
|
+
if stage not in stages():
|
|
232
229
|
raise NotExecuted(language.text(
|
|
233
230
|
language_code, "answer.reason_no_stage", stage=stage or "-",
|
|
234
231
|
))
|
|
@@ -239,7 +236,7 @@ def decide(
|
|
|
239
236
|
answered=answer.question, asked=asked.id,
|
|
240
237
|
))
|
|
241
238
|
if answer.action == question.ANSWER_CANCEL:
|
|
242
|
-
if stage !=
|
|
239
|
+
if stage != delivery_labels.BLOCKED_LABEL:
|
|
243
240
|
raise NotExecuted(language.text(
|
|
244
241
|
language_code, "answer.reason_cancel_stage", stage=stage,
|
|
245
242
|
))
|
|
@@ -316,7 +313,7 @@ def _carried_out(
|
|
|
316
313
|
"""Refuse a close outside `ai-blocked`; everything else is taken."""
|
|
317
314
|
if action in (
|
|
318
315
|
question.ACTION_CLOSE_EXTERNAL_PR, question.ACTION_CLOSE_ALL,
|
|
319
|
-
) and stage !=
|
|
316
|
+
) and stage != delivery_labels.BLOCKED_LABEL:
|
|
320
317
|
raise NotExecuted(language.text(
|
|
321
318
|
language_code, "answer.reason_close_stage", stage=stage,
|
|
322
319
|
))
|
|
@@ -441,10 +438,11 @@ def _answer_apply(
|
|
|
441
438
|
argument: str, *, repo: str, issue_number: int, command_comment: dict,
|
|
442
439
|
comments: list[dict] | None = None, stop: object = None,
|
|
443
440
|
answer_problem: object = None,
|
|
444
|
-
answer_stage: object = None, dispatch_label: str =
|
|
441
|
+
answer_stage: object = None, dispatch_label: str | None = None,
|
|
445
442
|
language_code: str = language.DEFAULT_LANGUAGE, **_context: object,
|
|
446
443
|
) -> None:
|
|
447
444
|
"""Carry the answer out and post its ONE receipt (idempotent)."""
|
|
445
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
448
446
|
comments = list(comments or [])
|
|
449
447
|
receipt = _receipt_marker(command_comment)
|
|
450
448
|
if runner_receipt(comments, receipt):
|
|
@@ -568,7 +566,7 @@ def _amend(
|
|
|
568
566
|
lines = [language.text(
|
|
569
567
|
language_code, "answer.effect_amended", text=text,
|
|
570
568
|
)]
|
|
571
|
-
if stage ==
|
|
569
|
+
if stage == delivery_labels.BLOCKED_LABEL:
|
|
572
570
|
# A blocked Issue is not moved by the label event alone (a terminal
|
|
573
571
|
# label wins over `fix_needed`), so the two labels are swapped
|
|
574
572
|
# directly: with an open PR the review/fix state resumes it, and a
|
|
@@ -579,11 +577,11 @@ def _amend(
|
|
|
579
577
|
None, task_branch(repo, issue_number), repo=repo,
|
|
580
578
|
),
|
|
581
579
|
)
|
|
582
|
-
target = FIX_NEEDED_LABEL if pull is not None else dispatch_label
|
|
580
|
+
target = delivery_labels.FIX_NEEDED_LABEL if pull is not None else dispatch_label
|
|
583
581
|
run_step(
|
|
584
582
|
"re-queue the ticket",
|
|
585
583
|
lambda: edit_issue(
|
|
586
|
-
issue_number, repo=repo, add=target, remove=BLOCKED_LABEL,
|
|
584
|
+
issue_number, repo=repo, add=target, remove=delivery_labels.BLOCKED_LABEL,
|
|
587
585
|
),
|
|
588
586
|
)
|
|
589
587
|
lines.append(language.text(
|
|
@@ -597,7 +595,7 @@ def _requeue(number: int, *, repo: str, dispatch_label: str) -> None:
|
|
|
597
595
|
run_step(
|
|
598
596
|
"re-queue the ticket",
|
|
599
597
|
lambda: edit_issue(
|
|
600
|
-
number, repo=repo, add=dispatch_label, remove=BLOCKED_LABEL,
|
|
598
|
+
number, repo=repo, add=dispatch_label, remove=delivery_labels.BLOCKED_LABEL,
|
|
601
599
|
),
|
|
602
600
|
)
|
|
603
601
|
|
|
@@ -777,7 +775,7 @@ def pending_change(
|
|
|
777
775
|
"""
|
|
778
776
|
decision = _pending(
|
|
779
777
|
issue_comments(number, repo=repo), repo=repo,
|
|
780
|
-
stage=
|
|
778
|
+
stage=delivery_labels.PR_OPENED_LABEL, language_code=language_code,
|
|
781
779
|
)
|
|
782
780
|
if decision is not None:
|
|
783
781
|
event(
|
|
@@ -820,13 +818,14 @@ def refuse_superseded_merge(
|
|
|
820
818
|
|
|
821
819
|
def stop_for_fix_round(
|
|
822
820
|
number: int, *, repo: str, pr_number: int, reason: str, marker: str,
|
|
823
|
-
language_code: str, ready_label: str =
|
|
821
|
+
language_code: str, ready_label: str | None = None,
|
|
824
822
|
) -> None:
|
|
825
823
|
"""Send the delivery to a fix round: the Issue comment, then the label.
|
|
826
824
|
|
|
827
825
|
The next tick's review session reads the amended ticket, which is why
|
|
828
826
|
the label (not a second comment) is the last step.
|
|
829
827
|
"""
|
|
828
|
+
ready_label = delivery_labels.queue_label(ready_label)
|
|
830
829
|
comment_issue(
|
|
831
830
|
number, repo=repo,
|
|
832
831
|
body=f"{marker}\n" + language.text(
|
|
@@ -881,7 +880,8 @@ def apply_steering(
|
|
|
881
880
|
)
|
|
882
881
|
return None
|
|
883
882
|
resolved = resolve_answers(
|
|
884
|
-
occurrences, stop,
|
|
883
|
+
occurrences, stop, delivery_labels.IN_PROGRESS_LABEL,
|
|
884
|
+
language_code=language_code,
|
|
885
885
|
)
|
|
886
886
|
amended: str | None = None
|
|
887
887
|
counting = len(resolved) - 1
|
|
@@ -29,9 +29,7 @@ from orbi.base_ci_red import (
|
|
|
29
29
|
edit_state, failing_checks, open_triage_issue, paused_scene, remind,
|
|
30
30
|
scene_receipt, triage_title,
|
|
31
31
|
)
|
|
32
|
-
from orbi
|
|
33
|
-
BLOCKED_LABEL, FIX_NEEDED_LABEL, P0_LABEL, READY_LABEL,
|
|
34
|
-
)
|
|
32
|
+
from orbi import delivery_labels
|
|
35
33
|
from orbi.github import (
|
|
36
34
|
branch_head_sha, comment_issue, commit_check_runs, edit_issue,
|
|
37
35
|
issue_comments, pr_view,
|
|
@@ -107,7 +105,7 @@ def _create_triage_issue(repo: str, checks: list[FailingCheck],
|
|
|
107
105
|
"--title", triage_title(record.base_branch),
|
|
108
106
|
"--body", _triage_body(checks, record, language_code),
|
|
109
107
|
"--label", dispatch_label,
|
|
110
|
-
"--label", P0_LABEL,
|
|
108
|
+
"--label", delivery_labels.P0_LABEL,
|
|
111
109
|
]
|
|
112
110
|
if milestone:
|
|
113
111
|
command += ["--milestone", milestone]
|
|
@@ -122,7 +120,7 @@ def _create_triage_issue(repo: str, checks: list[FailingCheck],
|
|
|
122
120
|
|
|
123
121
|
def open_fix_issues(
|
|
124
122
|
repo: str, issue_number: int, record: BaseCIRed, *,
|
|
125
|
-
milestone: str | None = None, dispatch_label: str =
|
|
123
|
+
milestone: str | None = None, dispatch_label: str | None = None,
|
|
126
124
|
language_code: str = language.DEFAULT_LANGUAGE,
|
|
127
125
|
) -> list[str]:
|
|
128
126
|
"""Open (or reuse) the ONE open fix Issue of this base branch.
|
|
@@ -143,6 +141,7 @@ def open_fix_issues(
|
|
|
143
141
|
empty evidence read returns the one "no evidence" sentence — no Issue
|
|
144
142
|
is invented for a check GitHub no longer reports.
|
|
145
143
|
"""
|
|
144
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
146
145
|
checks = _base_red_checks(repo, record)
|
|
147
146
|
if not checks:
|
|
148
147
|
return [language.text(
|
|
@@ -177,7 +176,7 @@ def open_fix_issues(
|
|
|
177
176
|
|
|
178
177
|
def ensure_fix_issues(
|
|
179
178
|
repo: str, issue_number: int, record: BaseCIRed, *,
|
|
180
|
-
milestone: str | None = None, dispatch_label: str =
|
|
179
|
+
milestone: str | None = None, dispatch_label: str | None = None,
|
|
181
180
|
language_code: str = language.DEFAULT_LANGUAGE,
|
|
182
181
|
) -> list[str] | None:
|
|
183
182
|
"""The engine-initiated run: the fix Issue, ONCE per scene.
|
|
@@ -194,6 +193,7 @@ def ensure_fix_issues(
|
|
|
194
193
|
comment renders the pre-#2203 repair text (`/orbi fix-base`) instead
|
|
195
194
|
of turning a recorded scene into an unreported one.
|
|
196
195
|
"""
|
|
196
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
197
197
|
try:
|
|
198
198
|
receipt = scene_receipt(record)
|
|
199
199
|
if runner_receipt(issue_comments(issue_number, repo=repo), receipt):
|
|
@@ -275,7 +275,7 @@ def _aged_out(comment: dict, now: datetime) -> bool:
|
|
|
275
275
|
|
|
276
276
|
def recover(repo: str, *, language_code: str,
|
|
277
277
|
milestone: str | None = None,
|
|
278
|
-
dispatch_label: str =
|
|
278
|
+
dispatch_label: str | None = None,
|
|
279
279
|
now: datetime | None = None) -> list[int]:
|
|
280
280
|
"""Advance every paused base-branch-red delivery once.
|
|
281
281
|
|
|
@@ -301,6 +301,7 @@ def recover(repo: str, *, language_code: str,
|
|
|
301
301
|
|
|
302
302
|
Returns the Issue numbers that were resumed.
|
|
303
303
|
"""
|
|
304
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
304
305
|
stamp = now or datetime.now(timezone.utc)
|
|
305
306
|
reads = blocked_scan.blocked_reads(repo)
|
|
306
307
|
resumed: list[int] = []
|
|
@@ -336,8 +337,8 @@ def recover(repo: str, *, language_code: str,
|
|
|
336
337
|
)
|
|
337
338
|
continue
|
|
338
339
|
if _base_is_green(repo, record, base_head):
|
|
339
|
-
edit_issue(number, repo=repo, add=FIX_NEEDED_LABEL,
|
|
340
|
-
remove=BLOCKED_LABEL)
|
|
340
|
+
edit_issue(number, repo=repo, add=delivery_labels.FIX_NEEDED_LABEL,
|
|
341
|
+
remove=delivery_labels.BLOCKED_LABEL)
|
|
341
342
|
edit_state(repo, number, comment, STATE_RESUMING,
|
|
342
343
|
language_code=language_code)
|
|
343
344
|
event(
|
|
@@ -361,7 +362,7 @@ def scene_comment(
|
|
|
361
362
|
repo: str, issue: dict, record: BaseCIRed, checks: list[FailingCheck],
|
|
362
363
|
*, failure_record: failure.Failure, language_code: str,
|
|
363
364
|
status_url: str | None = None, milestone: str | None = None,
|
|
364
|
-
dispatch_label: str =
|
|
365
|
+
dispatch_label: str | None = None,
|
|
365
366
|
) -> str:
|
|
366
367
|
"""The base-branch-red comment, with the fix Issue Orbi opened itself.
|
|
367
368
|
|
|
@@ -372,6 +373,7 @@ def scene_comment(
|
|
|
372
373
|
`ensure_fix_issues`), so the pause the delivery already decided still
|
|
373
374
|
reaches the reader, with the command's own repair offered instead.
|
|
374
375
|
"""
|
|
376
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
375
377
|
number = int(issue["number"])
|
|
376
378
|
return comment_body(
|
|
377
379
|
record, checks, failure_record=failure_record,
|
|
@@ -427,7 +429,7 @@ def _fix_base_validate(
|
|
|
427
429
|
def _fix_base_apply(
|
|
428
430
|
argument: str, *, repo: str, issue_number: int, command_comment: dict,
|
|
429
431
|
comments: list[dict], record: BaseCIRed | None = None,
|
|
430
|
-
milestone: str | None = None, dispatch_label: str =
|
|
432
|
+
milestone: str | None = None, dispatch_label: str | None = None,
|
|
431
433
|
language_code: str = language.DEFAULT_LANGUAGE,
|
|
432
434
|
**_context: object,
|
|
433
435
|
) -> None:
|
|
@@ -445,6 +447,7 @@ def _fix_base_apply(
|
|
|
445
447
|
record runs by itself (Issue #2203): a fix Issue the engine opened is
|
|
446
448
|
therefore reused here, and the reply says so.
|
|
447
449
|
"""
|
|
450
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
448
451
|
if not isinstance(record, BaseCIRed):
|
|
449
452
|
# The layer's contract: a handler that cannot run raises its own
|
|
450
453
|
# step error (never a bare TypeError) so the dispatcher posts the
|
|
@@ -8,5 +8,6 @@ re-export the `failure_evidence` split used (Issue #2202).
|
|
|
8
8
|
"""
|
|
9
9
|
from __future__ import annotations
|
|
10
10
|
|
|
11
|
-
from orbi.delivery_labels import EVENT_BLOCKED
|
|
11
|
+
from orbi.delivery_labels import EVENT_BLOCKED
|
|
12
|
+
from orbi import delivery_labels
|
|
12
13
|
from orbi.stop_comment import post_blocked_comment as post_blocked_comment
|
|
@@ -25,7 +25,7 @@ from __future__ import annotations
|
|
|
25
25
|
import dataclasses
|
|
26
26
|
|
|
27
27
|
from orbi import comment_trust, tick_reads
|
|
28
|
-
from orbi
|
|
28
|
+
from orbi import delivery_labels
|
|
29
29
|
from orbi.github import issue_comments, list_issues
|
|
30
30
|
|
|
31
31
|
# One bounded page per tick: `ai-blocked` Issues are few, and an unbounded
|
|
@@ -46,7 +46,7 @@ class BlockedReads:
|
|
|
46
46
|
"""Every open `ai-blocked` Issue, read once for the tick."""
|
|
47
47
|
if self._issues is None:
|
|
48
48
|
self._issues = list_issues(
|
|
49
|
-
self.repo, state="open", label=BLOCKED_LABEL,
|
|
49
|
+
self.repo, state="open", label=delivery_labels.BLOCKED_LABEL,
|
|
50
50
|
json_fields="number,title", limit=SCAN_LIMIT,
|
|
51
51
|
)
|
|
52
52
|
return self._issues
|
|
@@ -52,9 +52,7 @@ from orbi.comment_kind import (
|
|
|
52
52
|
parse_versioned_block,
|
|
53
53
|
)
|
|
54
54
|
from orbi.comment_rest_id import rest_comment_id
|
|
55
|
-
from orbi
|
|
56
|
-
BLOCKED_LABEL, FIX_NEEDED_LABEL, READY_LABEL,
|
|
57
|
-
)
|
|
55
|
+
from orbi import delivery_labels
|
|
58
56
|
from orbi.github import (
|
|
59
57
|
edit_issue, issue_labels, pr_number, run_gh_read_command,
|
|
60
58
|
update_issue_comment,
|
|
@@ -252,7 +250,7 @@ def block(issue_number: int, repo: str, pr_url: str, *, run_id: str,
|
|
|
252
250
|
installation_id: int | None, language_code: str,
|
|
253
251
|
issue_title: str | None = None,
|
|
254
252
|
status_url: str | None = None,
|
|
255
|
-
ready_label: str =
|
|
253
|
+
ready_label: str | None = None) -> CheckPermission:
|
|
256
254
|
"""Stop the delivery: ONE comment, then `ai-blocked`.
|
|
257
255
|
|
|
258
256
|
The comment lands through the shared blocked exit (label patch first,
|
|
@@ -260,6 +258,7 @@ def block(issue_number: int, repo: str, pr_url: str, *, run_id: str,
|
|
|
260
258
|
`ai-blocked` ALONE. Called only while the Issue is still resumable, so
|
|
261
259
|
exactly one comment is posted per stop.
|
|
262
260
|
"""
|
|
261
|
+
ready_label = delivery_labels.queue_label(ready_label)
|
|
263
262
|
record = CheckPermission(pr=pr_number(pr_url))
|
|
264
263
|
body = comment_body(
|
|
265
264
|
record, url=approval_url(repo, installation_id=installation_id),
|
|
@@ -297,7 +296,7 @@ def read_rollup(pr_url: str, repo: str, issue: dict, config,
|
|
|
297
296
|
installation_id=config.installation_id,
|
|
298
297
|
language_code=language.of(config),
|
|
299
298
|
issue_title=issue.get("title"), status_url=config.status_url,
|
|
300
|
-
ready_label=config.dispatch_label
|
|
299
|
+
ready_label=delivery_labels.queue_label(config.dispatch_label),
|
|
301
300
|
)
|
|
302
301
|
return None, []
|
|
303
302
|
|
|
@@ -420,8 +419,8 @@ def recover(repo: str) -> list[int]:
|
|
|
420
419
|
number, record.pr, repo,
|
|
421
420
|
)
|
|
422
421
|
continue
|
|
423
|
-
edit_issue(number, repo=repo, add=FIX_NEEDED_LABEL,
|
|
424
|
-
remove=BLOCKED_LABEL)
|
|
422
|
+
edit_issue(number, repo=repo, add=delivery_labels.FIX_NEEDED_LABEL,
|
|
423
|
+
remove=delivery_labels.BLOCKED_LABEL)
|
|
425
424
|
_edit_state(repo, number, comment, record)
|
|
426
425
|
event(
|
|
427
426
|
"checks_permission_recovered", issue=number, pr=record.pr,
|
|
@@ -17,11 +17,8 @@ from pathlib import Path
|
|
|
17
17
|
from orbi import base_ci_fix, check_permission, gitops, stopped_scans
|
|
18
18
|
from orbi import milestone as milestone_bookkeeping
|
|
19
19
|
from orbi.config import RunnerConfig
|
|
20
|
-
from orbi.delivery_labels import
|
|
21
|
-
|
|
22
|
-
FIX_NEEDED_LABEL, IN_PROGRESS_LABEL, MERGED_LABEL,
|
|
23
|
-
P0_LABEL, PR_OPENED_LABEL, READY_LABEL, RELEASE_LABEL, label_name_set,
|
|
24
|
-
)
|
|
20
|
+
from orbi.delivery_labels import label_name_set
|
|
21
|
+
from orbi import delivery_labels
|
|
25
22
|
from orbi.delivery_scene import (
|
|
26
23
|
EXTERNAL_PR_MARKER, body_markers, classify,
|
|
27
24
|
)
|
|
@@ -69,15 +66,19 @@ from orbi.repo_config import (
|
|
|
69
66
|
# it returns the NEWEST-created Issue first, and `_pick_from_scan`
|
|
70
67
|
# claims the first claimable one: newer tickets then overtook Issues
|
|
71
68
|
# that had waited hours in a busy queue.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
def ready_scan_qualifiers() -> str:
|
|
70
|
+
"""The one shared qualifier string: the delivery-state exclusions."""
|
|
71
|
+
return (
|
|
72
|
+
f"-label:{delivery_labels.IN_PROGRESS_LABEL} "
|
|
73
|
+
f"-label:{delivery_labels.PR_OPENED_LABEL} "
|
|
74
|
+
f"-label:{delivery_labels.FIX_NEEDED_LABEL} "
|
|
75
|
+
f"-label:{delivery_labels.MERGED_LABEL} "
|
|
76
|
+
f"-label:{delivery_labels.BLOCKED_LABEL} sort:created-asc"
|
|
77
|
+
)
|
|
77
78
|
|
|
78
79
|
|
|
79
80
|
def ready_searches(active_milestone: str | None = None,
|
|
80
|
-
dispatch_label: str =
|
|
81
|
+
dispatch_label: str | None = None) -> tuple[str, str, str]:
|
|
81
82
|
"""Return the three ready scans (p0, bug, plain) in pickup order.
|
|
82
83
|
|
|
83
84
|
With a configured `active_milestone` every scan
|
|
@@ -101,21 +102,23 @@ def ready_searches(active_milestone: str | None = None,
|
|
|
101
102
|
order the maintainer queued it. The order BETWEEN the scans is
|
|
102
103
|
unchanged (p0, then bug, then plain).
|
|
103
104
|
"""
|
|
105
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
104
106
|
scope = (
|
|
105
107
|
f' milestone:"{active_milestone}"' if active_milestone else ""
|
|
106
108
|
)
|
|
107
|
-
# The
|
|
108
|
-
# labels (
|
|
109
|
-
label = dispatch_label
|
|
109
|
+
# The queue label is a delivery-policy key; every other role comes
|
|
110
|
+
# from labels.toml (Issue #2347).
|
|
111
|
+
label = delivery_labels.queue_label(dispatch_label)
|
|
110
112
|
return (
|
|
111
|
-
f"label:{label} label:{P0_LABEL}{scope} {
|
|
112
|
-
f"label:{label} label:
|
|
113
|
-
f"
|
|
113
|
+
f"label:{label} label:{delivery_labels.P0_LABEL}{scope} {ready_scan_qualifiers()}",
|
|
114
|
+
f"label:{label} label:{delivery_labels.BUG_LABEL}{scope} "
|
|
115
|
+
f"{ready_scan_qualifiers()}",
|
|
116
|
+
f"label:{label}{scope} {ready_scan_qualifiers()}",
|
|
114
117
|
)
|
|
115
118
|
|
|
116
119
|
|
|
117
120
|
def release_fallback_search(active_milestone: str | None = None,
|
|
118
|
-
dispatch_label: str =
|
|
121
|
+
dispatch_label: str | None = None) -> str:
|
|
119
122
|
"""Return the release fallback scan query.
|
|
120
123
|
|
|
121
124
|
A Release task is a closing action and must never compete with an
|
|
@@ -130,17 +133,18 @@ def release_fallback_search(active_milestone: str | None = None,
|
|
|
130
133
|
contract, same as `ready_searches`). `ai-epic` is excluded by the
|
|
131
134
|
code-layer Epic guard in `_pick_from_scan`, not the query.
|
|
132
135
|
"""
|
|
136
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
133
137
|
scope = (
|
|
134
138
|
f' milestone:"{active_milestone}"' if active_milestone else ""
|
|
135
139
|
)
|
|
136
|
-
label = dispatch_label
|
|
140
|
+
label = delivery_labels.queue_label(dispatch_label)
|
|
137
141
|
return (
|
|
138
|
-
f"label:{label} label:{RELEASE_LABEL}{scope} "
|
|
139
|
-
f"{
|
|
142
|
+
f"label:{label} label:{delivery_labels.RELEASE_LABEL}{scope} "
|
|
143
|
+
f"{ready_scan_qualifiers()}"
|
|
140
144
|
)
|
|
141
145
|
|
|
142
146
|
|
|
143
|
-
def external_takeover_search(dispatch_label: str =
|
|
147
|
+
def external_takeover_search(dispatch_label: str | None = None) -> str:
|
|
144
148
|
"""Return the external-takeover scan query (Issue #842, decision D1).
|
|
145
149
|
|
|
146
150
|
The FIFTH and last ready scan: it runs only after the three
|
|
@@ -161,10 +165,11 @@ def external_takeover_search(dispatch_label: str = READY_LABEL) -> str:
|
|
|
161
165
|
other scan. The candidate order is the ready queue's own: oldest
|
|
162
166
|
Issue first (`READY_SCAN_QUALIFIERS`, Issue #1914).
|
|
163
167
|
"""
|
|
164
|
-
|
|
168
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
169
|
+
label = delivery_labels.queue_label(dispatch_label)
|
|
165
170
|
return (
|
|
166
171
|
f'label:{label} "orbi:external-pr" in:body '
|
|
167
|
-
f"{
|
|
172
|
+
f"{ready_scan_qualifiers()}"
|
|
168
173
|
)
|
|
169
174
|
|
|
170
175
|
|
|
@@ -177,7 +182,7 @@ def is_epic(issue: dict) -> bool:
|
|
|
177
182
|
the scan always requests `labels`, so a shape change only loses
|
|
178
183
|
the Epic guard for one run — it must never deadlock the queue.
|
|
179
184
|
"""
|
|
180
|
-
return EPIC_LABEL in label_name_set(issue)
|
|
185
|
+
return delivery_labels.EPIC_LABEL in label_name_set(issue)
|
|
181
186
|
|
|
182
187
|
|
|
183
188
|
def is_release(issue: dict) -> bool:
|
|
@@ -190,13 +195,13 @@ def is_release(issue: dict) -> bool:
|
|
|
190
195
|
shape change only loses the release routing for one run — it must
|
|
191
196
|
never deadlock the queue.
|
|
192
197
|
"""
|
|
193
|
-
return RELEASE_LABEL in label_name_set(issue)
|
|
198
|
+
return delivery_labels.RELEASE_LABEL in label_name_set(issue)
|
|
194
199
|
|
|
195
200
|
|
|
196
201
|
def reconcile_open_epics(repo: str, run_id: str, language_code: str) -> list[str]:
|
|
197
202
|
"""Sweep open Epics once per tick; ordinary pickup must not depend on it."""
|
|
198
203
|
epics = list_issues(
|
|
199
|
-
repo, state="open", search=f"label:{EPIC_LABEL}",
|
|
204
|
+
repo, state="open", search=f"label:{delivery_labels.EPIC_LABEL}",
|
|
200
205
|
json_fields="number,body,labels", limit=200,
|
|
201
206
|
)
|
|
202
207
|
evidence: list[str] = []
|
|
@@ -312,21 +317,20 @@ def reconcile_orphan_prs(
|
|
|
312
317
|
def _pick_from_scan(
|
|
313
318
|
issues: list[dict], repo: str, allow_release: bool = False,
|
|
314
319
|
active_milestone: str | None = None,
|
|
315
|
-
ready_label: str =
|
|
320
|
+
ready_label: str | None = None,
|
|
316
321
|
external_only: bool = False, held: frozenset = frozenset(),
|
|
317
322
|
raise_on_read_failure: bool = False,
|
|
318
323
|
) -> dict | None:
|
|
319
324
|
"""Return the first claimable Issue of one scan result, else None.
|
|
320
325
|
|
|
321
326
|
The per-Issue guards, shared by the three ordinary ready scans and
|
|
322
|
-
the release fallback scan. An
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
for urgent Issues, `normal` otherwise.
|
|
327
|
+
the release fallback scan. An Epic Issue is never claimed — no label
|
|
328
|
+
change, no worktree, no run, no slot — with the structured
|
|
329
|
+
`epic_not_claimed` line (the check precedes the blockedBy check: "it
|
|
330
|
+
is an Epic" is the more fundamental reason). An Issue with open native
|
|
331
|
+
blockers is skipped with the structured `blocked_by` line. Otherwise
|
|
332
|
+
the Issue is picked and the pickup log carries the explicit priority
|
|
333
|
+
field: `p0` for urgent Issues, `normal` otherwise.
|
|
330
334
|
|
|
331
335
|
`allow_release` controls the release skip: the three
|
|
332
336
|
ordinary scans skip an `ai-release` Issue (`release_not_claimed`) so
|
|
@@ -369,6 +373,7 @@ def _pick_from_scan(
|
|
|
369
373
|
(`orbi status`) re-raises so the failed read is named instead of
|
|
370
374
|
rendering as an empty queue (Issue #1782).
|
|
371
375
|
"""
|
|
376
|
+
ready_label = delivery_labels.queue_label(ready_label)
|
|
372
377
|
for issue in issues:
|
|
373
378
|
if (repo, int(issue["number"])) in held:
|
|
374
379
|
event("claim_yield", issue=issue.get("number"), reason="held_by_live_runner")
|
|
@@ -450,13 +455,13 @@ def _read_failed(
|
|
|
450
455
|
|
|
451
456
|
|
|
452
457
|
def pick_issue(repo: str, active_milestone: str | None = None,
|
|
453
|
-
dispatch_label: str =
|
|
458
|
+
dispatch_label: str | None = None,
|
|
454
459
|
held: frozenset = frozenset(),
|
|
455
460
|
timeout: int | None = None,
|
|
456
461
|
raise_on_read_failure: bool = False) -> dict | None:
|
|
457
|
-
|
|
458
|
-
#
|
|
459
|
-
# the
|
|
462
|
+
dispatch_label = delivery_labels.queue_label(dispatch_label)
|
|
463
|
+
# A merged delivery keeps the merged label on the (still open) Issue,
|
|
464
|
+
# the success terminal state, so the ready scan excludes it.
|
|
460
465
|
# The scan fetches the ready queue (not just the first Issue) and
|
|
461
466
|
# reads the native GitHub dependency per Issue: an
|
|
462
467
|
# Issue with open blockers is skipped — no claim, no label change,
|
|
@@ -806,7 +811,7 @@ def _repo_scan_context(
|
|
|
806
811
|
returned from the same read instead of reading the file twice.
|
|
807
812
|
"""
|
|
808
813
|
if config is None:
|
|
809
|
-
return active_milestone,
|
|
814
|
+
return active_milestone, delivery_labels.queue_label(), None
|
|
810
815
|
try:
|
|
811
816
|
policy = load_repo_policy(config, repo)
|
|
812
817
|
except RepoConfigError as exc:
|
|
@@ -816,12 +821,12 @@ def _repo_scan_context(
|
|
|
816
821
|
)
|
|
817
822
|
policy = None
|
|
818
823
|
if policy is None:
|
|
819
|
-
return active_milestone,
|
|
824
|
+
return active_milestone, delivery_labels.queue_label(), None
|
|
820
825
|
return (
|
|
821
826
|
policy.active_milestone
|
|
822
827
|
if policy.active_milestone is not None
|
|
823
828
|
else active_milestone,
|
|
824
|
-
policy.dispatch_label or
|
|
829
|
+
delivery_labels.queue_label(policy.dispatch_label or getattr(config, 'dispatch_label', None)),
|
|
825
830
|
policy,
|
|
826
831
|
)
|
|
827
832
|
|
|
@@ -880,7 +885,7 @@ def pick_ready_issue(
|
|
|
880
885
|
milestone, dispatch_label = _repo_scan_keys(
|
|
881
886
|
config, repo, active_milestone,
|
|
882
887
|
)
|
|
883
|
-
if dispatch_label ==
|
|
888
|
+
if dispatch_label == delivery_labels.queue_label():
|
|
884
889
|
return pick_issue(
|
|
885
890
|
repo, milestone, held=held, timeout=timeout,
|
|
886
891
|
raise_on_read_failure=raise_on_read_failure,
|