Skip to content

update artifact API for state snapshots and passing fields via intent#106

Merged
snowp merged 1 commit intomainfrom
update-artifact-api-for-state-snapshots-and-passing-fields-via-intent
Feb 23, 2026
Merged

update artifact API for state snapshots and passing fields via intent#106
snowp merged 1 commit intomainfrom
update-artifact-api-for-state-snapshots-and-passing-fields-via-intent

Conversation

@snowp
Copy link
Contributor

@snowp snowp commented Feb 23, 2026

This reworks the metadata field on the intent request to match what was previously state_metadata. For issue reports this will be the fields that are sent up as part of the report

Include type_id on the artifact index file - this is necessary in order to maintain the type id now that we're introducing multiple types

@snowp snowp force-pushed the update-artifact-api-for-state-snapshots-and-passing-fields-via-intent branch from 024d33d to 79b862a Compare February 23, 2026 20:06
// The metadata associated with the artifact. This is a binary blob that is interpreted by the server
// based on the type_id.
bytes metadata = 3;
reserved 3;
Copy link
Contributor

Choose a reason for hiding this comment

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

So this was never used?

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 never used, I was planning on using it as something like this but we never implemented it. Reusing the concept of a map of fields seems easier for now

@snowp snowp merged commit 1444355 into main Feb 23, 2026
2 checks passed
@snowp snowp deleted the update-artifact-api-for-state-snapshots-and-passing-fields-via-intent branch February 23, 2026 20:44
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
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