github backstage/backstage release-2021-11-12

latest releases: v1.34.0-next.0, v1.33.4, v1.33.3...
3 years ago

These are helper primitives that let users perform coordination across backend plugins.

The idea is that an instance of this will be added to the backend env, for any plugin to use. This would be done in a separate PR that affects create-plugin etc.

There are a few perhaps interesting concepts in here for the reviewer to consider.

  • This is the first instance of a library making database schema migrations. We will probably want to think hard about what this means in terms of system upgrades / downgrades, situations where you have more than once concurrent version of the library present, etc.
  • It explores using zod instead of yup, to get superior automatic type generation.
  • zod is used for (de)serializing versioned task info, such that it is possible for us to evolve to richer task timing models and introducing new features without breaking old runners. They just silently detect that they no longer understand the upgraded task info and stop trying while the new workers take over. This should hopefully lead to smooth rollouts.
  • It makes use of AbortController to help with more proper shutdown and cleanup. This is pretty exploratory.

Don't miss a new backstage release

NewReleases is sending notifications on new releases.