Organization-level runner controller tokens (routable)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Overview
Create organization-level runner controller tokens that are routable for the GitLab Cells architecture. Tokens must encode organization information to allow the HTTP Router to route requests to the correct cell.
Context
Instance-level runner controller tokens exist in gitlab_ci_cell_local. Organization-level tokens must be sharded by organization_id. Token routability is critical.
Routability
- Tokens must include a routable prefix encoding the organization, similar to runner tokens (see
app/models/ci/runner.rbprefix pattern) - HTTP Router rules must be updated to recognize the new token prefix and route to the correct cell
Acceptance Criteria
-
org_ci_runner_controller_tokenstable created with migration - Token generation with routable prefix encoding organization
- HTTP Router rules updated for new token prefix
- REST APIs similar to the ones for instance-level runner controllers
- Cells-compatible sharding configuration
Edited by 🤖 GitLab Bot 🤖