files-door: a shared fixture hardcodes journey.droplet's community name — the device journey's correctly-branded sign-in names "Rehearsal E" and is asserted against "E2E Drive" #1115
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First, the milestone this red sits behind
Drive
20260901T093209Zis the first in the #854 arc to takedeploy-takeoverGREEN — 27 legs green, the member-device takeover proven end to end.files-doorthen ran for the first time ever, and its red is a harness-side name mismatch, not a product fault.The red
Everything this leg actually exists to prove passed:
--color-primaryread#619793, so the accent check did not throw.The leg red purely because the fixture compared that heading against the literal string
"E2E Drive".Diagnosis — a shared fixture hardcodes one journey's community name
app/tests/e2e/fixtures/provision.ts:497-499:and
:575-581:The expected community name is baked into the shared fixture while every caller passes only
{ accent: '#619793' }. That works forjourney.dropletandjourney.selfhostedbecause those journeys explicitly found a community named "E2E Drive" (journey.droplet.spec.ts:481,journey.selfhosted.spec.ts:533).journey.devicefounds throughrunRentedPrefix, which sets no community name, so the community keeps its slug-derived name —rehearsal-e→ "Rehearsal E". The fixture then asserts another journey's name against this journey's world.The contract DDR 0158 / DDR 0145 actually care about is "the sign-in is the community's own branded page, naming the community". Which community name is correct is a property of the journey's world, not of the assertion.
Fix
Give
BrandExpectationanameand have each caller state its own:journey.droplet/journey.selfhosted/provision-nextcloud.live/settings-brand-reapplypass'E2E Drive'(unchanged behaviour).journey.devicepasses its actual community name.The one decision worth making deliberately, not guessing: where the device journey's expected name should come from. Three options, and the right one depends on what founding actually does with an unnamed community:
runRentedPrefixset an explicit community name (as its sibling journeys do), and assert that. Strongest, and makes the device journey's world self-describing rather than incidental — but it changes what the drive founds, so it deserves a moment's thought about whether any other assertion depends on the current slug-derived name.I would lean (3), but it is a real choice about what the drive's world is, so it should be made by whoever picks this up rather than assumed here.
Acceptance
files-doorpasses on the device journey against the community's real name, and still reds if the sign-in is unbranded, un-named, or is kanidm's authorise-ERROR shell (#643).Filed by the watching session from the #854 arc (ADR 0174). Diagnosis only — the name-source choice above should be ruled, not assumed.
swarm-claim host=matou-dev-server-01 run=15957
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Decision (the name-source choice the ticket flagged): the device journey asserts against
communityNameForSlug(slug)— effectively the ticket's option 1, but done without a second source of truth.runRentedPrefix(enterFrom='welcome')walks the founding wizard vias2WithSlug(live, slug), which types exactlycommunityNameForSlug(slug)as the S2 community name (app/tests/e2e/fixtures/wizard.ts:69). SocommunityNameForSlugis already the single shared derivation founding uses; calling it in the assertion is not duplication — it reads the same source that set the name. This is why I did not need option 3 (runRentedPrefixalready sets the name this way).Why two-way: test-harness-only, revertible by a later commit, and provable by the device drive (
files-door) +eslint/vue-tsc. Not on the one-way-door list.What proves it:
files-doornow passes against the community's real name (Rehearsal E), and still reds if the sign-in is unbranded, un-named, or is kanidm's authorise-ERROR shell (#643 — the form-field wait is untouched). The four sibling callers pass{ name: 'E2E Drive', ... }, unchanged behaviour. No journey's expected name is hardcoded inside the shared fixture any more.close-report for #1115 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope