Open Bug 1953269 Opened 5 days ago Updated 3 days ago

KeyError when viewing a stack with more than 100 diffs

Categories

(Conduit :: Lando, defect, P3)

Tracking

(Not tracked)

People

(Reporter: zeid, Unassigned)

References

Details

(Keywords: regression)

When viewing a stack that has more than 100 diffs in total associated with all the revisions in the stack, Lando can not load the page and instead returns a server error. This is because Phabricator only returns the first 100 diffs, potentially omitting the latest diffs from the results.

For example, if a stack has 11 revisions, and each revision has 10 diffs in its history, this issue will arise. This appears to be a regression of https://github.com/mozilla-conduit/lando-api/pull/438 (no bug).

A workaround is to split the stack in such a way that no one stack has more than 100 diffs, and land each stack separately.

Keywords: regression
Summary: Server error (KeyError) when viewing a particular stack on Lando → KeyError when viewing a stack with more than 100 diffs
Severity: -- → S3
Priority: -- → P3
Depends on: 1953929
No longer depends on: 1953929
See Also: → 1953929
You need to log in before you can comment on or make changes to this bug.