Skip to content

VM demo: MI1 S2's first-subject pin will refuse the second user — sequence it against the two-user demo #407

Closed

Description

@pdettori

Found preparing the VM demo B runbook (#367, PR #403, fix-list item 6). Also flagged as a collision in the epic (#370, "Interaction with the MI1 roadmap").

Problem

MI1 §6.6 (docs/specs/2026-09-28-moca-multi-user-isolation-design.md) plans a first-subject pin under MOCA_TENANCY=single: the first subject to use a single-tenant deployment owns it, and later subjects get 403 single_tenant_deployment.

  • Today the switch exists (packages/knative-server/src/tenancy.ts, default single) but the pin doesn't, and deploy/vm leaves MOCA_TENANCY unset. So the two-user demo works under single.
  • The day S2 lands, the same VM refuses user 2.
  • The obvious fix, MOCA_TENANCY=multi, is only honest after S5's sandbox owner binding. Users share sandbox containers on the container tier, and multi would claim otherwise.

What's needed

  • A decision: either the demo pins a release before S2, or it is sequenced after S5 and runs under multi.
  • When S2 merges, re-pin the tenancy statement in docs/demos/vm-two-user-acceptance.md (top and "Notes and limits"). If setup-vm.sh should then refuse a two-user posture under single, say so in deploy/vm/README.md.
  • An S2 test that pins the refusal's exact code, so the runbook can name it.

Critical path

Not for #367's acceptance today. It becomes a hard blocker for any two-user demo the moment MI1 S2 merges, unless the demo is pinned to an earlier release.

Activity

  1. added 2 commits that reference this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions