Skip to content
Playground(another site)

bynk.revert.membership_changed

Error bynk revert refused because a [deploy.workers.<key>] group's target version held other contexts than the live one (a context moved into or out of the group since, or the version predates groups), so a rollback would take a member's code out of the Worker.

A [deploy.workers.<key>] group is one Worker script, so bynk revert puts every member back together. It refuses to go back to a version that held other contexts than the live one: a context that has moved into or out of the group since, or a version deployed before groups. Rolling back would take a member's code out from under its traffic. Redeploy forward instead.

Example

bynk revert --dry-run --worker core
members core refused: the live version holds [shop.a, shop.b] and the target holds [shop.a]
bynk deploy # redeploy forward

In the Book

See also

  • Every code in its category, Other, on the diagnostic index.
  • bynk explain bynk.revert.membership_changed shows the same from the installed toolchain, without a network.