More use of triggers #4254
davidmorgan
started this conversation in
General
Replies: 2 comments 12 replies
-
|
@davidmorgan This is my build.yaml, I wonder how could I add trigger there, is it only |
Beta Was this translation helpful? Give feedback.
11 replies
-
|
@davidmorgan quick question: how is the trigger annotation detected? Since it should be a fast process. Best regards. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I added use of the "triggers" feature to built_value a while back now and nobody has complained :) so I wonder if it's time to add it more builders, I guess json_serializable is next in line.
It would help in cases where in the first run log output today you see e.g. "123 no-op" for a builder output, that means the builder ran but it decided not to output anything. With triggers it could just be skipped.
If anyone is interested in experimenting with triggers on their local build, that's fully supported using your own
build.yamlhttps://pub.dev/packages/build_config#triggers
and then we can look at up streaming any config that's useful to the builders themselves.
Beta Was this translation helpful? Give feedback.
All reactions