Skip to content

StartupTemplate.upgrade

POST /{namespace}/startup-templates/{startupTemplate}/upgrade

Upgrade moves a Startup to a newer Version of a Startup Template it extends, through a Change it can review.

Mode
do
Event
StartupTemplate.upgraded

Inputs

InputTypeRequiredDescription
startupTemplateStartup TemplaterequiredThe Startup Template to upgrade.
startupStartuprequiredThe Startup that extends it.
versionVersionThe target Version; the latest when absent.

Outputs

OutputTypeRequiredDescription
changeChangerequiredThe Change that moves the pin, with its three-way diff.
startupTemplateStartup TemplaterequiredThe Startup Template upgraded to.

Effects

  • Emits StartupTemplate.upgraded.
  • Performed by the Engineering Lead.
  • Two-way: it runs at once, in the try, send and do modes.
  • Opens a Change; nothing moves until it merges.
  • Names each dependency the Change moves, from which Version to which.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.StartupTemplate.upgrade

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.