Skip to content

Add Lando revision link to uplift request needinfo comments#2847

Draft
Copilot wants to merge 7 commits intomasterfrom
copilot/add-lando-revision-link-to-comments
Draft

Add Lando revision link to uplift request needinfo comments#2847
Copilot wants to merge 7 commits intomasterfrom
copilot/add-lando-revision-link-to-comments

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

  • Add PHAB_FILE_NAME_PAT regex to parse revision ID from phabricator-D{id}-url.txt
  • Replace get_lando_urls (list) with get_lando_url returning a single optional URL only when exactly one non-obsolete phab revision is attached
  • Construct Lando URL as https://lando.moz.tools/D{id} from parsed revision ID
  • Revert unrelated changes: restore bug.get("assigned_to", ""), bug.get("flags", []), bug.get("attachments", [])
  • Update template to use lando_url (singular, optional) instead of iterating lando_urls

Copilot AI and others added 2 commits April 2, 2026 13:59
Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/c14d247a-c967-4d1d-95ed-ce273490a637

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/c14d247a-c967-4d1d-95ed-ce273490a637

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Lando revision link in uplift request comments Add Lando revision link to uplift request needinfo comments Apr 2, 2026
Copilot AI requested a review from suhaibmujahid April 2, 2026 14:01
Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/4d972f29-57cb-43ea-beec-05b7e74f8a71

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/6c9252ff-60c8-4fc0-9f88-493eb4ce5f8d

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/3c84e194-c5c3-459e-9e92-eee81fffbbbb

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
…e for revision ID, revert unrelated changes

Agent-Logs-Url: https://github.com/mozilla/bugbot/sessions/4d1e6c05-c128-4976-8395-0591f76dc248

Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make uplift request comments link to the appropriate lando revision directly

2 participants