Closed Bug 2029072 Opened 7 months ago Closed 6 months ago

Using `moz-phab uplift --assessment-id` shouldn't require extra browser clicks

Categories

(Conduit :: moz-phab, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

References

(Blocks 1 open bug)

Details

Attachments

(2 external files)

Currently when passing moz-phab uplift --assessment-id, we use the assessment ID only to build a URL which we print out and request the user visit. Once on the page, the user must "save" their assessment form, which is confusing and requires extra developer interaction.

Now that bug 2013374 has landed, we should be able to use moz-phab's Phabricator API token to authenticate with Lando and link the assessment form to the newly created revision - no extra clicks or interaction required.

Depends on: 2029826

Use the new uplift assessment linking API endpoint to
link newly created revisions to assessments when the
--assessment-id argument is used. The assessment
ID was previously used to print a URL for the user
to visit. We now only build that URL when --assessment-id
was not used, or when the API-based linking fails.

Authored by https://github.com/cgsheeh
https://github.com/mozilla-conduit/lando/commit/a75881f6a498aea2f88bac9d4e66cd1fcb8a13e9
[main] uplift: add API endpoint to link revisions to assessments (Bug 2029072) r=shtrom,zeid

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED

Authored by https://github.com/cgsheeh
https://github.com/mozilla-conduit/review/commit/c27560f6667f0cff469922d728e8054960242a16
[main] uplift: use Lando's Phab API key auth to link assessment (Bug 2029072) r=shtrom,zeid

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: