Phase 13, part 9: running at scale, and the proof
The multi-tenant edition starts. compose.multi.yaml runs several copies behind Caddy, with the managed Postgres and Garage outside. A test walks every page and fragment, with ids filled in, and every MCP tool, as one team, and none shows another team's data or changes it; another has three copies share six teams' work, each team's turn once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -324,15 +324,9 @@ func NewKey() (string, error) {
|
||||
return hex.EncodeToString(b), nil
|
||||
}
|
||||
|
||||
// Ready says whether this version of Supermarket can run the edition. The
|
||||
// server and multi-tenant editions are planned (PLAN.md, Phases 9–14) and
|
||||
// come in steps; until they're built, only the settings are checked.
|
||||
func (c *Config) Ready() error {
|
||||
if c.Edition != Multi {
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf("This version of Supermarket runs the local and server editions: the %s edition isn't built yet. Its settings are fine", c.Edition.Name())
|
||||
}
|
||||
// Ready says whether this version of Supermarket can run the edition:
|
||||
// every edition, since Phase 13.
|
||||
func (c *Config) Ready() error { return nil }
|
||||
|
||||
// Item is one line of the settings, to show.
|
||||
type Item struct {
|
||||
|
||||
Reference in New Issue
Block a user