The sign-in door no longer links the Colophon
Paul, 2026-11-19, of the door's Colophon link: "Why is the Colophon on this screen? That makes no sense at all." It arrived unruled with the Colophon (Docs, 2026-10-26) and the shared chrome's OpenSource slot. The Colophon stays under Help, and stays reachable signed out; the door just stops linking it. The test that required the link now forbids it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+6
−6
internal/mapa/door.go+1 −2internal/mapatest/colophon_test.go+5 −4
CI failed — run details
CI log
=== editor ===
cd editor && npm ci --no-audit --no-fund --loglevel=error
added 16 packages in 382ms
cd editor && node build-bundles.mjs
wrote internal/mapa/static/editor.115ddee5d3f54787.js (354112 bytes, 111.2KB gzipped; L12 budget 120KB)
cd editor && node --test
✔ a badge is named for what it does, starting with its visible word (2.481387ms)
✔ first words stop at five words or forty characters (0.207155ms)
✔ the field keeps one trimmed line, without brackets (0.420493ms)
✔ the field holds at most MaxAlt bytes, cut at a character (1.025208ms)
✔ days and weeks move across months and years (1.476517ms)
✔ a month keeps the day, or takes the month's last (0.3759ms)
✔ the grid is six weeks from Monday, as the month calendar draws it (0.868747ms)
✔ the grid starts the week where the locale does (0.764673ms)
✔ the keys move a day, a week, a month and a year (0.335484ms)
✔ the picked day is the chip [[ makes for a date (15.659622ms)
✔ Insert → Today's date still puts today in at once (2.460779ms)
✔ / offers Date, the picker, and Today's date beside it (0.329814ms)
✔ after a ! the chip goes in after a space, never as an embed (3.220453ms)
✔ where the Markdown would read the chip differently, it is refused (3.268261ms)
✔ over a selection the chip goes after it and the words stay (2.974776ms)
✔ today is the day in the viewer's zone (28.497052ms)
✔ every offered locale has cases (1.182079ms)
✔ dates.mjs writes every date Go writes, byte for byte (4.396633ms)
✔ a chip, the month and the week, in three locales (0.559742ms)
✔ dates.json is what ICU gives, byte for byte (661.223358ms)
✔ L1: mounting then serialising gives cleanBody(body), byte for byte (99.627252ms)
ℹ 871 bodies
✔ L1: mounting a stored body adds nothing, and saving it writes nothing new (173.240674ms)
✔ L2: one edited block changes only that block's bytes; undo gives the body back (147.103443ms)
ℹ 858 single-block edits
✔ L2: inserting or deleting a block changes bytes only at the new seams, by Join (187.617127ms)
ℹ 866 inserts, 817 deletes
✔ L3: seeded edits keep the document and its Markdown saying the same thing (5669.344773ms)
ℹ 20904 edits over 871 bodies
✔ L3: Link to a page makes exactly one chip, and changes nothing else (1311.371182ms)
ℹ 4532 links over 871 bodies; refused: {"A page link can’t hold another link or a line break. Select plain words.":918,"A page link can’t show [ or ]]. Select words without them.":404,"Select some words to link them to a page.":174,"Linked here, the Markdown around these words would read differently: a ! before them makes an embed, and a stray ` or * pairs up. Select other words.":18}
✔ L3: a picked date is one more date chip, or refused where a letter would be too (1481.86932ms)
ℹ over 871 bodies: {"inserted":5158,"spaced":23,"refused":45,"unstable":9}
✔ linear: trailing spaces (47.878411ms)
✔ linear: trailing whitespace (53.435121ms)
✔ linear: unclosed web links (34.648119ms)
✔ linear: web links with no address (43.74081ms)
✔ linear: unclosed wiki links (109.104839ms)
✔ linear: unclosed embeds (17.413897ms)
✔ linear: closes only (13.531943ms)
✔ the selected words become the chip's shown text (12.865842ms)
✔ words that are the title make a plain [[Title]] (4.953238ms)
✔ spaces at the selection's edges stay outside the chip (1.798828ms)
✔ a date makes a date link, in a heading, an item and a quote (8.508113ms)
✔ bold words lose their bold: a chip carries no marks in Mapa's Markdown (1.524627ms)
✔ only the linked block's bytes change, and undo gives the body back (2.580041ms)
✔ a selection across blocks, over a chip or a break, or of brackets is refused (1.874428ms)
✔ a target the words cannot be linked to as typed is refused (0.337839ms)
✔ ⌘L: over a selection it opens Page link; with none it types [[; in code it does nothing (2.89136ms)
✔ web-linked words are refused: the address would be lost (review M4) (1.757801ms)
✔ words whose Markdown would read otherwise are refused (review M3) (2.155362ms)
✔ ⌘A then ⌘L says why, instead of doing nothing (review low 1) (0.416565ms)
✔ linkCheck says why it refuses (review low 2) (1.659869ms)
✔ golden file has bodies (1.236251ms)
✔ markup.mjs parses every body into Go's blocks, byte offsets and all (38.010696ms)
✔ markup.mjs strips and spans every block as Go does (92.127726ms)
✔ the schema's toDOM draws every body as Go renders it (91.830373ms)
✔ emphasis draws the four pinned outputs (31.852085ms)
✔ a body ends in the editor's empty paragraph (0.330816ms)
✔ the editor labels date chips as Go does, in every locale L4 holds (13.440112ms)
✔ a POST that never answers is aborted after the timeout (21.025477ms)
✔ a keepalive POST carries no signal, and an answer clears the timer (3.254616ms)
✔ autosave sends only what differs, and the tab owns the draft it wrote (11.36016ms)
✔ an offered draft never commits by itself; Save commits it (1.759535ms)
✔ reload, then close: sessionStorage says the draft is this tab's own (0.764714ms)
✔ closing carries text not yet sent, and the cap leaves it out (42.674375ms)
✔ clean rebase: applied, the caret survives, the base moves by the rebase POST (4.830328ms)
✔ the block under the caret is the teammate's too, and undo brings back yours (3.026472ms)
✔ typing mid-flight: the merge is not applied and the base does not move (1.435261ms)
✔ a merge the editor cannot represent stops after three tries (5.13659ms)
✔ a conflict is shown, locks the editor's own commits, and Resolve settles it (2.068709ms)
✔ leaving: a conflict stays with the choice; a failed flush offers Leave anyway; a stored draft leaves (2.105739ms)
✔ a stale tab shows the newer draft, offered, and never overwrites it (1.312893ms)
✔ the first scratch commit: empty creates nothing, then one page, then drafts on it (1.761047ms)
✔ noBase and gone lead to the existing choices (1.661262ms)
✔ a commit that merged is applied when nothing was typed since (1.333852ms)
✔ back from the cache: nothing unsaved reloads, unsaved text autosaves at once (14.906351ms)
✔ an own draft committed meanwhile goes on as a new draft (1.29521ms)
✔ a reload keeps a stored draft; unsent text still commits (0.495392ms)
✔ a page deleted mid-edit: what is typed is still stored as the draft, and nothing commits (H1) (0.974233ms)
✔ an offered draft committed in another tab: typing goes on as a new draft (H1) (8.498206ms)
✔ a commit reply without a revision is not a commit; an emptied day starts afresh (H2) (1.140463ms)
✔ Resolve stores what was typed first, and takes no typing until its answer is applied (M1) (6.579123ms)
✔ closing with a choice open, or commits held, still writes the text, never commits (M2) (1.416125ms)
✔ closing inside the settling window sends the loaded version with settling=1 (M3) (0.402609ms)
✔ a clean merge not applied because of typing still ends the choice on show (M4) (1.262058ms)
✔ settling finds the draft committed with a teammate's text: a close still writes (M-A) (0.939248ms)
✔ settling finds another tab's newer draft: the tab shows it before any typing (0.91382ms)
✔ a page deleted before the first autosave: the text is offered as a scratch page, and a close makes one (M-B) (0.77948ms)
✔ an autosave that never answered but landed: its 409 keeps the typing since (L3) (0.800039ms)
✔ marks: em outside strong, bold reopened around italics, edges outside (7.560429ms)
✔ marks close before code, links and atoms, and reopen after (0.401708ms)
✔ untouched blocks and atoms re-emit their source; edited atoms are written from attributes (8.628448ms)
✔ empty blocks are written as nothing (3.429421ms)
✔ an unclosed fence that is no longer last gets its closing fence (1.454206ms)
✔ the structure check puts Join's seam where a kept one would merge two blocks (2.236502ms)
✔ prepareSave adopts the parse when no seam or rewrite can save the document (5.315381ms)
✔ reparse: typed emphasis becomes a mark, "- " after a break becomes an item (3.121911ms)
✔ a trailing hard break stays on screen and is written as nothing (1.321479ms)
✔ the reparse waits while an IME is composing (1.292645ms)
✔ copied blocks paste with their bytes and seams; a cut and paste gives the body back (10.171809ms)
✔ a forged x-mapa slice is refused, and text from outside is read as Markdown (0.75219ms)
✔ rebuild changes origins only, outside undo history (3.245781ms)
✔ applyBody takes a teammate's block, keeps the caret, and ends untouched (2.05822ms)
✔ a block whose context changed is written again: a task toggled, a bullet, a quote (2.833814ms)
✔ a duplicate ^id typed above its holder never takes the id from it (3.209963ms)
✔ a copy-dragged block is reparsed, and says what its Markdown says (1.279381ms)
✔ a history command that throws is refused, never thrown (8.876179ms)
✔ an image re-emits its source, and an edited alt changes only its span (1.195605ms)
✔ a paste whose image copy is refused says why and pastes nothing (22.052017ms)
✔ a line of image openers reads in linear time (141.757696ms)
✔ a line of shared link address reads in linear time (12.059031ms)
✔ a line of shared web address reads in linear time (90.552987ms)
✔ one rename at a time, from either field (2.024116ms)
✔ an empty or unchanged title sends nothing (0.195093ms)
✔ a refusal keeps what was typed, and the title (0.239636ms)
✔ the pending state holds for the busy rule (7.232951ms)
✔ a failed POST says so and keeps the title (0.996184ms)
✔ Update links posts the confirm page's POST (0.344291ms)
✔ clean is CleanTitle's whitespace rule (1.015079ms)
✔ the saver's base follows a rename made over it, and only that (0.492467ms)
✔ closing sends the rename as one keepalive POST (6.03984ms)
✔ the port answers every shared case as typeddate.go does (6.284746ms)
✔ numbers follow the locale: 12/11 is November in en-IE, December in en-US (0.294408ms)
✔ M6: several files land in the order they were chosen (52.454777ms)
✔ M5: one Backspace before the box keeps the image where the box is (10.567928ms)
✔ M5: undoing text typed just before the box keeps the upload (14.482991ms)
✔ L12: a failed upload an undo takes away does not stall the next (15.871958ms)
✔ M4: Replace… keeps the old image until the new one is in, and its alt (15.690069ms)
✔ M3 and N1: text wins, except over a picture copied from a page (2.141475ms)
✔ N2: a JPEG over 10 MB is scaled before its size is checked (25.971642ms)
✔ a drag whose anchor the document no longer reaches selects to its end (7.204517ms)
ℹ tests 126
ℹ suites 0
ℹ pass 126
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 9235.377888
=== vet ===
go vet ./...
go vet -tags browser ./internal/mapatest/
=== fmt ===
=== code ===
go tool rastrillo budget code
The base has no .rastrillo/code.txt: skipping the check that records only go down.
budget code: within the limits.
=== test ===
CGO_ENABLED=0 go test ./...
? amadan.net/oficina/mapa/cmd/mapa [no test files]
ok amadan.net/oficina/mapa/internal/mapa 4.048s
? amadan.net/oficina/mapa/internal/mapa/icons [no test files]
ok amadan.net/oficina/mapa/internal/mapa/imagefile 0.261s
ok amadan.net/oficina/mapa/internal/mapa/locale 0.009s
ok amadan.net/oficina/mapa/internal/mapa/markup 0.246s
ok amadan.net/oficina/mapa/internal/mapa/notionmd 0.678s
ok amadan.net/oficina/mapa/internal/mapa/seal 0.005s
--- FAIL: TestGate6SpeedAtSize (10.67s)
speed_test.go:61: seeded 10000 pages in 4.88401777s
speed_test.go:69: cold wake to first search answered, at 10000 pages: 2.304825623s
speed_test.go:75: page views (backlinks and unlinked mentions included): 200, p50 2.239858ms, p95 17.812667ms, max 22.508315ms
speed_test.go:84: /search/suggest: 873 queries, p50 2.315709ms, p95 5.455072ms, max 41.297058ms
speed_test.go:87: /search/suggest p95 is 5.455072ms, over §6.1's 5ms
speed_test.go:84: /links/suggest: 873 queries, p50 359.889µs, p95 1.358408ms, max 11.836746ms
FAIL
FAIL amadan.net/oficina/mapa/internal/mapatest 17.667s
? amadan.net/oficina/mapa/scripts/mutate [no test files]
? amadan.net/oficina/mapa/scripts/preview [no test files]
FAIL
make: *** [Makefile:55: test] Error 1
amadan: step test failed: exit status 2
amadan: job failed at step test — its output is above, not at the tail of this log
diff --git a/internal/mapa/door.go b/internal/mapa/door.go| index 46ecdb0..48e3734 100644 |
| --- a/internal/mapa/door.go |
| +++ b/internal/mapa/door.go |
| @@ -27,8 +27,7 @@ func (app *app) signin(writer http.ResponseWriter, request *http.Request) { |
| return |
| } |
| form := chrome.SignIn{Icon: head.Icon, App: head.App, Sky: head.Sky, |
| - Error: signinError(query.Get("err")), Action: "/auth/begin", |
| - OpenSource: &chrome.Link{Href: colophonPath, Label: colophonTitle}} |
| + Error: signinError(query.Get("err")), Action: "/auth/begin"} |
| // A failed keymail round trip comes back with force=1 so the next |
| // submission skips keymail and emails a link. |
| if query.Get("force") == "1" { |
diff --git a/internal/mapatest/colophon_test.go b/internal/mapatest/colophon_test.go| index 2391125..5941a84 100644 |
| --- a/internal/mapatest/colophon_test.go |
| +++ b/internal/mapatest/colophon_test.go |
| @@ -88,14 +88,15 @@ func TestColophonSignedInIsInTheShell(t *testing.T) { |
| } |
| } |
| -// Signed out, the door links it and it answers in the door's column, |
| -// minting no cookie; signed in for real, it is the shell's. |
| +// Signed out, it answers in the door's column, minting no cookie, though the |
| +// door no longer links it (Paul, 2026-11-19: a Colophon link on the sign-in |
| +// door "makes no sense at all"); signed in for real, it is the shell's. |
| func TestColophonSignedOutAndIn(t *testing.T) { |
| app := wiredApp(t, t.TempDir(), Ana) |
| door := send(app.handler, http.MethodGet, "/signin", nil, nil) |
| - if !strings.Contains(door.Body.String(), |
| + if strings.Contains(door.Body.String(), |
| `href="`+colophonPath+`"`) { |
| - t.Error("the sign-in door does not link the Colophon") |
| + t.Error("the sign-in door links the Colophon") |
| } |
| out := send(app.handler, http.MethodGet, colophonPath, nil, nil) |
| body := checkColophon(t, "signed out", out) |