kernelci / kernelci/kcidb

cloud: Standardize service account name passing

Open
#533 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
40
PR merge metrics
No merged PRs in 30d

Description

It looks like we have three ways we pass around service accounts:
* Just the name, assuming the project is passed separately, and assuming the recipient knows it's a service account.
* The complete email, assuming the recipient knows it's a service account.
* The complete account name, with the `serviceAccount:` prefix.

This makes it difficult to figure out what is passed when without looking at the surrounding code.

See if we can unify that in as many places as possible.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by tracing the three service-account representations across the repository and documenting each affected call path. Done means the representations are unified in as many places as practical, with the remaining exceptions clearly identified and covered by tests where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cloud
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.