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

add an artifact ID to the artifact intent/upload requests #40

Merged
merged 8 commits into from
Feb 20, 2025

Conversation

snowp
Copy link
Contributor

@snowp snowp commented Feb 19, 2025

This will be used to wrap the file contents and include a client-generated ID for the upload

Snow Pettersen added 6 commits February 19, 2025 15:37
@snowp snowp changed the title add file artifact proto wrapper add an artifact ID to the artifact intent/upload requests Feb 20, 2025
Comment on lines +260 to +262
// A client-generated ID that uniquely identifies the artifact. This is used to correlate the artifact
// with logs that reference it.
string artifact_id = 4 [(validate.rules).string = {min_len: 1}];
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like the intent_uuid and the upload_uuid below can probably be used for this, but it doesn't really matter if you want to keep them independent for future proofing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I had the same thought but seemed nice to have it split in case these two end up diverging

Co-authored-by: Matt Klein <[email protected]>
Signed-off-by: Snow Pettersen <[email protected]>
@snowp snowp merged commit 0edbdde into main Feb 20, 2025
2 checks passed
@snowp snowp deleted the add-file-upload-artifact branch February 20, 2025 15:39
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants