Skip to content

Fold template create into template push #9318

@ammario

Description

@ammario

Push is supposed to be a superset of create, so we're carrying significant code debt. The slight mismatches in their functionality are mostly mistakes, e.g.:

  • create locally validates the template name whereas push does not
  • create accepts TTLs whereas push does not

We should make sure to deprecate create for a period of time, perhaps with an annoying time.Sleep. We should also change push to create a new template by default.

Bonus points for reducing duplication across template edit too. See #9319 for an example bug.

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions