You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to identify the author of an experiment. Currently, it's always moz-translations-wandb-bot because of the service token we use. Let's find a way to either change this one or use another field.
The text was updated successfully, but these errors were encountered:
@bhearsum I wonder if there's a way to pull a secret based on the author of the task. Then instead of using our service token we could use personal tokens to automatically identify authors in w&B.
# Weight & Biases publication token is stored in that secret
The person who triggered the task (whether by opening a PR, making a push, or triggering an action) is available in config.params["owner"] in the transforms. So we could either substitute that into the secret in a transform, or add the secret entirely in a transform.
We'd likely want some way to gracefully handle the secret not existing. That could be checking for existence before adding it to the task definition (and fallback to disabling or a default), or it could be done somewhere in the payload. Eg: if the secret doesn't exist we implicitly disable publication.
Ok, ideally we should do tricks with tokens because it turned out W&B has some nice filters like "show only my work" based on this Author field and I don't see an API to override that.
We should be able to identify the author of an experiment. Currently, it's always
moz-translations-wandb-bot
because of the service token we use. Let's find a way to either change this one or use another field.The text was updated successfully, but these errors were encountered: