feat(notifications): direct BRD + Plane links in approve ping (ORCH-017) #37
Reference in New Issue
Block a user
Delete Branch "feature/ORCH-017-brd-plane-telegram"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
notify_approve_requestednow embeds two clickable HTML<a>links in the single notifying approve-gate Telegram message: a Gitea branch-view link to01-brd.mdand a Plane issue browser link.ORCH_PLANE_WEB_URL(external browser web URL of Plane; falls back toplane_api_url). Loopback-guard: if the resolved Plane web-base islocalhost/127.0.0.1/0.0.0.0/::1or empty, the Plane link is omitted (no broken localhost URLs in prod).send_telegramleft untouched (minimal blast radius for the self-hosting prod container). Dynamic labelshtml.escaped;parse_mode=HTMLpreserved. QG registry / stages /:approved:handler unchanged.Implements ADR
docs/work-items/ORCH-017/06-adr/ADR-001-telegram-approve-links.md.Docs (golden source, same PR)
CHANGELOG.md,.env.example(ORCH_PLANE_WEB_URL),docs/operations/INFRA.mdenv map.Test plan
tests/test_notify_approve_links.py— TC-01..TC-08tests/test_analysis_approve_flow_links.py— TC-10 integrationtest_telegram_tracker.py,test_notify_done_regression.pygreenpytest tests/ -q→ 434 passedresult:frontmatter key (ORCH-017)