Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oidc: move reusable_worfklow_used field to the correct event #16935

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

woodruffw
Copy link
Member

This should fix the reusable_workflow_used data quality issues we're seeing, which stem from us originally trying to get it at file_upload time, where the request has only a limited view into the original minted token's OIDC claims.

We instead now collect this field during mint_token, where the full set of OIDC claims is available to us.

h/t @miketheman for pointing this out, cc @facutuesca

Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw requested a review from a team as a code owner October 21, 2024 20:33
Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw requested a review from miketheman October 21, 2024 20:42
@woodruffw woodruffw self-assigned this Oct 21, 2024
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generaly fine, and I agree on the removal front.

warehouse/forklift/legacy.py Outdated Show resolved Hide resolved
Signed-off-by: William Woodruff <william@trailofbits.com>
@facutuesca
Copy link
Contributor

also LGTM

@miketheman miketheman enabled auto-merge (squash) October 22, 2024 23:20
@miketheman miketheman merged commit 7405bda into pypi:main Oct 22, 2024
18 checks passed
@woodruffw woodruffw deleted the ww/reusable-workflow-metric branch October 23, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants