Ranged requests on API CI job trace

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

When using the API to retrieve a CI job trace/log it is currently impossible to get a plain-text log using a ranged request

Intended users

Further details

Proposal

Serve ranged requests on the /api/v4/projects/:id/jobs/:id/trace endpoint.

Permissions and Security

The permissions required for the ranged request should equal the permissions to the unranged request

Documentation

Testing

What does success look like, and how can we measure that?

A ranged request will only deliver the requested range instead of the full trace

Links / references

Edited Jun 30, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading