Backend: Implement deprecation notification for `types` and `type` keyword
This is an implementation issue to track the deprecation of types and type keyword
types
and type
- Deprecated in v9.0: gitlab-foss!9766 (merged)
We want to implement the deprecation process so we could remove types in %15.0
Proposal
Phase 1: Implement telemetry
This is a pure backend work to capture the usage for the type
and types
keywords
We should track the telemetry to understand the number of unique users (or pipelines) where types keyword is used, this way we could understand the potential impact.
Phase 2 - implement deprecation notice warning
#348410 (closed) is the frontend issue
- The warning alert should be permanently dismissable
- Link to point the user to https://docs.gitlab.com/ee/ci/yaml/#deprecated-keywords
Further improvements
Phase 3 - Optional send email notification, depends on the number of users that are using types
types
- https://gitlab.com/gitlab-org/gitlab/-/issues/346823 - - Schedule for 15.0
Phase 4 - remove Note - Phase 3 & 4 are out of scope for this issue``
Edited by Frédéric Caplette