1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/applications/drydock
epriestley f838ad1827 Fix two straggling pagination issues in Drydock
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.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13289

Differential Revision: https://secure.phabricator.com/D20553
2019-05-23 18:50:06 -07:00
..
application Add Drydock logs to the RepositoryOperation UI 2018-09-15 07:56:35 -07:00
blueprint Make the repository "Filesize Limit" and "Clone/Fetch Timeout" configurable in the UI 2018-11-28 14:34:00 -08:00
capability Give Drydock resources a proper expiry mechanism 2015-09-28 09:35:14 -07:00
conduit Expose Drydock leases via Conduit 2018-10-26 06:12:38 -07:00
constants Give Drydock Resources more modern status treatment 2018-02-13 13:16:46 -08:00
controller Replace the "Choose Subtype" radio buttons dialog with a simpler "big stuff you click" sort of UI 2018-12-10 14:59:18 -08:00
customfield Convert DrydockBlueprints to EditEngine 2016-03-03 15:21:25 -08:00
editor Allow "Change Subtype" to be selected from the comment action stack 2018-11-28 13:40:40 -08:00
exception Lock resources briefly while acquiring leases on them to prevent acquiring near-death resources 2018-02-13 13:22:13 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
interface Use "LogLevel=ERROR" to try to improve "ssh" hostkey behavior without doing anything extreme/hacky 2019-03-04 09:38:00 -08:00
logtype Provide a convenient way to log arbitrary text in Drydock without needing structured log classes 2018-09-15 07:59:50 -07:00
management Fix two straggling pagination issues in Drydock 2019-05-23 18:50:06 -07:00
operation Fix a typo in Drydock "Land" operations 2019-03-15 14:53:05 -07:00
phid Write a trivial log when starting a repository operation 2018-09-15 07:57:11 -07:00
query Fix two straggling pagination issues in Drydock 2019-05-23 18:50:06 -07:00
storage Remove "getApplicationTransactionObject()" from ApplicationTransactionInterface 2018-12-20 15:16:19 -08:00
typeahead Render browse results with global result style 2016-06-20 16:49:02 -07:00
view Write a trivial log when starting a repository operation 2018-09-15 07:57:11 -07:00
worker Allow Drydock Blueprints to control "supplemental allocation" behavior so all hosts in an Almanac pool get used 2018-10-31 18:06:47 -07:00
xaction Allow "drydock.blueprint.edit" to create blueprints 2018-01-04 10:08:07 -08:00