1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/repository/query
epriestley 69bff489d4 Generate a random unique "Request ID" for SSH requests so processes can coordinate better
Summary:
Depends on D19247. Ref T13109. When we receive an SSH request, generate a random unique ID for the request. Then thread it down through the process tree.

The immediate goal is to let the `ssh-exec` process coordinate with `commit-hook` process and log information about read and write lock wait times. Today, there's no way for `ssh-exec` to interact with the `PushEvent`, but this is the most helpful place to store this data for users.

Test Plan: Made pushes, saw the `PushEvent` table populate with a random request ID. Exported data and saw the ID preserved in the export.

Maniphest Tasks: T13109

Differential Revision: https://secure.phabricator.com/D19249
2018-03-22 13:44:30 -07:00
..
PhabricatorRepositoryGitLFSRefQuery.php Implement a Git LFS link table and basic batch API 2016-03-17 17:15:20 -07:00
PhabricatorRepositoryPullEventQuery.php Add date range filtering for activity, push, and pull logs 2018-01-30 15:36:22 -08:00
PhabricatorRepositoryPushEventQuery.php Modernize "PhabricatorRepositoryPushEventQuery" 2018-01-23 14:12:14 -08:00
PhabricatorRepositoryPushLogQuery.php Add date range filtering for activity, push, and pull logs 2018-01-30 15:36:22 -08:00
PhabricatorRepositoryPushLogSearchEngine.php Generate a random unique "Request ID" for SSH requests so processes can coordinate better 2018-03-22 13:44:30 -07:00
PhabricatorRepositoryQuery.php Specify a null behavior for the callsign sort column. 2017-11-14 17:16:01 -06:00
PhabricatorRepositoryRefCursorQuery.php Update major RefCursor callsites to work properly with RefPosition 2017-09-15 10:21:32 -07:00
PhabricatorRepositorySearchEngine.php Support repository query by short name in Diffusion 2018-03-08 10:55:24 -08:00
PhabricatorRepositoryTransactionQuery.php Use application PHIDs for application transactions 2013-07-29 12:04:15 -07:00
PhabricatorRepositoryURIQuery.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
PhabricatorRepositoryURITransactionQuery.php Add repository URI view pages and IO/Display edit logic 2016-04-29 09:22:16 -07:00