Executing ports in sgx-jmp

Our previous porting process was manual and used unpublished scripts and hacks. Now that we have a place for business-logic, porting should move into sgx-jmp.

Steps:

  • Waiting for a number to become available after a scheduled time
  • Setting that number up in sgx-jmp while keeping the eventual target customer intact
  • Testing reachability of the number for texting and phone calls
  • Handling the swap of the user’s number
  • Deleting the old number (or maybe holding onto it for a short time)

Note that some of these steps are often independently useful.
For example, sometimes people want to change their number to a new one which follows basically all the same steps, except that we come in after a purchase rather than a scheduled port.

Sometimes it’s useful in debugging to move a user’s number back to the dummy and retest reachability to make sure the problem is in XMPP and not in the phone network.

NOTE this is not about requesting a port, only about running the port. Requesting a port is covered by this ticket

Design: https://pad.tildeverse.org/pad/#/2/pad/view/WA03hdMZY5-LjQYyhMqxlDeFxLYhOjUn9vlPhOjUH8Y/embed/