Skip to content

Show the commits of a Lando landing job while waiting for the push. - #9732

Open
fqueze wants to merge 1 commit into
mozilla:masterfrom
fqueze:lando-push-display
Open

Show the commits of a Lando landing job while waiting for the push.#9732
fqueze wants to merge 1 commit into
mozilla:masterfrom
fqueze:lando-push-display

Conversation

@fqueze

@fqueze fqueze commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Since mozilla-conduit/lando#1100, the newer Lando instances return the requester, the submission date and the commits of a landing job, so display them with the layout of a real push instead of a one line "Waiting for push with lando commit ID" message.

The commit rows reuse RevisionList, with a new hideCommitSha option as the commits have no hash to show or link to until they have landed.

Instances that don't return commits (and failed requests) still get the previous message; nothing is displayed until the landing job has been fetched, to avoid flashing that message on load.

Before:
Screenshot 2026-07-28 at 19-58-07 0 try

After:
Screenshot 2026-07-28 at 22-20-45 0 try

@fqueze
fqueze force-pushed the lando-push-display branch from cce37ff to bd21add Compare July 28, 2026 20:18
@fqueze
fqueze requested a review from camd July 28, 2026 20:19
The newer Lando instances return the requester, the submission date and the
commits of a landing job, so display them with the layout of a real push
instead of a one line "Waiting for push with lando commit ID" message.

The commit rows reuse RevisionList, with a new hideCommitSha option as the
commits have no hash to show or link to until they have landed.

Instances that don't return commits (and failed requests) still get the
previous message; nothing is displayed until the landing job has been
fetched, to avoid flashing that message on load.
@fqueze
fqueze force-pushed the lando-push-display branch from bd21add to 584cdbc Compare July 28, 2026 20:55
@fqueze

fqueze commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Failed landing, before:
Screenshot 2026-07-28 at 22-56-08 0 try

after:
Screenshot 2026-07-28 at 22-56-14 0 try

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.

1 participant