oficina / mapa Public

Columns: the Colophon's inventory for the rebuilt bundle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ba979ec4cfb2455abdc828e8cefe7446dcce0c4f parent e740753
1 file changed, +1 −1
  • internal/mapa/credits/assets.json +1 −1

CI passed — run details

CI log
=== editor ===
cd editor && npm ci --no-audit --no-fund --loglevel=error

added 16 packages in 320ms
cd editor && node build-bundles.mjs
wrote internal/mapa/static/editor.bad1b29c273b6a86.js (364471 bytes, 114.4KB gzipped; L12 budget 120KB)
cd editor && node --test
✔ a badge is named for what it does, starting with its visible word (0.917912ms)
✔ first words stop at five words or forty characters (0.159055ms)
✔ the field keeps one trimmed line, without brackets (0.245866ms)
✔ the field holds at most MaxAlt bytes, cut at a character (1.13759ms)
✔ a block becomes column 1 of two, and undo gives it back (10.282895ms)
✔ a selection over blocks moves them all into column 1 (2.032451ms)
✔ no layout is made inside a layout (0.531726ms)
✔ Add a column, Remove this column and Undo columns (4.934173ms)
✔ Undo columns puts the blocks in reading order (0.600414ms)
✔ Backspace in an empty column takes the column away (0.813669ms)
✔ ⌥⌘→ and ⌥⌘← move between columns (0.347134ms)
✔ typing a fence line in a column never closes it (D16) (7.100331ms)
✔ a selection holding a layout makes no nested layout (H1) (2.508534ms)
✔ a fence typed after a break in a column stays in the column (H2) (3.031975ms)
✔ code holding a fence line and ::: stays code in its column (H2) (3.12141ms)
✔ Backspace after a layout and Delete before one join nothing (M4) (0.639366ms)
✔ deleting across columns keeps every column (M3) (1.991814ms)
✔ a layout pasted into a column arrives as its blocks (M1) (6.3504ms)
✔ copying inside one column puts no fence on the clipboard (M2) (0.279618ms)
✔ typing goes on in the column after a structural reparse (round 2) (8.216121ms)
✔ a structural reparse in a column leaves code as it was (round 2) (2.946997ms)
✔ days and weeks move across months and years (1.368609ms)
✔ a month keeps the day, or takes the month's last (1.321381ms)
✔ the grid is six weeks from Monday, as the month calendar draws it (0.65208ms)
✔ the grid starts the week where the locale does (0.510417ms)
✔ the keys move a day, a week, a month and a year (0.245565ms)
✔ the picked day is the chip [[ makes for a date (16.05904ms)
✔ Insert → Today's date still puts today in at once (1.878755ms)
✔ / offers Date, the picker, and Today's date beside it (0.293184ms)
✔ after a ! the chip goes in after a space, never as an embed (3.261019ms)
✔ where the Markdown would read the chip differently, it is refused (3.063773ms)
✔ over a selection the chip goes after it and the words stay (1.972679ms)
✔ today is the day in the viewer's zone (18.679109ms)
✔ every offered locale has cases (0.990417ms)
✔ dates.mjs writes every date Go writes, byte for byte (4.259651ms)
✔ a chip, the month and the week, in three locales (0.778844ms)
✔ dates.json is what ICU gives, byte for byte (507.253602ms)
✔ L1: mounting then serialising gives cleanBody(body), byte for byte (110.65157ms)
ℹ 901 bodies
✔ L1: mounting a stored body adds nothing, and saving it writes nothing new (78.542697ms)
✔ L2: one edited block changes only that block's bytes; undo gives the body back (170.520848ms)
ℹ 888 single-block edits
✔ L2: inserting or deleting a block changes bytes only at the new seams, by Join (184.014739ms)
ℹ 896 inserts, 837 deletes
✔ L3: seeded edits keep the document and its Markdown saying the same thing (5520.840458ms)
ℹ 21624 edits over 901 bodies
✔ L3: Link to a page makes exactly one chip, and changes nothing else (1342.710091ms)
ℹ 4710 links over 901 bodies; refused: {"A page link can’t hold another link or a line break. Select plain words.":945,"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 (1429.614322ms)
ℹ over 901 bodies: {"inserted":5338,"spaced":23,"refused":45,"unstable":9}
✔ linear: trailing spaces (28.267116ms)
✔ linear: trailing whitespace (25.377014ms)
✔ linear: unclosed web links (17.987858ms)
✔ linear: web links with no address (20.147055ms)
✔ linear: unclosed wiki links (30.180405ms)
✔ linear: unclosed embeds (31.921344ms)
✔ linear: closes only (6.780357ms)
✔ the selected words become the chip's shown text (10.237541ms)
✔ words that are the title make a plain [[Title]] (3.178225ms)
✔ spaces at the selection's edges stay outside the chip (1.434231ms)
✔ a date makes a date link, in a heading, an item and a quote (5.828572ms)
✔ bold words lose their bold: a chip carries no marks in Mapa's Markdown (1.111962ms)
✔ only the linked block's bytes change, and undo gives the body back (2.311718ms)
✔ a selection across blocks, over a chip or a break, or of brackets is refused (1.395128ms)
✔ a target the words cannot be linked to as typed is refused (0.309464ms)
✔ ⌘L: over a selection it opens Page link; with none it types [[; in code it does nothing (2.6794ms)
✔ web-linked words are refused: the address would be lost (review M4) (0.923273ms)
✔ words whose Markdown would read otherwise are refused (review M3) (2.543008ms)
✔ ⌘A then ⌘L says why, instead of doing nothing (review low 1) (0.272506ms)
✔ linkCheck says why it refuses (review low 2) (0.423165ms)
✔ golden file has bodies (0.924896ms)
✔ markup.mjs parses every body into Go's blocks, byte offsets and all (39.663475ms)
✔ markup.mjs strips and spans every block as Go does (66.324554ms)
✔ the schema's toDOM draws every body as Go renders it (68.633325ms)
✔ emphasis draws the four pinned outputs (16.327348ms)
✔ a body ends in the editor's empty paragraph (0.219878ms)
✔ the editor labels date chips as Go does, in every locale L4 holds (10.01057ms)
✔ a POST that never answers is aborted after the timeout (24.477456ms)
✔ a keepalive POST carries no signal, and an answer clears the timer (1.22923ms)
✔ autosave sends only what differs, and the tab owns the draft it wrote (17.831658ms)
✔ an offered draft never commits by itself; Save commits it (1.583798ms)
✔ reload, then close: sessionStorage says the draft is this tab's own (0.725897ms)
✔ closing carries text not yet sent, and the cap leaves it out (42.064151ms)
✔ clean rebase: applied, the caret survives, the base moves by the rebase POST (2.909006ms)
✔ the block under the caret is the teammate's too, and undo brings back yours (2.519494ms)
✔ typing mid-flight: the merge is not applied and the base does not move (1.14247ms)
✔ a merge the editor cannot represent stops after three tries (5.316792ms)
✔ a conflict is shown, locks the editor's own commits, and Resolve settles it (1.921815ms)
✔ leaving: a conflict stays with the choice; a failed flush offers Leave anyway; a stored draft leaves (1.809687ms)
✔ a stale tab shows the newer draft, offered, and never overwrites it (1.182875ms)
✔ the first scratch commit: empty creates nothing, then one page, then drafts on it (0.918964ms)
✔ noBase and gone lead to the existing choices (0.88992ms)
✔ a commit that merged is applied when nothing was typed since (1.027967ms)
✔ back from the cache: nothing unsaved reloads, unsaved text autosaves at once (8.496872ms)
✔ an own draft committed meanwhile goes on as a new draft (1.55283ms)
✔ a reload keeps a stored draft; unsent text still commits (0.701592ms)
✔ a page deleted mid-edit: what is typed is still stored as the draft, and nothing commits (H1) (1.721484ms)
✔ an offered draft committed in another tab: typing goes on as a new draft (H1) (3.364872ms)
✔ a commit reply without a revision is not a commit; an emptied day starts afresh (H2) (0.957937ms)
✔ Resolve stores what was typed first, and takes no typing until its answer is applied (M1) (1.585051ms)
✔ closing with a choice open, or commits held, still writes the text, never commits (M2) (1.017668ms)
✔ closing inside the settling window sends the loaded version with settling=1 (M3) (0.469181ms)
✔ a clean merge not applied because of typing still ends the choice on show (M4) (0.881556ms)
✔ settling finds the draft committed with a teammate's text: a close still writes (M-A) (0.508924ms)
✔ settling finds another tab's newer draft: the tab shows it before any typing (0.714114ms)
✔ a page deleted before the first autosave: the text is offered as a scratch page, and a close makes one (M-B) (0.565038ms)
✔ an autosave that never answered but landed: its 409 keeps the typing since (L3) (0.550802ms)
✔ marks: em outside strong, bold reopened around italics, edges outside (6.672728ms)
✔ marks close before code, links and atoms, and reopen after (0.523461ms)
✔ untouched blocks and atoms re-emit their source; edited atoms are written from attributes (8.459643ms)
✔ empty blocks are written as nothing (3.361986ms)
✔ an unclosed fence that is no longer last gets its closing fence (3.011777ms)
✔ the structure check puts Join's seam where a kept one would merge two blocks (2.795005ms)
✔ prepareSave adopts the parse when no seam or rewrite can save the document (3.677843ms)
✔ reparse: typed emphasis becomes a mark, "- " after a break becomes an item (3.929429ms)
✔ a trailing hard break stays on screen and is written as nothing (1.051321ms)
✔ the reparse waits while an IME is composing (1.19669ms)
✔ copied blocks paste with their bytes and seams; a cut and paste gives the body back (5.624864ms)
✔ a forged x-mapa slice is refused, and text from outside is read as Markdown (0.676155ms)
✔ rebuild changes origins only, outside undo history (3.705714ms)
✔ applyBody takes a teammate's block, keeps the caret, and ends untouched (2.438454ms)
✔ a block whose context changed is written again: a task toggled, a bullet, a quote (2.388631ms)
✔ a duplicate ^id typed above its holder never takes the id from it (1.594578ms)
✔ a copy-dragged block is reparsed, and says what its Markdown says (1.628621ms)
✔ a history command that throws is refused, never thrown (7.502688ms)
✔ an image re-emits its source, and an edited alt changes only its span (1.062091ms)
✔ a paste whose image copy is refused says why and pastes nothing (14.775589ms)
✔ a line of image openers reads in linear time (118.260686ms)
✔ a line of shared link address reads in linear time (11.889876ms)
✔ a line of shared web address reads in linear time (38.566882ms)
✔ one rename at a time, from either field (2.038521ms)
✔ an empty or unchanged title sends nothing (0.23158ms)
✔ a refusal keeps what was typed, and the title (0.736917ms)
✔ the pending state holds for the busy rule (8.087905ms)
✔ a failed POST says so and keeps the title (0.407686ms)
✔ Update links posts the confirm page's POST (1.185439ms)
✔ clean is CleanTitle's whitespace rule (0.213336ms)
✔ the saver's base follows a rename made over it, and only that (0.34545ms)
✔ closing sends the rename as one keepalive POST (3.019882ms)
✔ the port answers every shared case as typeddate.go does (6.367902ms)
✔ numbers follow the locale: 12/11 is November in en-IE, December in en-US (0.29121ms)
✔ M6: several files land in the order they were chosen (44.114823ms)
✔ M5: one Backspace before the box keeps the image where the box is (11.894344ms)
✔ M5: undoing text typed just before the box keeps the upload (12.842493ms)
✔ L12: a failed upload an undo takes away does not stall the next (13.29929ms)
✔ M4: Replace… keeps the old image until the new one is in, and its alt (14.423226ms)
✔ M3 and N1: text wins, except over a picture copied from a page (1.303408ms)
✔ N2: a JPEG over 10 MB is scaled before its size is checked (5.291495ms)
✔ a drag whose anchor the document no longer reaches selects to its end (7.263944ms)
ℹ tests 143
ℹ suites 0
ℹ pass 143
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 8992.773323
=== 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	3.542s
ok  	amadan.net/oficina/mapa/internal/mapa/emoji	(cached)
?   	amadan.net/oficina/mapa/internal/mapa/icons	[no test files]
ok  	amadan.net/oficina/mapa/internal/mapa/imagefile	(cached)
ok  	amadan.net/oficina/mapa/internal/mapa/locale	(cached)
ok  	amadan.net/oficina/mapa/internal/mapa/markup	(cached)
ok  	amadan.net/oficina/mapa/internal/mapa/notionmd	(cached)
ok  	amadan.net/oficina/mapa/internal/mapa/seal	(cached)
ok  	amadan.net/oficina/mapa/internal/mapatest	13.416s
?   	amadan.net/oficina/mapa/scripts/mutate	[no test files]
?   	amadan.net/oficina/mapa/scripts/preview	[no test files]
=== migration-check ===
go tool rastrillo migration check
rastrillo migration check: models and migrations agree
=== credits-check ===
python3 scripts/credits.py --check
credits: checked
diff --git a/internal/mapa/credits/assets.json b/internal/mapa/credits/assets.json
index 6d6d08f..e91edd2 100644
--- a/internal/mapa/credits/assets.json
+++ b/internal/mapa/credits/assets.json
@@ -3,7 +3,7 @@
"editor/bundles.mjs": "3fb2d43dfa091b0020dfd6fb23a85d2cbcb20d7c90fd24b9463694ffd2ac0db6",
"editor/package-lock.json": "61e175cc0d0eebb9bae68dbcaa608606d3ef2f6237450c3ff737d441e59820d0",
"editor/package.json": "38438071c59630a33365d95fcb5bea93e33e4fe571faa85ded62247b9b2d0905",
- "internal/mapa/static/editor.ca5ef847c9df9e7d.js": "ca5ef847c9df9e7dcd24663130c328b5c4fb3100cda21fd80b2ad752fc5647e5"
+ "internal/mapa/static/editor.bad1b29c273b6a86.js": "bad1b29c273b6a86b8869c69d5bd65f15f1e5debee77cb1119b3217d100a16e7"
},
"components": [
{