Follow-up from "POC: Move partition_id to token payload"
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !183554 (merged) should be addressed:
-
@pedropombeiro started a discussion: (+1 comment) question: unrelated - should we create an issue to capture that
sharding_key_id
is going away and we actually will be usingorganization_id
here?
Proposal
Update the app/models/ci/runner.rb
payload section with the following:
g: ->(token_owner_record) { token_owner_record.groups.pick(:organization_id) },
p: ->(token_owner_record) { token_owner_record.projects.pick(:organization_id) },
Edited by 🤖 GitLab Bot 🤖