Skip to content

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

@graphite-app
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

@graphite-app
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
@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.

4 participants