pluginAccounts built the provider's catalog from its first login only, so
a model only a later account serves never showed or reached an agent.
Routing already sends each request to an account whose own list has the
model (perKeyBarred, Account.Lists), so the provider now offers the union
of the first account and every other account switched on, in catalog
order. An account switched off adds nothing; an account with no list of
its own means every model, as before. Reported by willywang, confirmed
again on v0.1.1320 by LoKi (lokic7123-star).
Run at the stacked tree (this commit with #2695 and #2862, on ef6f3749d):
- gofmt -l clean; go vet ./... on darwin, GOOS=linux -tags nogui, and
GOOS=windows: ok.
- set -o pipefail; go test -count=1 -timeout 45m ./... under the suite
lock: every package ok (SUITE_EXIT 0).
Red on the old code: TestPluginProviderOffersEveryOnAccountsModels, "the
provider offers \"a\", want \"a b\"". With the On check removed it offers
"a b c" and goes red too.
Not tried: real multi-account plugin sign-ins; the GUI's model list was
not looked at in the app.