fix(e2e): drop duplicate _ATTRIBUTION_RE from cherry-pick

The reviewer-misc pick re-added _ATTRIBUTION_RE next to _latest_attribution,
but the constant was already defined at module top (line 57, alongside
_PLAN_URL_RE) via the earlier #81 sync. Remove the redundant redefinition;
_latest_attribution resolves the surviving top-level constant.
This commit is contained in:
Adam Moussa 2026-07-08 17:17:20 -04:00
parent a29d387ac5
commit 9fd5d7b212
No known key found for this signature in database

View file

@ -256,7 +256,6 @@ def _plan_complete_step(messages: list[BaseMessage]) -> AIMessage:
FOLLOW_UP_REPLY = "Thanks! The PR is ready for review — anything else you'd like changed?" FOLLOW_UP_REPLY = "Thanks! The PR is ready for review — anything else you'd like changed?"
_ATTRIBUTION_RE = re.compile(r"@([A-Za-z0-9-]+):")
def _latest_attribution(messages: list[BaseMessage]) -> str | None: def _latest_attribution(messages: list[BaseMessage]) -> str | None: