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

feat(workflows): add tags #956

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

MasterPtato
Copy link
Contributor

@MasterPtato MasterPtato commented Jun 26, 2024

TLDR

  • Tags are a json blob attached to workflows
  • Tags are optional
  • When publishing a signal with tags, it will be consumed by any workflow with a superset of the signals own tags:
    • a workflow with tags { "foo": 1, "bar": ["a"] } will consume a signal with tags { "bar": ["a"] }
  • While any json is allowed, i assume CRDB JSON comparison queries perform better when its plain string comparison

Changes

Copy link
Contributor

graphite-app bot commented Jun 26, 2024

Your org requires the Graphite merge queue for merging into main

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

You can enable merging using labels in your Graphite merge queue settings.

Copy link
Contributor Author

MasterPtato commented Jun 26, 2024

Copy link
Contributor

graphite-app bot commented Aug 2, 2024

Merge activity

<!-- Please make sure there is an issue that this PR is correlated to. -->
## TLDR

- Tags are a json blob attached to workflows
- Tags are optional
- When publishing a signal with tags, it will be consumed by any workflow with a superset of the signals own tags:
    - a workflow with tags `{ "foo": 1, "bar": ["a"] }` will consume a signal with tags `{ "bar": ["a"] }`
- While any json is allowed, i assume CRDB JSON comparison queries perform better when its plain string comparison

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@NathanFlurry NathanFlurry force-pushed the 06-26-feat_workflows_add_tags branch from 59f82b4 to 36494eb Compare August 2, 2024 03:31
@graphite-app graphite-app bot merged commit 36494eb into main Aug 2, 2024
6 of 10 checks passed
@graphite-app graphite-app bot deleted the 06-26-feat_workflows_add_tags branch August 2, 2024 03:44
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