Open Bug 1973235 Opened 23 hours ago

Add validation for commits that do not exist in the system

Categories

(Conduit :: Lando, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: zeid, Unassigned)

References

(Depends on 1 open bug)

Details

Currently, if a commit hash is provided that does not exist in the pushlog (yet), a 404 is returned immediately. However, Lando has the ability to verify that a given git hash is valid (i.e., corresponds to an actual push) before it shows up in the legacy pushlog by checking the local (new) pushlog. A similar thing can be done for hg hashes by checking the corresponding hg repo for that commit.

This is mainly useful if a user is listening for updates on the GitHub repo, which may not yet have propagated to the legacy pushlog.

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