Potential bug in graphql API

I think I found a graphql bug:

If I try to set configureRegions to allow only scl or gru and deny all others, I get an error saying there must be at least one region set. I don’t get the error if there are multiple, or if I solely allow any of the other regions on their own. It only happens if I pick just scl or gru.

This is the exact query that gives me the error:

mutation scaleCount{
  setVmCount(input: {
    appId: "myappid",
    groupCounts: [{group: "app", count: 1}]
  }){
    app {
      regions {
        code,
        name
      },
      deploymentStatus {
        desiredCount,
        inProgress,
        allocations{
          region,
        }
      }
    },
    warnings,
    taskGroupCounts {count, name}
  }
  
  configureRegions(input: {
    appId: "myappid",
    allowRegions: ["scl"]
    denyRegions: ["atl", "gru", "sea", "ord", "iad", "hkg", "lhr", "lax", "cdg", "ewr", "nrt", "sin", "sjc", "syd", "dfw", "yyz", "vin"]
  }){
    regions{
      code,
      name
    }
  }
  
}

That’s surprising.

GRU won’t currently accept customer VMs so it shouldn’t let you set that one. SCL is alive and happy though! We’ll have a look.