Page MenuHomePhabricator

Fix two straggling pagination issues in Drydock
ClosedPublic

Authored by epriestley on May 23 2019, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 9:24 PM
Unknown Object (File)
Sat, Nov 16, 10:29 PM
Unknown Object (File)
Oct 18 2024, 11:39 AM
Unknown Object (File)
Oct 16 2024, 12:40 PM
Unknown Object (File)
Oct 9 2024, 12:22 PM
Unknown Object (File)
Oct 9 2024, 12:22 PM
Unknown Object (File)
Oct 9 2024, 12:22 PM
Unknown Object (File)
Oct 7 2024, 9:51 PM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13289. See https://discourse.phabricator-community.org/t/fatal-error-in-pagination-in-drydock-resources-host-logs-all-logs/2735.

bin/drydock lease and the web UI for reviewing all object logs when there is more than one page of logs didn't get fully updated to the new cursors.

  • Use a cursor pager in bin/drydock lease.
  • Implement withIDs() in LeaseQuery so the default paging works properly.
Test Plan
  • Ran bin/drydock lease, got a lease with log output along the way.
  • Set page size to 2, viewed host logs with multiple pages, paged to page 2.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable