Skip to content

Add ability to tag runs#166

Merged
johnstairs merged 9 commits intomainfrom
johnstairs/run-tags
Jan 22, 2025
Merged

Add ability to tag runs#166
johnstairs merged 9 commits intomainfrom
johnstairs/run-tags

Conversation

@johnstairs
Copy link
Member

@johnstairs johnstairs commented Jan 16, 2025

Like with buffers, you can now assign tags to runs.

tyger run create [...] --tag a=1
tyger run set ID [--clear-tags] --tag b=2 [--etag CURRENT_ETAG]

You can filter runs by tags:

tyger run list --tag a=1,b=2

And display counts filtered by status:

tyger run count --tag a=1,b=2

You can also filter by status:

tyger run list --tag a=1 --status failed,canceled

Tags and ANDded together, statuses are ORed.

You can watch the tags change until a run completes with tyger run watch ID --full-resource

@johnstairs johnstairs marked this pull request as ready for review January 20, 2025 14:37
Copy link
Collaborator

@hansenms hansenms left a comment

Choose a reason for hiding this comment

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

Looks good. Minor stuff in the docs.

@johnstairs johnstairs enabled auto-merge (squash) January 22, 2025 22:58
@johnstairs johnstairs merged commit 10a1480 into main Jan 22, 2025
15 checks passed
@johnstairs johnstairs deleted the johnstairs/run-tags branch January 22, 2025 23:11
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.

2 participants