fix(robomp): align needs-info prompt guidance

This commit is contained in:
oldschoola
2026-06-15 18:36:57 -07:00
parent b945f54962
commit abd5e71d06
5 changed files with 27 additions and 6 deletions
+21
View File
@@ -183,6 +183,16 @@ def test_review_completion_reminder_mentions_submit_only() -> None:
assert "gh_open_pr" not in out
def test_completion_reminder_limits_mark_unable_to_reporter_details() -> None:
out = persona.completion_reminder(
repo=_Repo(),
issue=_Issue(),
workspace=_Workspace(),
)
assert "reporter-provided reproduction details" in out
assert "maintainer input" not in out
def test_system_append_renders_configured_bot_login() -> None:
out = persona.system_append(
repo=_Repo(),
@@ -196,6 +206,17 @@ def test_system_append_renders_configured_bot_login() -> None:
assert "**robomp**" not in out
def test_system_append_routes_push_refusal_to_maintainer_comment_only() -> None:
out = persona.system_append(
repo=_Repo(),
issue=_Issue(),
workspace=_Workspace(),
bot_login="Svitter",
)
assert "Push refused for reasons you cannot resolve? Ask the maintainer via `gh_post_comment`." in out
assert "or use `mark_unable_to_reproduce`" not in out
def test_system_append_pr_review_renders_configured_bot_login() -> None:
out = persona.system_append_pr_review(
repo=_Repo(),