-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TEP-0114: Custom Tasks Beta - Required Work #4313
Comments
/assign |
Experimenting with Custom Tasks for the ColocatedPipelineRun POC, wanted to leave a few notes on things we might want to improve for beta:
|
I tend to agree, but this is "only true" for custom task reconciler that are written in Go 👼🏼 , aka it's the same problem you have when writing any CRD and reconciler with Go more or less.
+:100: |
#4686 is relevant here-- there's some discussion of adding a custom task controller for testing; could be generally useful for developing on custom tasks |
Created #5120 to track implementing a custom task controller for testing. |
@tektoncd/core-maintainers updated this issue reflect what we agreed to do to promote custom tasks to beta in TEP-0114 |
One more idea I'd like to bring up for beta here after pairing on this with @JeromeJu: I'm wondering if it would make sense to have the PipelineRun controller responsible for retries of custom runs, as opposed to the current behavior of a custom task controller being responsible for implementing retry behavior. This would make custom tasks easier to author, and make them more consistent with how we handle TaskRuns. It would involve removing |
How is it a pattern we use for |
happens here |
😱 🙀 |
How would retries work if the Run was created by itself without being in a Pipeline? Can easy retry behavior be something we add as part of an SDK for making authoring custom tasks easier? |
They wouldn't, just as TaskRuns can't retry on their own -- retries are a Pipeline feature.
potentially, although it's still harder than having it implemented in the PR controller. Sounds like this needs more discussion, so I created #5218. |
Custom Tasks
Beta
In TEP-0114: Custom Tasks Beta, we proposed migrating
Custom Tasks
andRuns
to beta. This is an overarching issue to track the work required to promoteCustom Tasks
to beta.The work scoped here are blockers for promotion.
v1beta1.CustomRun
#5153v1alpha1.Run
tov1beta1.CustomRun
#5443enable-custom-tasks
to"true"
#5155The pull requests completing the above work are here.
The text was updated successfully, but these errors were encountered: