Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Respect parent context for Gitaly calls | Nick Thomas | 2021-05-05 | 1 | -1/+1 |
| | | | | | | | | | Without these changes, Gitaly calls would not be linked to a parent context. This means that they would have an unassociated correlationID, and Gitaly RPC calls would not be cancel()ed by parent context cancellation. Changelog: fixed | ||||
* | chore: Refactor env introspection to rely on command initialization496-move-env-introspection-to-sshenv | Lucas Charles | 2021-03-15 | 1 | -9/+1 |
| | | | | | | | Refactors introspection of execution environment to rely on per-connection state (`gitlab-shell`) or per request (`gitlab-sshd`) Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/496 | ||||
* | RFC: Simple built-in SSH server | Lorenz Brun | 2021-01-18 | 1 | -1/+9 |
| | |||||
* | Make it possible to propagate correlation ID across processes | Stan Hu | 2020-09-20 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, gitlab-shell did not pass a context through the application. Correlation IDs were generated down the call stack instead of passed around from the start execution. This has several potential downsides: 1. It's easier for programming mistakes to be made in future that lead to multiple correlation IDs being generated for a single request. 2. Correlation IDs cannot be passed in from upstream requests 3. Other advantages of context passing, such as distributed tracing is not possible. This commit changes the behavior: 1. Extract the correlation ID from the environment at the start of the application. 2. If no correlation ID exists, generate a random one. 3. Pass the correlation ID to the GitLabNet API requests. This change also enables other clients of GitLabNet (e.g. Gitaly) to pass along the correlation ID in the internal API requests (https://gitlab.com/gitlab-org/gitaly/-/issues/2725). Fixes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/474 | ||||
* | Geo Pull custom action support | Ash McKenzie | 2020-04-17 | 1 | -0/+10 |
| | |||||
* | Rename import paths | Nick Thomas | 2019-10-18 | 1 | -5/+5 |
| | |||||
* | Move go code up one level | Nick Thomas | 2019-10-18 | 1 | -0/+36 |