Handle X-GitLab-Trace-Update-Interval header from GitLab
See gitlab#325970 (closed) for detailed proposal and explanation. Copy paste from there at time of issue creation:
- Add
X-GitLab-Trace-Ping-Interval
to Rails that is a value higher thanX-GitLab-Trace-Update-Interval
- Likely a default should be 5 mins (it is enough)
that would configure
TraceForceSendInterval
- Extend Runner to parse header in a similar way as
X-GitLab-Trace-Update-Interval
and apply this asTraceForceSendInterval
- Update the
common.MaxUpdateInterval
to be higher than3 * time.Minute
, likely to be15 * time.Minute
(for future proofing) - Define the
common.MaxTraceForceSendInterval
to be a value of at least30 * time.Minute
(for future proofing)
This issue is to capture the work in the Runner code base.