oficina / slides Public

Merge main into quieter-editor

Brings in the mail change so CI tests what would land.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 92febc2690220d889a633e5e9c0efcc96d0097e5 parent f5774b3parent 796008c
9 files changed, +191 −18
  • AGENTS.md +12 −0
  • Makefile +3 −1
  • cmd/slides/mail_test.go +133 −0
  • cmd/slides/main.go +35 −11
  • go.mod +1 −1
  • go.sum +2 −2
  • internal/slides/auth.go +1 −1
  • internal/slides/config.go +3 −1
  • internal/slides/credits/notices.json +1 −1

CI passed — run details

CI log
=== gate ===
=== rust: fmt
=== rust: clippy
    Updating crates.io index
 Downloading crates ...
  Downloaded arrayvec v0.7.8
  Downloaded ahash v0.8.12
  Downloaded async-lock v3.4.2
  Downloaded async-trait v0.1.92
  Downloaded equivalent v1.0.2
  Downloaded arc-swap v1.9.2
  Downloaded event-listener-strategy v0.5.4
  Downloaded foldhash v0.2.0
  Downloaded proc-macro2 v1.0.107
  Downloaded once_cell v1.21.4
  Downloaded autocfg v1.5.1
  Downloaded pin-project-lite v0.2.17
  Downloaded num-traits v0.2.19
  Downloaded hashbrown v0.14.5
  Downloaded lock_api v0.4.14
  Downloaded cfg-if v1.0.4
  Downloaded crossbeam-utils v0.8.22
  Downloaded num-derive v0.4.2
  Downloaded string-interner v0.17.0
  Downloaded paste v1.0.15
  Downloaded itoa v1.0.18
  Downloaded parking_lot_core v0.9.12
  Downloaded multi-stash v0.2.0
  Downloaded quote v1.0.47
  Downloaded indexmap-nostd v0.4.0
  Downloaded version_check v0.9.5
  Downloaded downcast-rs v1.2.1
  Downloaded scopeguard v1.2.0
  Downloaded smallstr v0.3.1
  Downloaded spin v0.9.9
  Downloaded thiserror v2.0.20
  Downloaded parking v2.2.1
  Downloaded bitflags v2.13.1
  Downloaded dashmap v6.2.1
  Downloaded zmij v1.0.23
  Downloaded indexmap v2.14.1
  Downloaded libm v0.2.16
  Downloaded unicode-ident v1.0.24
  Downloaded wasmi_core v0.32.3
  Downloaded rustversion v1.0.23
  Downloaded serde_derive v1.0.229
  Downloaded thiserror-impl v2.0.20
  Downloaded event-listener v5.4.2
  Downloaded smallvec v1.15.2
  Downloaded semver v1.0.28
  Downloaded wasmi_collections v0.32.3
  Downloaded hashbrown v0.17.1
  Downloaded serde_core v1.0.229
  Downloaded serde v1.0.229
  Downloaded memchr v2.8.3
  Downloaded wasmparser-nostd v0.100.2
  Downloaded syn v2.0.119
  Downloaded serde_json v1.0.151
  Downloaded zerocopy v0.8.56
  Downloaded wasmparser v0.258.0
  Downloaded yrs v0.23.5
  Downloaded wasmi v0.32.3
  Downloaded syn v3.0.4
  Downloaded libc v0.2.189
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.24
   Compiling serde_core v1.0.229
   Compiling version_check v0.9.5
   Compiling zerocopy v0.8.56
    Checking cfg-if v1.0.4
   Compiling serde v1.0.229
    Checking once_cell v1.21.4
   Compiling libc v0.2.189
    Checking smallvec v1.15.2
   Compiling autocfg v1.5.1
   Compiling crossbeam-utils v0.8.22
    Checking parking v2.2.1
   Compiling rustversion v1.0.23
   Compiling parking_lot_core v0.9.12
    Checking pin-project-lite v0.2.17
   Compiling zmij v1.0.23
    Checking event-listener v5.4.2
   Compiling libm v0.2.16
    Checking scopeguard v1.2.0
   Compiling paste v1.0.15
   Compiling thiserror v2.0.20
   Compiling serde_json v1.0.151
   Compiling ahash v0.8.12
   Compiling num-traits v0.2.19
    Checking event-listener-strategy v0.5.4
    Checking lock_api v0.4.14
    Checking foldhash v0.2.0
    Checking itoa v1.0.18
    Checking memchr v2.8.3
    Checking async-lock v3.4.2
    Checking smallstr v0.3.1
    Checking fastrand v2.5.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/vendor/fastrand-2.5.0)
    Checking indexmap-nostd v0.4.0
    Checking downcast-rs v1.2.1
    Checking equivalent v1.0.2
    Checking semver v1.0.28
    Checking spin v0.9.9
    Checking wasmparser-nostd v0.100.2
    Checking bitflags v2.13.1
    Checking multi-stash v0.2.0
    Checking arrayvec v0.7.8
    Checking arc-swap v1.9.2
   Compiling syn v3.0.4
   Compiling syn v2.0.119
    Checking wasmi_core v0.32.3
    Checking hashbrown v0.17.1
    Checking indexmap v2.14.1
   Compiling num-derive v0.4.2
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling async-trait v0.1.92
    Checking hashbrown v0.14.5
    Checking dashmap v6.2.1
    Checking string-interner v0.17.0
    Checking yrs v0.23.5
    Checking wasmparser v0.258.0
    Checking wasmi_collections v0.32.3
    Checking wasmi v0.32.3
    Checking slides-core v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.62s
=== the embedded wasm must be built from these sources
wasm-stamp: internal/slides/core/testdata/slides_core.wasm was built from these inputs
=== wasm: the artifact the host embeds
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
 Downloading crates ...
  Downloaded getrandom v0.4.3
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.24
   Compiling cfg-if v1.0.4
   Compiling serde_core v1.0.229
   Compiling getrandom v0.4.3
   Compiling crossbeam-utils v0.8.22
   Compiling parking_lot_core v0.9.12
   Compiling smallvec v1.15.2
   Compiling zmij v1.0.23
   Compiling rustversion v1.0.23
   Compiling pin-project-lite v0.2.17
   Compiling thiserror v2.0.20
   Compiling scopeguard v1.2.0
   Compiling serde v1.0.229
   Compiling serde_json v1.0.151
   Compiling once_cell v1.21.4
   Compiling itoa v1.0.18
   Compiling hashbrown v0.14.5
   Compiling event-listener v5.4.2
   Compiling lock_api v0.4.14
   Compiling memchr v2.8.3
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/vendor/fastrand-2.5.0)
   Compiling smallstr v0.3.1
   Compiling event-listener-strategy v0.5.4
   Compiling async-lock v3.4.2
   Compiling arc-swap v1.9.2
   Compiling dashmap v6.2.1
   Compiling syn v3.0.4
   Compiling thiserror-impl v2.0.20
   Compiling serde_derive v1.0.229
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5
   Compiling slides-core v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core)
    Finished `release` profile [optimized] target(s) in 10.47s
core/target/wasm32-unknown-unknown/release/slides_core.wasm (783045 bytes)
=== the embedded wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== rust: test
   Compiling cfg-if v1.0.4
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.2
   Compiling pin-project-lite v0.2.17
   Compiling parking v2.2.1
   Compiling serde_core v1.0.229
   Compiling zerocopy v0.8.56
   Compiling libc v0.2.189
   Compiling scopeguard v1.2.0
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling foldhash v0.2.0
   Compiling memchr v2.8.3
   Compiling itoa v1.0.18
   Compiling thiserror v2.0.20
   Compiling libm v0.2.16
   Compiling num-traits v0.2.19
   Compiling lock_api v0.4.14
   Compiling arc-swap v1.9.2
   Compiling event-listener v5.4.2
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/vendor/fastrand-2.5.0)
   Compiling downcast-rs v1.2.1
   Compiling smallstr v0.3.1
   Compiling equivalent v1.0.2
   Compiling indexmap-nostd v0.4.0
   Compiling semver v1.0.28
   Compiling spin v0.9.9
   Compiling event-listener-strategy v0.5.4
   Compiling arrayvec v0.7.8
   Compiling multi-stash v0.2.0
   Compiling bitflags v2.13.1
   Compiling async-lock v3.4.2
   Compiling wasmparser-nostd v0.100.2
   Compiling parking_lot_core v0.9.12
   Compiling wasmi_core v0.32.3
   Compiling serde v1.0.229
   Compiling hashbrown v0.17.1
   Compiling serde_json v1.0.151
   Compiling indexmap v2.14.1
   Compiling wasmparser v0.258.0
   Compiling ahash v0.8.12
   Compiling hashbrown v0.14.5
   Compiling dashmap v6.2.1
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling yrs v0.23.5
   Compiling wasmi v0.32.3
   Compiling slides-core v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 11.85s
     Running unittests src/lib.rs (core/target/debug/deps/slides_core-e2842964c29de994)

running 30 tests
test layout::tests::aside_region_rect ... ok
test check::tests::the_empty_document_passes ... ok
test layout::tests::body_region_rect_narrows_for_an_aside ... ok
test layout::tests::heading_region_rect ... ok
test layout::tests::default_region_by_kind ... ok
test layout::tests::media_region_rect ... ok
test markdown::tests::empty_input_is_no_paragraphs_and_lines_keep_blanks ... ok
test markdown::tests::inline_marks ... ok
test markdown::tests::paragraphs_split_on_blank_lines_and_list_markers ... ok
test layout::tests::to_canvas_narrows_body_when_an_aside_is_present ... ok
test markdown::tests::marks_nest_and_links_carry_marks ... ok
test layout::tests::to_canvas_splits_a_shared_region_equally_and_sets_z_by_index ... ok
test layout::tests::to_flow_is_a_no_op_when_already_in_order ... ok
test schema::tests::an_empty_map_reads_as_a_set_mark ... ok
test schema::tests::an_href_map_without_a_string_url_reads_as_no_link ... ok
test schema::tests::href_is_written_as_a_one_key_map_and_reads_back ... ok
test schema::tests::href_written_as_a_plain_string_still_reads_back ... ok
test layout::tests::to_flow_classifies_by_position_and_kind ... ok
test check::tests::what_the_ops_write_passes ... ok
test check::tests::an_element_inside_a_paragraph_is_reported ... ok
test check::tests::bare_text_at_fragment_level_is_reported ... ok
test check::tests::y_prosemirror_shapes_pass ... ok
test check::tests::a_non_paragraph_child_is_reported ... ok
test layout::tests::to_flow_orders_y_then_x ... ok
test check::tests::an_unknown_formatting_attribute_is_reported ... ok
test view::tests::malformed_background_is_the_default ... ok
test view::tests::assets_are_typed_or_skipped ... ok
test view::tests::malformed_box_is_null_and_phone_keeps_only_typed_fields ... ok
test view::tests::malformed_fonts_are_null ... ok
test layout::tests::to_flow_keeps_a_concurrent_text_edit ... ok

test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-0da85e8553d154e5)

running 1 test
test no_host_imports ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/ops.rs (core/target/debug/deps/ops-ac5209169f357f96)

running 12 tests
test add_slide_then_view_lists_it ... ok
test ops_are_atomic ... ok
test add_block_with_markdown_produces_runs ... ok
test layout_switch_assigns_boxes ... ok
test remove_block_drops_it_from_columns_children ... ok
test columns_children_must_name_blocks_on_the_slide ... ok
test duplicate_slide_remaps_columns_children ... ok
test columns_children_have_one_parent_and_no_cycles ... ok
test update_roundtrip ... ok
test move_block_keeps_a_concurrent_text_edit ... ok
test move_slide_keeps_a_concurrent_text_edit ... ok
test remaining_ops_roundtrip ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

   Doc-tests slides_core

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

=== rust: fmt (pdf)
=== rust: clippy (pdf)
    Updating crates.io index
 Downloading crates ...
  Downloaded base64 v0.22.1
  Downloaded adler2 v2.0.1
  Downloaded arrayref v0.3.9
  Downloaded bumpalo v3.20.3
  Downloaded bytemuck v1.25.2
  Downloaded gif v0.14.2
  Downloaded data-url v0.3.2
  Downloaded krilla-svg v0.8.1
  Downloaded polycool v0.4.0
  Downloaded pico-args v0.5.0
  Downloaded byteorder-lite v0.1.0
  Downloaded float-cmp v0.9.0
  Downloaded color_quant v1.1.0
  Downloaded crc32fast v1.5.1
  Downloaded image-webp v0.2.4
  Downloaded font-types v0.11.3
  Downloaded simd-adler32 v0.3.10
  Downloaded core_maths v0.1.1
  Downloaded imagesize v0.14.0
  Downloaded memmap2 v0.9.11
  Downloaded fdeflate v0.3.7
  Downloaded zune-core v0.5.3
  Downloaded bytemuck_derive v1.12.0
  Downloaded miniz_oxide v0.8.9
  Downloaded subsetter v0.2.6
  Downloaded unicode-bidi-mirroring v0.4.0
  Downloaded quick-error v2.0.1
  Downloaded xmlwriter v0.1.0
  Downloaded strict-num v0.1.1
  Downloaded zerofrom v0.1.8
  Downloaded rgb v0.8.53
  Downloaded resvg v0.47.0
  Downloaded siphasher v1.0.3
  Downloaded unicode-ccc v0.4.0
  Downloaded yoke-derive v0.8.2
  Downloaded smallvec v1.16.0
  Downloaded roxmltree v0.21.1
  Downloaded stable_deref_trait v1.2.1
  Downloaded synstructure v0.13.2
  Downloaded unicode-vo v0.1.0
  Downloaded zerofrom-derive v0.1.7
  Downloaded rustc-hash v2.1.3
  Downloaded tinyvec_macros v0.1.1
  Downloaded miniz_oxide v0.9.1
  Downloaded log v0.4.34
  Downloaded simplecss v0.2.2
  Downloaded unicode-bidi v0.3.18
  Downloaded xmp-writer v0.3.3
  Downloaded yoke v0.8.3
  Downloaded fontconfig-parser v0.5.8
  Downloaded svgtypes v0.16.1
  Downloaded tiny-skia-path v0.12.0
  Downloaded unicode-properties v0.1.4
  Downloaded unicode-script v0.5.8
  Downloaded weezl v0.1.12
  Downloaded flate2 v1.1.10
  Downloaded roxmltree v0.20.0
  Downloaded ryu v1.0.23
  Downloaded slotmap v1.1.1
  Downloaded tinyvec v1.13.2
  Downloaded euclid v0.22.14
  Downloaded fontdb v0.23.0
  Downloaded indexmap v2.14.2
  Downloaded kurbo v0.13.1
  Downloaded png v0.18.1
  Downloaded zune-jpeg v0.5.15
  Downloaded usvg v0.47.0
  Downloaded zlib-rs v0.6.7
  Downloaded krilla v0.8.2
  Downloaded ttf-parser v0.25.1
  Downloaded tiny-skia v0.12.0
  Downloaded write-fonts v0.48.1
  Downloaded syn v3.0.5
  Downloaded rustybuzz v0.20.1
  Downloaded skrifa v0.42.1
  Downloaded read-fonts v0.39.2
  Downloaded pdf-writer v0.15.0
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.24
   Compiling autocfg v1.5.1
   Compiling libm v0.2.16
    Checking arrayvec v0.7.8
   Compiling serde_core v1.0.229
    Checking log v0.4.34
    Checking simd-adler32 v0.3.10
    Checking bitflags v2.13.1
    Checking adler2 v2.0.1
   Compiling crc32fast v1.5.1
    Checking smallvec v1.16.0
    Checking cfg-if v1.0.4
    Checking foldhash v0.2.0
   Compiling version_check v0.9.5
   Compiling libc v0.2.189
    Checking arrayref v0.3.9
    Checking memchr v2.8.3
    Checking miniz_oxide v0.9.1
    Checking equivalent v1.0.2
    Checking fdeflate v0.3.7
    Checking miniz_oxide v0.8.9
    Checking unicode-bidi-mirroring v0.4.0
    Checking unicode-ccc v0.4.0
    Checking polycool v0.4.0
    Checking unicode-properties v0.1.4
    Checking tinyvec_macros v0.1.1
    Checking siphasher v1.0.3
    Checking unicode-script v0.5.8
    Checking kurbo v0.13.1
    Checking roxmltree v0.20.0
    Checking tinyvec v1.13.2
    Checking color_quant v1.1.0
   Compiling slotmap v1.1.1
    Checking zune-core v0.5.3
    Checking quick-error v2.0.1
    Checking imagesize v0.14.0
   Compiling num-traits v0.2.19
    Checking base64 v0.22.1
    Checking byteorder-lite v0.1.0
    Checking weezl v0.1.12
    Checking flate2 v1.1.10
    Checking roxmltree v0.21.1
    Checking zune-jpeg v0.5.15
    Checking simplecss v0.2.2
    Checking image-webp v0.2.4
    Checking fontconfig-parser v0.5.8
    Checking unicode-vo v0.1.0
    Checking data-url v0.3.2
    Checking gif v0.14.2
    Checking xmlwriter v0.1.0
    Checking png v0.18.1
    Checking rustc-hash v2.1.3
    Checking unicode-bidi v0.3.18
    Checking itoa v1.0.18
    Checking ryu v1.0.23
    Checking stable_deref_trait v1.2.1
    Checking pico-args v0.5.0
   Compiling serde v1.0.229
    Checking bumpalo v3.20.3
    Checking pdf-writer v0.15.0
    Checking xmp-writer v0.3.3
    Checking semver v1.0.28
    Checking svgtypes v0.16.1
   Compiling syn v3.0.5
    Checking core_maths v0.1.1
   Compiling syn v2.0.119
    Checking ttf-parser v0.25.1
    Checking float-cmp v0.9.0
    Checking strict-num v0.1.1
    Checking memmap2 v0.9.11
    Checking hashbrown v0.17.1
    Checking indexmap v2.14.2
    Checking fontdb v0.23.0
   Compiling bytemuck_derive v1.12.0
   Compiling synstructure v0.13.2
    Checking wasmparser v0.258.0
   Compiling zerofrom-derive v0.1.7
   Compiling yoke-derive v0.8.2
    Checking bytemuck v1.25.2
    Checking font-types v0.11.3
    Checking tiny-skia-path v0.12.0
    Checking rustybuzz v0.20.1
    Checking rgb v0.8.53
    Checking zerofrom v0.1.8
    Checking read-fonts v0.39.2
    Checking yoke v0.8.3
    Checking tiny-skia v0.12.0
    Checking usvg v0.47.0
    Checking resvg v0.47.0
    Checking skrifa v0.42.1
    Checking write-fonts v0.48.1
    Checking subsetter v0.2.6
    Checking krilla v0.8.2
    Checking krilla-svg v0.8.1
    Checking slides-pdf v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/pdf)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.12s
=== the embedded pdf wasm must be built from these sources
wasm-stamp: internal/slides/pdfcore/testdata/slides_pdf.wasm was built from these inputs
=== wasm: the pdf artifact the host embeds
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
build-pdf-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling autocfg v1.5.1
   Compiling arrayvec v0.7.8
   Compiling simd-adler32 v0.3.10
   Compiling log v0.4.34
   Compiling libm v0.2.16
   Compiling smallvec v1.16.0
   Compiling crc32fast v1.5.1
   Compiling adler2 v2.0.1
   Compiling cfg-if v1.0.4
   Compiling bitflags v2.13.1
   Compiling version_check v0.9.5
   Compiling memchr v2.8.3
   Compiling arrayref v0.3.9
   Compiling unicode-ccc v0.4.0
   Compiling miniz_oxide v0.9.1
   Compiling miniz_oxide v0.8.9
   Compiling fdeflate v0.3.7
   Compiling tinyvec_macros v0.1.1
   Compiling polycool v0.4.0
   Compiling unicode-bidi-mirroring v0.4.0
   Compiling equivalent v1.0.2
   Compiling unicode-properties v0.1.4
   Compiling hashbrown v0.17.1
   Compiling unicode-script v0.5.8
   Compiling siphasher v1.0.3
   Compiling tinyvec v1.13.2
   Compiling slotmap v1.1.1
   Compiling kurbo v0.13.1
   Compiling quick-error v2.0.1
   Compiling base64 v0.22.1
   Compiling color_quant v1.1.0
   Compiling num-traits v0.2.19
   Compiling imagesize v0.14.0
   Compiling flate2 v1.1.10
   Compiling byteorder-lite v0.1.0
   Compiling zune-core v0.5.3
   Compiling memmap2 v0.9.11
   Compiling indexmap v2.14.2
   Compiling weezl v0.1.12
   Compiling zune-jpeg v0.5.15
   Compiling image-webp v0.2.4
   Compiling roxmltree v0.21.1
   Compiling simplecss v0.2.2
   Compiling syn v3.0.5
   Compiling syn v2.0.119
   Compiling core_maths v0.1.1
   Compiling ttf-parser v0.25.1
   Compiling png v0.18.1
   Compiling float-cmp v0.9.0
   Compiling strict-num v0.1.1
   Compiling svgtypes v0.16.1
   Compiling gif v0.14.2
   Compiling pico-args v0.5.0
   Compiling data-url v0.3.2
   Compiling itoa v1.0.18
   Compiling xmlwriter v0.1.0
   Compiling unicode-bidi v0.3.18
   Compiling stable_deref_trait v1.2.1
   Compiling unicode-vo v0.1.0
   Compiling rustc-hash v2.1.3
   Compiling ryu v1.0.23
   Compiling bumpalo v3.20.3
   Compiling pdf-writer v0.15.0
   Compiling xmp-writer v0.3.3
   Compiling bytemuck_derive v1.12.0
   Compiling synstructure v0.13.2
   Compiling fontdb v0.23.0
   Compiling zerofrom-derive v0.1.7
   Compiling yoke-derive v0.8.2
   Compiling bytemuck v1.25.2
   Compiling zerofrom v0.1.8
   Compiling yoke v0.8.3
   Compiling font-types v0.11.3
   Compiling tiny-skia-path v0.12.0
   Compiling rustybuzz v0.20.1
   Compiling rgb v0.8.53
   Compiling read-fonts v0.39.2
   Compiling tiny-skia v0.12.0
   Compiling usvg v0.47.0
   Compiling resvg v0.47.0
   Compiling skrifa v0.42.1
   Compiling write-fonts v0.48.1
   Compiling subsetter v0.2.6
   Compiling krilla v0.8.2
   Compiling krilla-svg v0.8.1
   Compiling slides-pdf v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/pdf)
    Finished `release` profile [optimized] target(s) in 17.89s
core/pdf/target/wasm32-unknown-unknown/release/slides_pdf.wasm (4157674 bytes)
=== the embedded pdf wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== rust: test (pdf)
   Compiling log v0.4.34
   Compiling arrayvec v0.7.8
   Compiling simd-adler32 v0.3.10
   Compiling smallvec v1.16.0
   Compiling adler2 v2.0.1
   Compiling bitflags v2.13.1
   Compiling cfg-if v1.0.4
   Compiling foldhash v0.2.0
   Compiling libm v0.2.16
   Compiling serde_core v1.0.229
   Compiling arrayref v0.3.9
   Compiling memchr v2.8.3
   Compiling equivalent v1.0.2
   Compiling num-traits v0.2.19
   Compiling bytemuck v1.25.2
   Compiling libc v0.2.189
   Compiling crc32fast v1.5.1
   Compiling roxmltree v0.20.0
   Compiling unicode-bidi-mirroring v0.4.0
   Compiling miniz_oxide v0.9.1
   Compiling fdeflate v0.3.7
   Compiling miniz_oxide v0.8.9
   Compiling unicode-properties v0.1.4
   Compiling polycool v0.4.0
   Compiling tinyvec_macros v0.1.1
   Compiling unicode-ccc v0.4.0
   Compiling siphasher v1.0.3
   Compiling unicode-script v0.5.8
   Compiling tinyvec v1.13.2
   Compiling font-types v0.11.3
   Compiling slotmap v1.1.1
   Compiling imagesize v0.14.0
   Compiling kurbo v0.13.1
   Compiling fontconfig-parser v0.5.8
   Compiling float-cmp v0.9.0
   Compiling flate2 v1.1.10
   Compiling read-fonts v0.39.2
   Compiling strict-num v0.1.1
   Compiling base64 v0.22.1
   Compiling zune-core v0.5.3
   Compiling color_quant v1.1.0
   Compiling quick-error v2.0.1
   Compiling tiny-skia-path v0.12.0
   Compiling byteorder-lite v0.1.0
   Compiling weezl v0.1.12
   Compiling core_maths v0.1.1
   Compiling png v0.18.1
   Compiling ttf-parser v0.25.1
   Compiling memmap2 v0.9.11
   Compiling image-webp v0.2.4
   Compiling zune-jpeg v0.5.15
   Compiling roxmltree v0.21.1
   Compiling zerofrom v0.1.8
   Compiling simplecss v0.2.2
   Compiling ryu v1.0.23
   Compiling gif v0.14.2
   Compiling unicode-bidi v0.3.18
   Compiling data-url v0.3.2
   Compiling svgtypes v0.16.1
   Compiling xmlwriter v0.1.0
   Compiling pico-args v0.5.0
   Compiling stable_deref_trait v1.2.1
   Compiling unicode-vo v0.1.0
   Compiling rustc-hash v2.1.3
   Compiling itoa v1.0.18
   Compiling yoke v0.8.3
   Compiling rgb v0.8.53
   Compiling bumpalo v3.20.3
   Compiling xmp-writer v0.3.3
   Compiling pdf-writer v0.15.0
   Compiling tiny-skia v0.12.0
   Compiling semver v1.0.28
   Compiling hashbrown v0.17.1
   Compiling serde v1.0.229
   Compiling indexmap v2.14.2
   Compiling rustybuzz v0.20.1
   Compiling fontdb v0.23.0
   Compiling wasmparser v0.258.0
   Compiling usvg v0.47.0
   Compiling resvg v0.47.0
   Compiling write-fonts v0.48.1
   Compiling skrifa v0.42.1
   Compiling subsetter v0.2.6
   Compiling krilla v0.8.2
   Compiling krilla-svg v0.8.1
   Compiling slides-pdf v0.1.0 (/home/ci/work/repos/oficina__slides/wt/quieter-editor/core/pdf)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 19.10s
     Running unittests src/lib.rs (core/pdf/target/debug/deps/slides_pdf-7ec7cd25f86a82d7)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/no_host_imports.rs (core/pdf/target/debug/deps/no_host_imports-09d1f8ca96bf3a46)

running 1 test
test no_host_imports ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/render.rs (core/pdf/target/debug/deps/render-888658dffec5d3c9)

running 6 tests
test a_null_zero_length_pair_is_no_frames_not_a_dereference ... ok
test text_with_no_fonts_at_all_still_renders_the_shapes ... ok
test raster_image_is_embedded ... ok
test abi_frames_round_trip ... ok
test renders_text_as_embedded_glyphs ... ok
test two_svgs_make_two_pages ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

   Doc-tests slides_pdf

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

=== fixtures: node dependencies
v22.23.4
10.9.9
=== fixtures: npm ci (needs the registry — see .amadan/README.md)

added 19 packages, and audited 20 packages in 1s

5 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 10.9.9 -> 12.2.3
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3
npm notice To update run: npm install -g npm@12.2.3
npm notice
=== fixtures: the JS side's own tests
TAP version 13
# Subtest: one finished upload is register_asset plus the block that uses it, in one batch
ok 1 - one finished upload is register_asset plus the block that uses it, in one batch
  ---
  duration_ms: 9.204323
  type: 'test'
  ...
# Subtest: a record missing its numbers still makes an op the core accepts
ok 2 - a record missing its numbers still makes an op the core accepts
  ---
  duration_ms: 1.352268
  type: 'test'
  ...
# Subtest: unusedAssets is what no slide refers to, and remove_asset drops one
ok 3 - unusedAssets is what no slide refers to, and remove_asset drops one
  ---
  duration_ms: 4.199325
  type: 'test'
  ...
# Subtest: the Unused images list reconciles by id and names each Remove button
ok 4 - the Unused images list reconciles by id and names each Remove button
  ---
  duration_ms: 1.821459
  type: 'test'
  ...
# Subtest: an upload refusal is said in words the person can act on
ok 5 - an upload refusal is said in words the person can act on
  ---
  duration_ms: 0.253106
  type: 'test'
  ...
# Subtest: a request is the trimmed prompt, the scope, the slide and the model
ok 6 - a request is the trimmed prompt, the scope, the slide and the model
  ---
  duration_ms: 1.800921
  type: 'test'
  ...
# Subtest: an empty, blank or over-long prompt, or "this slide" with none, is never sent
ok 7 - an empty, blank or over-long prompt, or "this slide" with none, is never sent
  ---
  duration_ms: 0.627097
  type: 'test'
  ...
# Subtest: server words map onto the panel's strings, and anything else is generic
ok 8 - server words map onto the panel's strings, and anything else is generic
  ---
  duration_ms: 0.264802
  type: 'test'
  ...
# Subtest: an answer must be a list of op objects; anything else is generic
ok 9 - an answer must be a list of op objects; anything else is generic
  ---
  duration_ms: 0.880608
  type: 'test'
  ...
# Subtest: an answer is posted as JSON, applied through commit, saved, and focused
ok 10 - an answer is posted as JSON, applied through commit, saved, and focused
  ---
  duration_ms: 0.856285
  type: 'test'
  ...
# Subtest: a slide is focused only once its save is acknowledged
ok 11 - a slide is focused only once its save is acknowledged
  ---
  duration_ms: 0.279947
  type: 'test'
  ...
# Subtest: no ops is "nothing", and nothing is committed
ok 12 - no ops is "nothing", and nothing is committed
  ---
  duration_ms: 0.395485
  type: 'test'
  ...
# Subtest: every failure is a word, and nothing is applied
ok 13 - every failure is a word, and nothing is applied
  ---
  duration_ms: 1.235592
  type: 'test'
  ...
# Subtest: undo takes back the answer's own step, once
ok 14 - undo takes back the answer's own step, once
  ---
  duration_ms: 0.85731
  type: 'test'
  ...
# Subtest: a batch shaped as the server answers it applies through ops.mjs
ok 15 - a batch shaped as the server answers it applies through ops.mjs
  ---
  duration_ms: 11.893933
  type: 'test'
  ...
# Subtest: the toggle is lit while the panel is open, and opening focuses the prompt
ok 16 - the toggle is lit while the panel is open, and opening focuses the prompt
  ---
  duration_ms: 2.554741
  type: 'test'
  ...
# Subtest: a deck with no slide opens on "the whole deck"
ok 17 - a deck with no slide opens on "the whole deck"
  ---
  duration_ms: 0.538602
  type: 'test'
  ...
# Subtest: asking is busy, then says what was done and offers Undo
ok 18 - asking is busy, then says what was done and offers Undo
  ---
  duration_ms: 1.233177
  type: 'test'
  ...
# Subtest: an error is said in the catalog's words, marked, and offers no Undo
ok 19 - an error is said in the catalog's words, marked, and offers no Undo
  ---
  duration_ms: 1.094027
  type: 'test'
  ...
# Subtest: destroy takes every listener away
ok 20 - destroy takes every listener away
  ---
  duration_ms: 0.556348
  type: 'test'
  ...
# Subtest: rowsFor: a canvas box is arranged in layers and placed; a flow box by region
ok 21 - rowsFor: a canvas box is arranged in layers and placed; a flow box by region
  ---
  duration_ms: 1.832362
  type: 'test'
  ...
# Subtest: canOwnContextMenu: never in text being edited, anywhere else on a box
ok 22 - canOwnContextMenu: never in text being edited, anywhere else on a box
  ---
  duration_ms: 0.990179
  type: 'test'
  ...
# Subtest: boxKey: the box's keys, and Delete and the arrows only from the box itself
ok 23 - boxKey: the box's keys, and Delete and the arrows only from the box itself
  ---
  duration_ms: 0.370027
  type: 'test'
  ...
# Subtest: open draws only the rows that apply, and focuses the first
ok 24 - open draws only the rows that apply, and focuses the first
  ---
  duration_ms: 3.329833
  type: 'test'
  ...
# Subtest: a row runs its command and closes; a region row sets the region
ok 25 - a row runs its command and closes; a region row sets the region
  ---
  duration_ms: 1.457374
  type: 'test'
  ...
# Subtest: the arrows move through the rows drawn; Esc closes and focuses the box, and goes no further
ok 26 - the arrows move through the rows drawn; Esc closes and focuses the box, and goes no further
  ---
  duration_ms: 1.536292
  type: 'test'
  ...
# Subtest: place: the round button follows the selection, and an empty selection closes the menu
ok 27 - place: the round button follows the selection, and an empty selection closes the menu
  ---
  duration_ms: 1.346707
  type: 'test'
  ...
# Subtest: a right-click on a box opens the menu; in text being edited it is the browser's
ok 28 - a right-click on a box opens the menu; in text being edited it is the browser's
  ---
  duration_ms: 0.795741
  type: 'test'
  ...
# Subtest: the keys: from the box, from its text, and never from outside the stage
ok 29 - the keys: from the box, from its text, and never from outside the stage
  ---
  duration_ms: 1.256938
  type: 'test'
  ...
# Subtest: sync: the menu closes when the slide's layout changes, and its region checks follow the box
ok 30 - sync: the menu closes when the slide's layout changes, and its region checks follow the box
  ---
  duration_ms: 2.826378
  type: 'test'
  ...
# Subtest: a row that no longer applies to the box does nothing, and closes the menu
ok 31 - a row that no longer applies to the box does nothing, and closes the menu
  ---
  duration_ms: 0.799839
  type: 'test'
  ...
# Subtest: destroy takes every listener off the page's elements
ok 32 - destroy takes every listener off the page's elements
  ---
  duration_ms: 0.385056
  type: 'test'
  ...
# Subtest: place: a stage with no room docks the round button beside the view switch
ok 33 - place: a stage with no room docks the round button beside the view switch
  ---
  duration_ms: 0.984527
  type: 'test'
  ...
# Subtest: place: the round button follows the phone screen's scroll, and goes while its box is out of sight
ok 34 - place: the round button follows the phone screen's scroll, and goes while its box is out of sight
  ---
  duration_ms: 0.697687
  type: 'test'
  ...
# Subtest: buttonSpot: at the top end corner, inside the stage, clear of every handle
ok 35 - buttonSpot: at the top end corner, inside the stage, clear of every handle
  ---
  duration_ms: 1.742646
  type: 'test'
  ...
# Subtest: menuSpot: under its anchor, flipped and kept inside the window
ok 36 - menuSpot: under its anchor, flipped and kept inside the window
  ---
  duration_ms: 1.108948
  type: 'test'
  ...
# Subtest: buttonSpot: any box, a tiny one in a corner included, gets a spot that covers no handle
ok 37 - buttonSpot: any box, a tiny one in a corner included, gets a spot that covers no handle
  ---
  duration_ms: 78.385137
  type: 'test'
  ...
# Subtest: buttonSpot: the reviewer's box filling a small stage, and boxes filling stages
ok 38 - buttonSpot: the reviewer's box filling a small stage, and boxes filling stages
  ---
  duration_ms: 2.512164
  type: 'test'
  ...
# Subtest: buttonSpot: thousands of boxes, every answer fits, null only when nothing does
ok 39 - buttonSpot: thousands of boxes, every answer fits, null only when nothing does
  ---
  duration_ms: 39.574024
  type: 'test'
  ...
# Subtest: clip: what can be seen of a rect through a frame; the rect itself where the frame has no box
ok 40 - clip: what can be seen of a rect through a frame; the rect itself where the frame has no box
  ---
  duration_ms: 0.297122
  type: 'test'
  ...
# Subtest: buttonSpot: clear of the other boxes where it can be, over one only where nothing else fits
ok 41 - buttonSpot: clear of the other boxes where it can be, over one only where nothing else fits
  ---
  duration_ms: 0.619253
  type: 'test'
  ...
# Subtest: clampBox keeps the box inside the frame and no smaller than the minimum
ok 42 - clampBox keeps the box inside the frame and no smaller than the minimum
  ---
  duration_ms: 2.91286
  type: 'test'
  ...
# Subtest: fixBox writes four decimals
ok 43 - fixBox writes four decimals
  ---
  duration_ms: 0.350503
  type: 'test'
  ...
# Subtest: guides are the thirds plus every other block edge
ok 44 - guides are the thirds plus every other block edge
  ---
  duration_ms: 0.270285
  type: 'test'
  ...
# Subtest: snapMove pulls the nearest edge onto a guide within one per cent, and leaves a far one
ok 45 - snapMove pulls the nearest edge onto a guide within one per cent, and leaves a far one
  ---
  duration_ms: 0.443824
  type: 'test'
  ...
# Subtest: snapResize moves only the edges the handle drags
ok 46 - snapResize moves only the edges the handle drags
  ---
  duration_ms: 0.272232
  type: 'test'
  ...
# Subtest: moveBox and resizeBox by handle
ok 47 - moveBox and resizeBox by handle
  ---
  duration_ms: 0.270095
  type: 'test'
  ...
# Subtest: nudge: arrows move by half a per cent, Shift by two, Alt resizes
ok 48 - nudge: arrows move by half a per cent, Shift by two, Alt resizes
  ---
  duration_ms: 0.380177
  type: 'test'
  ...
# Subtest: rectBox reads a block rectangle against its frame
ok 49 - rectBox reads a block rectangle against its frame
  ---
  duration_ms: 0.28243
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
ok 50 - a paste that waited for its font is kept: (a) the paste right after the refused x (Fable's probe)
  ---
  duration_ms: 21.951594
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste
ok 51 - a paste that waited for its font is kept: (b) the refused x elsewhere, before the paste
  ---
  duration_ms: 4.780603
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (g) the refused x after the paste point
ok 52 - a paste that waited for its font is kept: (g) the refused x after the paste point
  ---
  duration_ms: 5.760006
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (c) two refused x, the paste after the second
ok 53 - a paste that waited for its font is kept: (c) two refused x, the paste after the second
  ---
  duration_ms: 3.416058
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end
ok 54 - a paste that waited for its font is kept: (i) the refused x mid-paragraph, the paste at its end
  ---
  duration_ms: 2.998674
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (e) the paste over "paragraph.x"
ok 55 - a paste that waited for its font is kept: (e) the paste over "paragraph.x"
  ---
  duration_ms: 5.227749
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (f) a refused deletion elsewhere
ok 56 - a paste that waited for its font is kept: (f) a refused deletion elsewhere
  ---
  duration_ms: 2.787974
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x
ok 57 - a paste that waited for its font is kept: (h) two paragraphs pasted after the refused x
  ---
  duration_ms: 3.088645
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (j) a colleague's words before, the refused x after
ok 58 - a paste that waited for its font is kept: (j) a colleague's words before, the refused x after
  ---
  duration_ms: 7.261599
  type: 'test'
  ...
# Subtest: a paste that waited for its font is kept: (k) a colleague appended where the x was refused
ok 59 - a paste that waited for its font is kept: (k) a colleague appended where the x was refused
  ---
  duration_ms: 6.420951
  type: 'test'
  ...
# Subtest: a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's
ok 60 - a paste into a paragraph the refused change made cannot be kept: nothing is posted, the page is the server's
  ---
  duration_ms: 2.101575
  type: 'test'
  ...
# Subtest: a paste made elsewhere carries as its own updates, not a replay
ok 61 - a paste made elsewhere carries as its own updates, not a replay
  ---
  duration_ms: 1.810958
  type: 'test'
  ...
# Subtest: the replay is one change for an undo manager tracking the carried origin
ok 62 - the replay is one change for an undo manager tracking the carried origin
  ---
  duration_ms: 3.090247
  type: 'test'
  ...
# Subtest: every update written on top of the refused text is held back, not only the first
ok 63 - every update written on top of the refused text is held back, not only the first
  ---
  duration_ms: 1.768355
  type: 'test'
  ...
# Subtest: a Backspace over the refused text is held back
ok 64 - a Backspace over the refused text is held back
  ---
  duration_ms: 1.044683
  type: 'test'
  ...
# Subtest: of an update that partly took, the part that took is posted, and nothing the server would hold pending
ok 65 - of an update that partly took, the part that took is posted, and nothing the server would hold pending
  ---
  duration_ms: 3.047892
  type: 'test'
  ...
# Subtest: an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words
ok 66 - an update that rewrites formatting and writes on top of the refused text posts the formatting, not the words
  ---
  duration_ms: 1.630117
  type: 'test'
  ...
# Subtest: a paste elsewhere is posted and a keystroke after the refused x is not
ok 67 - a paste elsewhere is posted and a keystroke after the refused x is not
  ---
  duration_ms: 2.305001
  type: 'test'
  ...
# Subtest: took reads all, some and none from the update itself
ok 68 - took reads all, some and none from the update itself
  ---
  duration_ms: 1.382147
  type: 'test'
  ...
# Subtest: a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client)
ok 69 - a Backspace over this tab's own saved words and its refused ones together posts the saved part (one delete range, one client)
  ---
  duration_ms: 4.913562
  type: 'test'
  ...
# Subtest: a paste right after a refused repeated letter lands where it was made
ok 70 - a paste right after a refused repeated letter lands where it was made
  ---
  duration_ms: 4.360995
  type: 'test'
  ...
# Subtest: a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere)
ok 71 - a change made in a clean spot is not lost with one held back on the refused text (on the refused text, then elsewhere)
  ---
  duration_ms: 1.843814
  type: 'test'
  ...
# Subtest: a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text)
ok 72 - a change made in a clean spot is not lost with one held back on the refused text (elsewhere, then on the refused text)
  ---
  duration_ms: 1.284152
  type: 'test'
  ...
# Subtest: the keeper groups the updates of one held change into one entry, and hands the entries over once
ok 73 - the keeper groups the updates of one held change into one entry, and hands the entries over once
  ---
  duration_ms: 0.536489
  type: 'test'
  ...
# Subtest: every change made while diverged is kept, whatever it was written on
ok 74 - every change made while diverged is kept, whatever it was written on
  ---
  duration_ms: 6.838981
  type: 'test'
  ...
# Subtest: a change that cannot be kept in the middle loses nothing after it
ok 75 - a change that cannot be kept in the middle loses nothing after it
  ---
  duration_ms: 3.505667
  type: 'test'
  ...
# Subtest: a replay that cannot be made falls back to what of the change's own updates integrates
ok 76 - a replay that cannot be made falls back to what of the change's own updates integrates
  ---
  duration_ms: 1.453329
  type: 'test'
  ...
# Subtest: the carried changes undo in the steps they were made in
ok 77 - the carried changes undo in the steps they were made in
  ---
  duration_ms: 3.968309
  type: 'test'
  ...
# Subtest: a multi-step change replays each step where it was made: an insert, then an insert just before the refused text
ok 78 - a multi-step change replays each step where it was made: an insert, then an insert just before the refused text
  ---
  duration_ms: 0.809154
  type: 'test'
  ...
# Subtest: a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on
ok 79 - a multi-step change replays each step where it was made: an insert, then a mark over it, the refused text two letters on
  ---
  duration_ms: 0.783781
  type: 'test'
  ...
# Subtest: a multi-step change replays each step where it was made: a delete, then an insert past the refused text
ok 80 - a multi-step change replays each step where it was made: a delete, then an insert past the refused text
  ---
  duration_ms: 0.305193
  type: 'test'
  ...
# Subtest: a mark made over an insertion in the same change covers all of it
ok 81 - a mark made over an insertion in the same change covers all of it
  ---
  duration_ms: 0.396459
  type: 'test'
  ...
# Subtest: a multi-step change on the refused text is replayed where it was made, on the page and the server
ok 82 - a multi-step change on the refused text is replayed where it was made, on the page and the server
  ---
  duration_ms: 2.665975
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
ok 83 - an undo or a redo while diverged ends as the person saw it: A: "abc" on the x; Backspace; undo the Backspace
  ---
  duration_ms: 5.375048
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo
ok 84 - an undo or a redo while diverged ends as the person saw it: B: "a" on the x; select it, type "b"; undo
  ---
  duration_ms: 6.284677
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo
ok 85 - an undo or a redo while diverged ends as the person saw it: C: "a" on the x; Backspace; undo
  ---
  duration_ms: 5.651231
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed
ok 86 - an undo or a redo while diverged ends as the person saw it: D: "a" on the x; Backspace; undo; "b" typed
  ---
  duration_ms: 4.118611
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo
ok 87 - an undo or a redo while diverged ends as the person saw it: E: "a" on the x; Backspace; undo; redo
  ---
  duration_ms: 4.121354
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo
ok 88 - an undo or a redo while diverged ends as the person saw it: F: "a" elsewhere; Backspace; undo
  ---
  duration_ms: 3.273625
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo
ok 89 - an undo or a redo while diverged ends as the person saw it: G: "a" on the x; undo; redo; undo; redo
  ---
  duration_ms: 5.431927
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c"
ok 90 - an undo or a redo while diverged ends as the person saw it: H: "a" on the x; "b"; undo; undo; redo; redo; "c"
  ---
  duration_ms: 6.549003
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo
ok 91 - an undo or a redo while diverged ends as the person saw it: I: "a" on the x; Backspace over "xa"; undo
  ---
  duration_ms: 3.349594
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo
ok 92 - an undo or a redo while diverged ends as the person saw it: J: "a" on the x; Backspace over ".xa"; undo
  ---
  duration_ms: 3.344716
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo
ok 93 - an undo or a redo while diverged ends as the person saw it: K: the x and "a" one undo step; undo; redo
  ---
  duration_ms: 3.206515
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
ok 94 - an undo or a redo while diverged ends as the person saw it: L: "a" on the x; undo; "b"; undo; redo
  ---
  duration_ms: 6.583785
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo
ok 95 - an undo or a redo while diverged ends as the person saw it: M: two words pasted on the x; the first deleted; undo
  ---
  duration_ms: 2.843599
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
ok 96 - an undo or a redo while diverged ends as the person saw it: N: "a" on the x; undo
  ---
  duration_ms: 2.172147
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b"
ok 97 - an undo or a redo while diverged ends as the person saw it: O: "a" on the x; undo; "b"
  ---
  duration_ms: 2.632279
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo
ok 98 - an undo or a redo while diverged ends as the person saw it: P: "a" on the x; "b" elsewhere; undo; undo
  ---
  duration_ms: 2.334557
  type: 'test'
  ...
# Subtest: an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
ok 99 - an undo or a redo while diverged ends as the person saw it: Q: "a" on the x; undo; redo; "c"
  ---
  duration_ms: 3.00737
  type: 'test'
  ...
# Subtest: an undo of a change saved before the refusal is still carried
ok 100 - an undo of a change saved before the refusal is still carried
  ---
  duration_ms: 2.029825
  type: 'test'
  ...
# Subtest: derivedStep turns one document into the other, and is null for the same one
ok 101 - derivedStep turns one document into the other, and is null for the same one
  ---
  duration_ms: 0.215742
  type: 'test'
  ...
# Subtest: carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
ok 102 - carrying grows linearly over a long divergence: changes typed elsewhere, 1000 against 4000, under few client ids
  ---
  duration_ms: 2124.858921
  type: 'test'
  ...
# Subtest: carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids
ok 103 - carrying grows linearly over a long divergence: changes typed on the refused text, 500 against 2000, under few client ids
  ---
  duration_ms: 3985.482776
  type: 'test'
  ...
# Subtest: a client id never collides with one the document already holds
ok 104 - a client id never collides with one the document already holds
  ---
  duration_ms: 0.482416
  type: 'test'
  ...
# Subtest: ProseMirror changes inside one window share an id; one held back there does not strand the next
ok 105 - ProseMirror changes inside one window share an id; one held back there does not strand the next
  ---
  duration_ms: 1.901801
  type: 'test'
  ...
# Subtest: typing into a block is a text change on its slide only
ok 106 - typing into a block is a text change on its slide only
  ---
  duration_ms: 8.91795
  type: 'test'
  ...
# Subtest: a block's props changing is structure on its slide
ok 107 - a block's props changing is structure on its slide
  ---
  duration_ms: 1.735845
  type: 'test'
  ...
# Subtest: adding, moving or removing a block is structure on its slide
ok 108 - adding, moving or removing a block is structure on its slide
  ---
  duration_ms: 2.775884
  type: 'test'
  ...
# Subtest: the notes are text on their slide
ok 109 - the notes are text on their slide
  ---
  duration_ms: 1.529871
  type: 'test'
  ...
# Subtest: a slide added, removed or moved is an order change
ok 110 - a slide added, removed or moved is an order change
  ---
  duration_ms: 2.666592
  type: 'test'
  ...
# Subtest: one transaction touching several things reports each once
ok 111 - one transaction touching several things reports each once
  ---
  duration_ms: 1.112178
  type: 'test'
  ...
# Subtest: what the ops write passes, and so does an empty document
ok 112 - what the ops write passes, and so does an empty document
  ---
  duration_ms: 9.487445
  type: 'test'
  ...
# Subtest: the shapes y-prosemirror and older documents write pass
ok 113 - the shapes y-prosemirror and older documents write pass
  ---
  duration_ms: 1.739684
  type: 'test'
  ...
# Subtest: an unknown formatting attribute is reported with the core's message
ok 114 - an unknown formatting attribute is reported with the core's message
  ---
  duration_ms: 2.446749
  type: 'test'
  ...
# Subtest: an element inside a paragraph, a non-paragraph child and bare text are reported
ok 115 - an element inside a paragraph, a non-paragraph child and bare text are reported
  ---
  duration_ms: 3.848258
  type: 'test'
  ...
# Subtest: the unknownmark poison shape is what the check refuses
ok 116 - the unknownmark poison shape is what the check refuses
  ---
  duration_ms: 3.702541
  type: 'test'
  ...
# Subtest: y-prosemirror 1.3.7 deletes the words under an unknown mark; sanitising first keeps them
ok 117 - y-prosemirror 1.3.7 deletes the words under an unknown mark; sanitising first keeps them
  ---
  duration_ms: 4.551057
  type: 'test'
  ...
# Subtest: the vocabulary is the five marks and nothing else
ok 118 - the vocabulary is the five marks and nothing else
  ---
  duration_ms: 0.14414
  type: 'test'
  ...
# Subtest: a reload reuses the id this tab stored for the deck
ok 119 - a reload reuses the id this tab stored for the deck
  ---
  duration_ms: 1.067359
  type: 'test'
  ...
# Subtest: two tabs, and two decks in one tab, get different ids
ok 120 - two tabs, and two decks in one tab, get different ids
  ---
  duration_ms: 0.956085
  type: 'test'
  ...
# Subtest: a stored value that is not an id, or storage that throws, gives a fresh id
ok 121 - a stored value that is not an id, or storage that throws, gives a fresh id
  ---
  duration_ms: 0.464121
  type: 'test'
  ...
# Subtest: a duplicated tab gives up the copied id; the original keeps it
ok 122 - a duplicated tab gives up the copied id; the original keeps it
  ---
  duration_ms: 7.122452
  type: 'test'
  ...
# Subtest: a reload finds no rival and keeps its id
ok 123 - a reload finds no rival and keeps its id
  ---
  duration_ms: 2.588854
  type: 'test'
  ...
# Subtest: presence switches id: beats carry the new one and the old one is somebody else
ok 124 - presence switches id: beats carry the new one and the old one is somebody else
  ---
  duration_ms: 1.176334
  type: 'test'
  ...
# Subtest: setTitle commits the deck's title, one set_meta
ok 125 - setTitle commits the deck's title, one set_meta
  ---
  duration_ms: 1.757576
  type: 'test'
  ...
# Subtest: accent-reset commits the theme's accent back, once
ok 126 - accent-reset commits the theme's accent back, once
  ---
  duration_ms: 0.27939
  type: 'test'
  ...
# Subtest: addBlock commits the kind after the selected box, then selects it; refused, selects nothing
ok 127 - addBlock commits the kind after the selected box, then selects it; refused, selects nothing
  ---
  duration_ms: 1.402764
  type: 'test'
  ...
# Subtest: addBlock with no slide on the stage commits nothing
ok 128 - addBlock with no slide on the stage commits nothing
  ---
  duration_ms: 0.38419
  type: 'test'
  ...
# Subtest: the box menu's rows into the card: Format and Position and size, for a selected box only
ok 129 - the box menu's rows into the card: Format and Position and size, for a selected box only
  ---
  duration_ms: 0.327157
  type: 'test'
  ...
# Subtest: a change that loads runs once and releases the queue in order
ok 130 - a change that loads runs once and releases the queue in order
  ---
  duration_ms: 6.107564
  type: 'test'
  ...
# Subtest: a refusal releases the queue in order and refills the inspector
ok 131 - a refusal releases the queue in order and refills the inspector
  ---
  duration_ms: 1.192725
  type: 'test'
  ...
# Subtest: a refusal whose notice throws still releases the queue
ok 132 - a refusal whose notice throws still releases the queue
  ---
  duration_ms: 1.217853
  type: 'test'
  ...
# Subtest: a change that throws still releases the queue, and is refused
ok 133 - a change that throws still releases the queue, and is refused
  ---
  duration_ms: 0.893901
  type: 'test'
  ...
# Subtest: a change that can no longer be made once its font is in is said as interrupted, not as a font that failed
ok 134 - a change that can no longer be made once its font is in is said as interrupted, not as a font that failed
  ---
  duration_ms: 1.027999
  type: 'test'
  ...
# Subtest: a second change during a wait is refused at once and never queued
ok 135 - a second change during a wait is refused at once and never queued
  ---
  duration_ms: 0.656072
  type: 'test'
  ...
# Subtest: free() with no wait on resolves at once
ok 136 - free() with no wait on resolves at once
  ---
  duration_ms: 0.543141
  type: 'test'
  ...
# Subtest: a wait makes the Deck settings dialog inert with the card
ok 137 - a wait makes the Deck settings dialog inert with the card
  ---
  duration_ms: 1.23498
  type: 'test'
  ...
# Subtest: the shared vectors have cases to check
ok 138 - the shared vectors have cases to check
  ---
  duration_ms: 1.280536
  type: 'test'
  ...
# Subtest: familiesOfView: an empty deck draws in nothing
ok 139 - familiesOfView: an empty deck draws in nothing
  ---
  duration_ms: 0.915528
  type: 'test'
  ...
# Subtest: familiesOfView: paper: serif headings, sans body
ok 140 - familiesOfView: paper: serif headings, sans body
  ---
  duration_ms: 0.538919
  type: 'test'
  ...
# Subtest: familiesOfView: ink: sans for both
ok 141 - familiesOfView: ink: sans for both
  ---
  duration_ms: 0.206365
  type: 'test'
  ...
# Subtest: familiesOfView: an unknown theme is paper
ok 142 - familiesOfView: an unknown theme is paper
  ---
  duration_ms: 0.158616
  type: 'test'
  ...
# Subtest: familiesOfView: a code block brings in mono
ok 143 - familiesOfView: a code block brings in mono
  ---
  duration_ms: 0.13698
  type: 'test'
  ...
# Subtest: familiesOfView: an empty code block still does
ok 144 - familiesOfView: an empty code block still does
  ---
  duration_ms: 0.328249
  type: 'test'
  ...
# Subtest: familiesOfView: a code mark in a text block
ok 145 - familiesOfView: a code mark in a text block
  ---
  duration_ms: 0.334226
  type: 'test'
  ...
# Subtest: familiesOfView: a code mark in a heading
ok 146 - familiesOfView: a code mark in a heading
  ---
  duration_ms: 0.519453
  type: 'test'
  ...
# Subtest: familiesOfView: a code mark in a table cell
ok 147 - familiesOfView: a code mark in a table cell
  ---
  duration_ms: 0.728729
  type: 'test'
  ...
# Subtest: familiesOfView: a code mark in the notes is the chrome's
ok 148 - familiesOfView: a code mark in the notes is the chrome's
  ---
  duration_ms: 0.2933
  type: 'test'
  ...
# Subtest: familiesOfView: bold, italic, highlight and links stay in the family
ok 149 - familiesOfView: bold, italic, highlight and links stay in the family
  ---
  duration_ms: 1.201915
  type: 'test'
  ...
# Subtest: familiesOfView: the inspector's system heading drops serif
ok 150 - familiesOfView: the inspector's system heading drops serif
  ---
  duration_ms: 0.259412
  type: 'test'
  ...
# Subtest: familiesOfView: system faces for both draw in no web face
ok 151 - familiesOfView: system faces for both draw in no web face
  ---
  duration_ms: 0.081507
  type: 'test'
  ...
# Subtest: familiesOfView: a body override naming mono
ok 152 - familiesOfView: a body override naming mono
  ---
  duration_ms: 0.068056
  type: 'test'
  ...
# Subtest: familiesOfView: a family anywhere in a stack counts
ok 153 - familiesOfView: a family anywhere in a stack counts
  ---
  duration_ms: 0.06287
  type: 'test'
  ...
# Subtest: familiesOfView: an override that fails the allowlist is the theme's
ok 154 - familiesOfView: an override that fails the allowlist is the theme's
  ---
  duration_ms: 0.092056
  type: 'test'
  ...
# Subtest: familiesOfView: a too-long override is the theme's
ok 155 - familiesOfView: a too-long override is the theme's
  ---
  duration_ms: 0.074813
  type: 'test'
  ...
# Subtest: familiesOfView: padded overrides are trimmed
ok 156 - familiesOfView: padded overrides are trimmed
  ---
  duration_ms: 0.090553
  type: 'test'
  ...
# Subtest: familiesOfView: a family named only on a later slide's code
ok 157 - familiesOfView: a family named only on a later slide's code
  ---
  duration_ms: 0.068133
  type: 'test'
  ...
# Subtest: a stack names a family wherever it appears, in any case, quoted or not
ok 158 - a stack names a family wherever it appears, in any case, quoted or not
  ---
  duration_ms: 0.140257
  type: 'test'
  ...
# Subtest: safeFontStack is render.go's allowlist
ok 159 - safeFontStack is render.go's allowlist
  ---
  duration_ms: 0.132403
  type: 'test'
  ...
# Subtest: a section names its heading and body families
ok 160 - a section names its heading and body families
  ---
  duration_ms: 0.333161
  type: 'test'
  ...
# Subtest: a section with code in it brings in the code family
ok 161 - a section with code in it brings in the code family
  ---
  duration_ms: 0.302772
  type: 'test'
  ...
# Subtest: only the two font properties are read off a section
ok 162 - only the two font properties are read off a section
  ---
  duration_ms: 0.26062
  type: 'test'
  ...
# Subtest: nothing joins the page until all four faces of a family are in, and then all four do
ok 163 - nothing joins the page until all four faces of a family are in, and then all four do
  ---
  duration_ms: 10.306899
  type: 'test'
  ...
# Subtest: every face is a block face of the manifest's family, weight and style
ok 164 - every face is a block face of the manifest's family, weight and style
  ---
  duration_ms: 2.689997
  type: 'test'
  ...
# Subtest: a family that misses the deadline is committed and never joins, even when it arrives
ok 165 - a family that misses the deadline is committed and never joins, even when it arrives
  ---
  duration_ms: 1.456271
  type: 'test'
  ...
# Subtest: a family whose file fails is committed by the gate: wrong but stable
ok 166 - a family whose file fails is committed by the gate: wrong but stable
  ---
  duration_ms: 1.62474
  type: 'test'
  ...
# Subtest: a person's action waits for its family and then may run, once it is in
ok 167 - a person's action waits for its family and then may run, once it is in
  ---
  duration_ms: 0.756548
  type: 'test'
  ...
# Subtest: a person's action is refused when its family fails or is late, and nothing is committed
ok 168 - a person's action is refused when its family fails or is late, and nothing is committed
  ---
  duration_ms: 1.296235
  type: 'test'
  ...
# Subtest: content from elsewhere waits for a new family, then is committed past the timeout, never held
ok 169 - content from elsewhere waits for a new family, then is committed past the timeout, never held
  ---
  duration_ms: 1.193157
  type: 'test'
  ...
# Subtest: a family on screen in its web face is never committed
ok 170 - a family on screen in its web face is never committed
  ---
  duration_ms: 1.671694
  type: 'test'
  ...
# Subtest: a composition commits a family that is not in, rather than waiting
ok 171 - a composition commits a family that is not in, rather than waiting
  ---
  duration_ms: 0.682116
  type: 'test'
  ...
# Subtest: prefetch loads the families not asked for yet, one at a time, and puts none on
ok 172 - prefetch loads the families not asked for yet, one at a time, and puts none on
  ---
  duration_ms: 1.847858
  type: 'test'
  ...
# Subtest: an unknown family is no family
ok 173 - an unknown family is no family
  ---
  duration_ms: 0.422707
  type: 'test'
  ...
# Subtest: the system session is ready for everything and loads nothing
ok 174 - the system session is ready for everything and loads nothing
  ---
  duration_ms: 0.235997
  type: 'test'
  ...
# Subtest: a range carrying the mark is pressed; one without is not
ok 175 - a range carrying the mark is pressed; one without is not
  ---
  duration_ms: 2.312322
  type: 'test'
  ...
# Subtest: at a cursor, the stored marks decide
ok 176 - at a cursor, the stored marks decide
  ---
  duration_ms: 0.666232
  type: 'test'
  ...
# Subtest: focus moving to another place to type lets go; to a button keeps the view
ok 177 - focus moving to another place to type lets go; to a button keeps the view
  ---
  duration_ms: 0.28509
  type: 'test'
  ...
# Subtest: the whole card is the bar: its own fields keep the view
ok 178 - the whole card is the bar: its own fields keep the view
  ---
  duration_ms: 0.226851
  type: 'test'
  ...
# Subtest: the marks act on the box the card shows, and on no other
ok 179 - the marks act on the box the card shows, and on no other
  ---
  duration_ms: 0.360111
  type: 'test'
  ...
# Subtest: a view's box is the nearest block around it: a table cell's is the table
ok 180 - a view's box is the nearest block around it: a table cell's is the table
  ---
  duration_ms: 0.188767
  type: 'test'
  ...
# Subtest: an empty body is no frames
ok 181 - an empty body is no frames
  ---
  duration_ms: 1.374476
  type: 'test'
  ...
# Subtest: frames come back in order with their exact bytes
ok 182 - frames come back in order with their exact bytes
  ---
  duration_ms: 0.40765
  type: 'test'
  ...
# Subtest: a length prefix is big-endian
ok 183 - a length prefix is big-endian
  ---
  duration_ms: 0.309808
  type: 'test'
  ...
# Subtest: a truncated frame throws rather than returning a short update
ok 184 - a truncated frame throws rather than returning a short update
  ---
  duration_ms: 1.950156
  type: 'test'
  ...
# Subtest: Format writes the cookie the server reads, and flips the card and its toggles
ok 185 - Format writes the cookie the server reads, and flips the card and its toggles
  ---
  duration_ms: 3.893409
  type: 'test'
  ...
# Subtest: the View menu row toggles the card too, and keeps aria-pressed with the button
ok 186 - the View menu row toggles the card too, and keeps aria-pressed with the button
  ---
  duration_ms: 0.627762
  type: 'test'
  ...
# Subtest: the first paint is the server's: mounting writes nothing and changes nothing
ok 187 - the first paint is the server's: mounting writes nothing and changes nothing
  ---
  duration_ms: 0.525275
  type: 'test'
  ...
# Subtest: an old localStorage 'off' with no cookie is applied once, moved to the cookie as closed, and removed
ok 188 - an old localStorage 'off' with no cookie is applied once, moved to the cookie as closed, and removed
  ---
  duration_ms: 1.84781
  type: 'test'
  ...
# Subtest: an old localStorage 'on' with no cookie is applied once, moved to the cookie as open, and removed
ok 189 - an old localStorage 'on' with no cookie is applied once, moved to the cookie as open, and removed
  ---
  duration_ms: 0.987832
  type: 'test'
  ...
# Subtest: with a cookie already set, an old localStorage key is dropped and not applied
ok 190 - with a cookie already set, an old localStorage key is dropped and not applied
  ---
  duration_ms: 0.72504
  type: 'test'
  ...
# Subtest: with cookies blocked, Format still shows and hides the card for this page
ok 191 - with cookies blocked, Format still shows and hides the card for this page
  ---
  duration_ms: 0.558876
  type: 'test'
  ...
# Subtest: with site data blocked (localStorage throws), the toggle still works
ok 192 - with site data blocked (localStorage throws), the toggle still works
  ---
  duration_ms: 0.434483
  type: 'test'
  ...
# Subtest: showInspector(true, {focus}) focuses the card's first showing control; hiding gives focus back
ok 193 - showInspector(true, {focus}) focuses the card's first showing control; hiding gives focus back
  ---
  duration_ms: 0.823325
  type: 'test'
  ...
# Subtest: Format from the keyboard moves focus into the card; from a pointer it does not
ok 194 - Format from the keyboard moves focus into the card; from a pointer it does not
  ---
  duration_ms: 0.750208
  type: 'test'
  ...
# Subtest: asking to delete a slide shows a hidden card, with focus
ok 195 - asking to delete a slide shows a hidden card, with focus
  ---
  duration_ms: 0.311241
  type: 'test'
  ...
# Subtest: on https the cookie is Secure
ok 196 - on https the cookie is Secure
  ---
  duration_ms: 1.097022
  type: 'test'
  ...
# Subtest: opened from the View menu by keyboard, the card gives focus back to the menu's button, not its hidden row
ok 197 - opened from the View menu by keyboard, the card gives focus back to the menu's button, not its hidden row
  ---
  duration_ms: 0.474873
  type: 'test'
  ...
# Subtest: dismissed from inside the card through the View row, focus goes to the menu's button
ok 198 - dismissed from inside the card through the View row, focus goes to the menu's button
  ---
  duration_ms: 0.284212
  type: 'test'
  ...
# Subtest: a return target that can no longer take focus falls back to Format
ok 199 - a return target that can no longer take focus falls back to Format
  ---
  duration_ms: 0.307948
  type: 'test'
  ...
# Subtest: asking to delete from a strip item's menu returns focus to that menu's button
ok 200 - asking to delete from a strip item's menu returns focus to that menu's button
  ---
  duration_ms: 0.324798
  type: 'test'
  ...
# Subtest: focus into the card reaches a radio group at its checked radio
ok 201 - focus into the card reaches a radio group at its checked radio
  ---
  duration_ms: 0.216321
  type: 'test'
  ...
# Subtest: the bar's title is the one place the deck's title is edited: a change is commitTitle
ok 202 - the bar's title is the one place the deck's title is edited: a change is commitTitle
  ---
  duration_ms: 0.426823
  type: 'test'
  ...
# Subtest: a menu row's dialog opens modal, and on close focus goes to the menu's title
ok 203 - a menu row's dialog opens modal, and on close focus goes to the menu's title
  ---
  duration_ms: 0.350824
  type: 'test'
  ...
# Subtest: an Insert row adds its kind through commands.addBlock, and closes the menu
ok 204 - an Insert row adds its kind through commands.addBlock, and closes the menu
  ---
  duration_ms: 0.563422
  type: 'test'
  ...
# Subtest: View → Outline opens the Outline under the View menu's title, and leaves the card alone
ok 205 - View → Outline opens the Outline under the View menu's title, and leaves the card alone
  ---
  duration_ms: 0.424022
  type: 'test'
  ...
# Subtest: it starts on the slide, as the server rendered it
ok 206 - it starts on the slide, as the server rendered it
  ---
  duration_ms: 1.665894
  type: 'test'
  ...
# Subtest: a box selected shows the box
ok 207 - a box selected shows the box
  ---
  duration_ms: 1.665494
  type: 'test'
  ...
# Subtest: nothing selected shows the slide
ok 208 - nothing selected shows the slide
  ---
  duration_ms: 0.159901
  type: 'test'
  ...
# Subtest: the selected box gone (deleted, or its creation undone) shows the slide, never an empty box
ok 209 - the selected box gone (deleted, or its creation undone) shows the slide, never an empty box
  ---
  duration_ms: 0.159765
  type: 'test'
  ...
# Subtest: the caret in the notes shows the notes
ok 210 - the caret in the notes shows the notes
  ---
  duration_ms: 0.32379
  type: 'test'
  ...
# Subtest: with the caret in the notes, nothing selected stays on the notes; a box selected shows the box
ok 211 - with the caret in the notes, nothing selected stays on the notes; a box selected shows the box
  ---
  duration_ms: 0.160225
  type: 'test'
  ...
# Subtest: the caret back on the stage leaves the kind to the selection
ok 212 - the caret back on the stage leaves the kind to the selection
  ---
  duration_ms: 0.337246
  type: 'test'
  ...
# Subtest: reset shows the slide, from anything
ok 213 - reset shows the slide, from anything
  ---
  duration_ms: 0.229131
  type: 'test'
  ...
# Subtest: onChange hears a change of kind only, never a repeat
ok 214 - onChange hears a change of kind only, never a repeat
  ---
  duration_ms: 0.531286
  type: 'test'
  ...
# Subtest: a box, the notes, then the same box again shows the box
ok 215 - a box, the notes, then the same box again shows the box
  ---
  duration_ms: 0.634701
  type: 'test'
  ...
# Subtest: no slide left (a colleague removed the last one) shows the deck, from the notes or a box
ok 216 - no slide left (a colleague removed the last one) shows the deck, from the notes or a box
  ---
  duration_ms: 0.321166
  type: 'test'
  ...
# Subtest: a slide shown keeps the card as it was: the notes stay the notes
ok 217 - a slide shown keeps the card as it was: the notes stay the notes
  ---
  duration_ms: 0.145769
  type: 'test'
  ...
# Subtest: deck controls are set_meta
ok 218 - deck controls are set_meta
  ---
  duration_ms: 13.314792
  type: 'test'
  ...
# Subtest: slide controls are set_slide, and background keeps its colour
ok 219 - slide controls are set_slide, and background keeps its colour
  ---
  duration_ms: 4.556581
  type: 'test'
  ...
# Subtest: move up and down are move_slide with the right after
ok 220 - move up and down are move_slide with the right after
  ---
  duration_ms: 2.316414
  type: 'test'
  ...
# Subtest: block props: value kinds, region, a shape label
ok 221 - block props: value kinds, region, a shape label
  ---
  duration_ms: 2.055039
  type: 'test'
  ...
# Subtest: box fields are set_block on the desktop and set_phone in the phone view
ok 222 - box fields are set_block on the desktop and set_phone in the phone view
  ---
  duration_ms: 2.320328
  type: 'test'
  ...
# Subtest: move block and the layer buttons
ok 223 - move block and the layer buttons
  ---
  duration_ms: 2.031794
  type: 'test'
  ...
# Subtest: add block: region after the selection on flow, a default box on canvas, a heading level that fits
ok 224 - add block: region after the selection on flow, a default box on canvas, a heading level that fits
  ---
  duration_ms: 10.387104
  type: 'test'
  ...
# Subtest: a block is named by its type and its first words
ok 225 - a block is named by its type and its first words
  ---
  duration_ms: 1.081895
  type: 'test'
  ...
# Subtest: blockChange: a control element to its op
ok 226 - blockChange: a control element to its op
  ---
  duration_ms: 2.036993
  type: 'test'
  ...
# Subtest: a segmented choice: setValue checks the radio for the value, and its change is the prop
ok 227 - a segmented choice: setValue checks the radio for the value, and its change is the prop
  ---
  duration_ms: 1.764028
  type: 'test'
  ...
# Subtest: corner radius shows for an image and a rectangle, not for a shape with no corners
ok 228 - corner radius shows for an image and a rectangle, not for a shape with no corners
  ---
  duration_ms: 2.879872
  type: 'test'
  ...
# Subtest: a shape's swatches show what the slide shows: no fill as none, no stroke in the ink
ok 229 - a shape's swatches show what the slide shows: no fill as none, no stroke in the ink
  ---
  duration_ms: 1.198079
  type: 'test'
  ...
# Subtest: Position and size keeps open or closed across a remount, in memory only
ok 230 - Position and size keeps open or closed across a remount, in memory only
  ---
  duration_ms: 3.211044
  type: 'test'
  ...
# Subtest: litFor: Free placement on a canvas slide, else the template
ok 231 - litFor: Free placement on a canvas slide, else the template
  ---
  duration_ms: 1.248952
  type: 'test'
  ...
# Subtest: pickOps: the four cases, op for op
ok 232 - pickOps: the four cases, op for op
  ---
  duration_ms: 1.002634
  type: 'test'
  ...
# Subtest: the pictures are the seven templates, then Free placement
ok 233 - the pictures are the seven templates, then Free placement
  ---
  duration_ms: 0.147762
  type: 'test'
  ...
# Subtest: fill lights exactly one picture: the template, or Free placement
ok 234 - fill lights exactly one picture: the template, or Free placement
  ---
  duration_ms: 2.216841
  type: 'test'
  ...
# Subtest: a choice on a flow slide commits its op, and asks nothing
ok 235 - a choice on a flow slide commits its op, and asks nothing
  ---
  duration_ms: 1.006139
  type: 'test'
  ...
# Subtest: a template on a canvas slide asks in the card first and commits nothing
ok 236 - a template on a canvas slide asks in the card first and commits nothing
  ---
  duration_ms: 2.428846
  type: 'test'
  ...
# Subtest: its action commits both ops in one commit call
ok 237 - its action commits both ops in one commit call
  ---
  duration_ms: 0.947281
  type: 'test'
  ...
# Subtest: cancel commits nothing and lights Free placement again
ok 238 - cancel commits nothing and lights Free placement again
  ---
  duration_ms: 1.075702
  type: 'test'
  ...
# Subtest: choosing Free placement again while asked withdraws the question
ok 239 - choosing Free placement again while asked withdraws the question
  ---
  duration_ms: 1.072711
  type: 'test'
  ...
# Subtest: fill after the slide became flow elsewhere withdraws the question, and the action commits nothing
ok 240 - fill after the slide became flow elsewhere withdraws the question, and the action commits nothing
  ---
  duration_ms: 1.371183
  type: 'test'
  ...
# Subtest: fill on another slide, or none, withdraws the question
ok 241 - fill on another slide, or none, withdraws the question
  ---
  duration_ms: 1.092353
  type: 'test'
  ...
# Subtest: Escape in a row's popover closes it, focuses its row, and goes no further
ok 242 - Escape in a row's popover closes it, focuses its row, and goes no further
  ---
  duration_ms: 0.903642
  type: 'test'
  ...
# Subtest: destroy takes every listener off the form
ok 243 - destroy takes every listener off the form
  ---
  duration_ms: 0.531541
  type: 'test'
  ...
# Subtest: open resolves to the button that closed it and the trimmed field
ok 244 - open resolves to the button that closed it and the trimmed field
  ---
  duration_ms: 1.706635
  type: 'test'
  ...
# Subtest: a second open while the dialog is up joins the first
ok 245 - a second open while the dialog is up joins the first
  ---
  duration_ms: 0.220895
  type: 'test'
  ...
# Subtest: a missing dialog mounts as nothing
ok 246 - a missing dialog mounts as nothing
  ---
  duration_ms: 0.230504
  type: 'test'
  ...
# Subtest: a tab advances its own cursor only when its POST is the very next row
ok 247 - a tab advances its own cursor only when its POST is the very next row
  ---
  duration_ms: 1.549299
  type: 'test'
  ...
# Subtest: the cursor never moves backwards when a response is overtaken by this tab's own write
ok 248 - the cursor never moves backwards when a response is overtaken by this tab's own write
  ---
  duration_ms: 0.624712
  type: 'test'
  ...
# Subtest: a later response still carries the cursor forward
ok 249 - a later response still carries the cursor forward
  ---
  duration_ms: 0.396971
  type: 'test'
  ...
# Subtest: a burst of notifications collapses into one fetch at a time
ok 250 - a burst of notifications collapses into one fetch at a time
  ---
  duration_ms: 0.254602
  type: 'test'
  ...
# Subtest: an event naming a seq the tab already has fetches nothing
ok 251 - an event naming a seq the tab already has fetches nothing
  ---
  duration_ms: 0.412203
  type: 'test'
  ...
# Subtest: a stopped subscriber drops a response that arrives late
ok 252 - a stopped subscriber drops a response that arrives late
  ---
  duration_ms: 0.264988
  type: 'test'
  ...
# Subtest: stop closes the stream, and start opens exactly one
ok 253 - stop closes the stream, and start opens exactly one
  ---
  duration_ms: 0.316257
  type: 'test'
  ...
# Subtest: a hidden tab closes its stream on a shortened deadline, and activity reopens it
ok 254 - a hidden tab closes its stream on a shortened deadline, and activity reopens it
  ---
  duration_ms: 0.868618
  type: 'test'
  ...
# Subtest: switching away and back inside the grace never drops the stream, so nothing has to be caught up
ok 255 - switching away and back inside the grace never drops the stream, so nothing has to be caught up
  ---
  duration_ms: 0.903397
  type: 'test'
  ...
# Subtest: a visible tab that is only being READ closes when idle and comes back on any activity
ok 256 - a visible tab that is only being READ closes when idle and comes back on any activity
  ---
  duration_ms: 0.750747
  type: 'test'
  ...
# Subtest: activity while streaming defers the idle close rather than reopening anything
ok 257 - activity while streaming defers the idle close rather than reopening anything
  ---
  duration_ms: 0.338187
  type: 'test'
  ...
# Subtest: a stream failure is never reported as a save failure, and heals on activity
ok 258 - a stream failure is never reported as a save failure, and heals on activity
  ---
  duration_ms: 0.26299
  type: 'test'
  ...
# Subtest: an empty response advances the cursor without applying anything
ok 259 - an empty response advances the cursor without applying anything
  ---
  duration_ms: 1.008716
  type: 'test'
  ...
# Subtest: a failed fetch leaves the cursor alone so the next notification retries it
ok 260 - a failed fetch leaves the cursor alone so the next notification retries it
  ---
  duration_ms: 0.235797
  type: 'test'
  ...
# Subtest: a decode failure retries once through the raw log, then gives up
ok 261 - a decode failure retries once through the raw log, then gives up
  ---
  duration_ms: 0.198361
  type: 'test'
  ...
# Subtest: updatesURL spells the query string exactly, in particular raw as the literal raw=1
ok 262 - updatesURL spells the query string exactly, in particular raw as the literal raw=1
  ---
  duration_ms: 0.160318
  type: 'test'
  ...
# Subtest: leaving the page closes the stream at once, and coming back reopens it and catches up
ok 263 - leaving the page closes the stream at once, and coming back reopens it and catches up
  ---
  duration_ms: 0.332656
  type: 'test'
  ...
# Subtest: a page left before its subscriber starts never opens a stream
ok 264 - a page left before its subscriber starts never opens a stream
  ---
  duration_ms: 0.139761
  type: 'test'
  ...
# Subtest: the keys are the ones the switch used, and the new height key
ok 265 - the keys are the ones the switch used, and the new height key
  ---
  duration_ms: 1.578194
  type: 'test'
  ...
# Subtest: the cookies are the ones the server reads
ok 266 - the cookies are the ones the server reads
  ---
  duration_ms: 0.280199
  type: 'test'
  ...
# Subtest: open, close and toggle set data-state and remember open/closed in the cookie
ok 267 - open, close and toggle set data-state and remember open/closed in the cookie
  ---
  duration_ms: 1.39768
  type: 'test'
  ...
# Subtest: mounting keeps the state the server painted and writes nothing
ok 268 - mounting keeps the state the server painted and writes nothing
  ---
  duration_ms: 1.103655
  type: 'test'
  ...
# Subtest: a localStorage preference from before the cookies is honoured once, moved to the cookies and removed
ok 269 - a localStorage preference from before the cookies is honoured once, moved to the cookies and removed
  ---
  duration_ms: 1.175603
  type: 'test'
  ...
# Subtest: cookies and storage that throw leave the notes working for the visit
ok 270 - cookies and storage that throw leave the notes working for the visit
  ---
  duration_ms: 0.746681
  type: 'test'
  ...
# Subtest: the × closes and moves focus to the tab; the tab opens and moves focus into the notes
ok 271 - the × closes and moves focus to the tab; the tab opens and moves focus into the notes
  ---
  duration_ms: 1.892543
  type: 'test'
  ...
# Subtest: mounting does not take focus
ok 272 - mounting does not take focus
  ---
  duration_ms: 0.347894
  type: 'test'
  ...
# Subtest: HEAD_PX is the card less its body as editor.css draws it: a hairline (1 + 1) and 12px of padding above and below
ok 273 - HEAD_PX is the card less its body as editor.css draws it: a hairline (1 + 1) and 12px of padding above and below
  ---
  duration_ms: 0.37597
  type: 'test'
  ...
# Subtest: clampHeight: at least two lines and the head, at most half the desk
ok 274 - clampHeight: at least two lines and the head, at most half the desk
  ---
  duration_ms: 0.542689
  type: 'test'
  ...
# Subtest: the height is the remembered one, clamped, written as a CSS length and as the separator's value
ok 275 - the height is the remembered one, clamped, written as a CSS length and as the separator's value
  ---
  duration_ms: 0.563874
  type: 'test'
  ...
# Subtest: ArrowUp and ArrowDown move the height by 16px, Home and End go to the limits, each remembered
ok 276 - ArrowUp and ArrowDown move the height by 16px, Home and End go to the limits, each remembered
  ---
  duration_ms: 0.44383
  type: 'test'
  ...
# Subtest: dragging the top edge up makes the notes taller, within the limits, and remembers on release
ok 277 - dragging the top edge up makes the notes taller, within the limits, and remembers on release
  ---
  duration_ms: 0.370481
  type: 'test'
  ...
# Subtest: a stored height clamped on mount: ArrowDown moves from what is shown, and that is remembered
ok 278 - a stored height clamped on mount: ArrowDown moves from what is shown, and that is remembered
  ---
  duration_ms: 0.216591
  type: 'test'
  ...
# Subtest: a desk that shrinks after mount: the next key starts from the height now shown
ok 279 - a desk that shrinks after mount: the next key starts from the height now shown
  ---
  duration_ms: 0.25084
  type: 'test'
  ...
# Subtest: a window resize narrows what is shown and keeps the preferred height for when the room comes back
ok 280 - a window resize narrows what is shown and keeps the preferred height for when the room comes back
  ---
  duration_ms: 0.236471
  type: 'test'
  ...
# Subtest: a drag after clamping moves from the shown height on its first pixel
ok 281 - a drag after clamping moves from the shown height on its first pixel
  ---
  duration_ms: 0.22755
  type: 'test'
  ...
# Subtest: refresh() writes the tab's text: the word for notes, and the count of words when there are any
ok 282 - refresh() writes the tab's text: the word for notes, and the count of words when there are any
  ---
  duration_ms: 0.272197
  type: 'test'
  ...
# Subtest: refresh() writes nothing when the tab already says it (the server's first paint)
ok 283 - refresh() writes nothing when the tab already says it (the server's first paint)
  ---
  duration_ms: 0.246614
  type: 'test'
  ...
# Subtest: countWords: what the server counts (strings.Fields of the plain text), through paragraphs and runs
ok 284 - countWords: what the server counts (strings.Fields of the plain text), through paragraphs and runs
  ---
  duration_ms: 0.672446
  type: 'test'
  ...
# Subtest: empty_doc_views_as_defaults
ok 285 - empty_doc_views_as_defaults
  ---
  duration_ms: 4.039423
  type: 'test'
  ...
# Subtest: set_meta
ok 286 - set_meta
  ---
  duration_ms: 3.009226
  type: 'test'
  ...
# Subtest: slides: add, move, remove, set_slide, set_notes
ok 287 - slides: add, move, remove, set_slide, set_notes
  ---
  duration_ms: 7.164043
  type: 'test'
  ...
# Subtest: duplicate_slide
ok 288 - duplicate_slide
  ---
  duration_ms: 3.712268
  type: 'test'
  ...
# Subtest: blocks: add, move, remove, set_block
ok 289 - blocks: add, move, remove, set_block
  ---
  duration_ms: 4.595216
  type: 'test'
  ...
# Subtest: set_phone
ok 290 - set_phone
  ---
  duration_ms: 1.411119
  type: 'test'
  ...
# Subtest: table cells follow rows and cols
ok 291 - table cells follow rows and cols
  ---
  duration_ms: 1.372581
  type: 'test'
  ...
# Subtest: canvas blocks: box defaults from the region, z from the index
ok 292 - canvas blocks: box defaults from the region, z from the index
  ---
  duration_ms: 1.425567
  type: 'test'
  ...
# Subtest: assets: register and remove
ok 293 - assets: register and remove
  ---
  duration_ms: 1.336285
  type: 'test'
  ...
# Subtest: markdown: every mark, code blocks are plain lines
ok 294 - markdown: every mark, code blocks are plain lines
  ---
  duration_ms: 1.789303
  type: 'test'
  ...
# Subtest: batch_is_atomic
ok 295 - batch_is_atomic
  ---
  duration_ms: 2.265073
  type: 'test'
  ...
# Subtest: a batch applies in one transaction with the given origin
ok 296 - a batch applies in one transaction with the given origin
  ---
  duration_ms: 0.661186
  type: 'test'
  ...
# Subtest: columns_children_validated
ok 297 - columns_children_validated
  ---
  duration_ms: 1.551863
  type: 'test'
  ...
# Subtest: layout_switch_round_trip
ok 298 - layout_switch_round_trip
  ---
  duration_ms: 1.836115
  type: 'test'
  ...
# Subtest: view_matches_snapshot_fixtures
ok 299 - view_matches_snapshot_fixtures
  ---
  duration_ms: 19.023902
  type: 'test'
  ...
# Subtest: columns children have one parent and no cycles (codex 7)
ok 300 - columns children have one parent and no cycles (codex 7)
  ---
  duration_ms: 1.550134
  type: 'test'
  ...
# Subtest: canvas-to-flow keeps a concurrent text edit (codex 4)
ok 301 - canvas-to-flow keeps a concurrent text edit (codex 4)
  ---
  duration_ms: 4.124656
  type: 'test'
  ...
# Subtest: move_block keeps a concurrent text edit, and later inserts land where after says (codex 4)
ok 302 - move_block keeps a concurrent text edit, and later inserts land where after says (codex 4)
  ---
  duration_ms: 4.30233
  type: 'test'
  ...
# Subtest: move_slide keeps a concurrent text edit, and later inserts land where after says (codex 4 at slide level)
ok 303 - move_slide keeps a concurrent text edit, and later inserts land where after says (codex 4 at slide level)
  ---
  duration_ms: 2.680671
  type: 'test'
  ...
# Subtest: the Outline's list reconciles by id and keeps its rows
ok 304 - the Outline's list reconciles by id and keeps its rows
  ---
  duration_ms: 3.015428
  type: 'test'
  ...
# Subtest: open fills the list by kind and first words, and focuses the selected box's row
ok 305 - open fills the list by kind and first words, and focuses the selected box's row
  ---
  duration_ms: 1.114897
  type: 'test'
  ...
# Subtest: with no box on the slide it says so, and focus goes to the popover
ok 306 - with no box on the slide it says so, and focus goes to the popover
  ---
  duration_ms: 0.5741
  type: 'test'
  ...
# Subtest: a row selects its box and closes, leaving focus to the box
ok 307 - a row selects its box and closes, leaving focus to the box
  ---
  duration_ms: 0.563049
  type: 'test'
  ...
# Subtest: Escape closes it, gives focus back, and goes no further
ok 308 - Escape closes it, gives focus back, and goes no further
  ---
  duration_ms: 0.393882
  type: 'test'
  ...
# Subtest: closed by the browser (a click outside), it fills no more; destroy takes its listeners off
ok 309 - closed by the browser (a click outside), it fills no more; destroy takes its listeners off
  ---
  duration_ms: 0.380325
  type: 'test'
  ...
# Subtest: a row from the template takes its words in its label, and keeps its check
ok 310 - a row from the template takes its words in its label, and keeps its check
  ---
  duration_ms: 0.273468
  type: 'test'
  ...
# Subtest: open keeps the panel inside the window: moved back from the end edge, no taller than the room under its title
ok 311 - open keeps the panel inside the window: moved back from the end edge, no taller than the room under its title
  ---
  duration_ms: 0.784242
  type: 'test'
  ...
# Subtest: the scale is the room over the phone height, never above 1
ok 312 - the scale is the room over the phone height, never above 1
  ---
  duration_ms: 0.948783
  type: 'test'
  ...
# Subtest: the scale fits the width as well: the smaller of the two
ok 313 - the scale fits the width as well: the smaller of the two
  ---
  duration_ms: 0.179328
  type: 'test'
  ...
# Subtest: the scale never rounds up past the room it was given
ok 314 - the scale never rounds up past the room it was given
  ---
  duration_ms: 0.358836
  type: 'test'
  ...
# Subtest: mountPhoneFrame writes the scale on every frame, and again when the stages resize
ok 315 - mountPhoneFrame writes the scale on every frame, and again when the stages resize
  ---
  duration_ms: 2.165724
  type: 'test'
  ...
# Subtest: update() measures again when the room changes and the stages do not resize
ok 316 - update() measures again when the room changes and the stages do not resize
  ---
  duration_ms: 0.444832
  type: 'test'
  ...
# Subtest: reads a cookie by its exact name; absent is null
ok 317 - reads a cookie by its exact name; absent is null
  ---
  duration_ms: 1.001106
  type: 'test'
  ...
# Subtest: a cookie jar that throws reads as absent and writes nothing
ok 318 - a cookie jar that throws reads as absent and writes nothing
  ---
  duration_ms: 0.447459
  type: 'test'
  ...
# Subtest: written for a year, site-wide, Lax, and Secure on https only
ok 319 - written for a year, site-wide, Lax, and Secure on https only
  ---
  duration_ms: 0.171203
  type: 'test'
  ...
# Subtest: format: {name} and {n} interpolate; an unknown key is left as text
ok 320 - format: {name} and {n} interpolate; an unknown key is left as text
  ---
  duration_ms: 0.880923
  type: 'test'
  ...
# Subtest: a beat on connect, then one every twenty seconds
ok 321 - a beat on connect, then one every twenty seconds
  ---
  duration_ms: 1.850436
  type: 'test'
  ...
# Subtest: a move posts once, 200ms after the last of a burst, and re-arms the beat
ok 322 - a move posts once, 200ms after the last of a burst, and re-arms the beat
  ---
  duration_ms: 1.122974
  type: 'test'
  ...
# Subtest: a hidden tab stops beating; coming back posts at once
ok 323 - a hidden tab stops beating; coming back posts at once
  ---
  duration_ms: 0.426655
  type: 'test'
  ...
# Subtest: applySet leaves this tab out and answers what changed
ok 324 - applySet leaves this tab out and answers what changed
  ---
  duration_ms: 0.934188
  type: 'test'
  ...
# Subtest: a set with rubbish in it is read for what it does carry
ok 325 - a set with rubbish in it is read for what it does carry
  ---
  duration_ms: 0.263678
  type: 'test'
  ...
# Subtest: initials, and a client id per tab
ok 326 - initials, and a client id per tab
  ---
  duration_ms: 2.643575
  type: 'test'
  ...
# Subtest: a resync that fails is retried with backoff until it succeeds, without ever running twice at once
ok 327 - a resync that fails is retried with backoff until it succeeds, without ever running twice at once
  ---
  duration_ms: 1.937286
  type: 'test'
  ...
# Subtest: the browser's online event retries immediately, not just on the next backoff tick
ok 328 - the browser's online event retries immediately, not just on the next backoff tick
  ---
  duration_ms: 0.312734
  type: 'test'
  ...
# Subtest: reportDivergence before any failure runs the first attempt without a caller ever calling online
ok 329 - reportDivergence before any failure runs the first attempt without a caller ever calling online
  ---
  duration_ms: 1.347845
  type: 'test'
  ...
# Subtest: a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit
ok 330 - a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit
  ---
  duration_ms: 74.317969
  type: 'test'
  ...
# Subtest: a network failure or a 5xx is retried, not dropped
ok 331 - a network failure or a 5xx is retried, not dropped
  ---
  duration_ms: 40.409683
  type: 'test'
  ...
# Subtest: a 500 is retried the same way a network failure is, never dropped
ok 332 - a 500 is retried the same way a network failure is, never dropped
  ---
  duration_ms: 40.515694
  type: 'test'
  ...
# Subtest: flush with nothing queued waits for the save already on the wire
ok 333 - flush with nothing queued waits for the save already on the wire
  ---
  duration_ms: 1.10193
  type: 'test'
  ...
# Subtest: an edit made while a save is on the wire waits for it, and both stay owed until answered
ok 334 - an edit made while a save is on the wire waits for it, and both stay owed until answered
  ---
  duration_ms: 2.233003
  type: 'test'
  ...
# Subtest: a flush resolves only once every earlier update is answered, whichever save answers last
ok 335 - a flush resolves only once every earlier update is answered, whichever save answers last
  ---
  duration_ms: 21.164041
  type: 'test'
  ...
# Subtest: a flush through a retry waits for the retry, and a successful retry is a save
ok 336 - a flush through a retry waits for the retry, and a successful retry is a save
  ---
  duration_ms: 1.903725
  type: 'test'
  ...
# Subtest: a network failure is retried the same way
ok 337 - a network failure is retried the same way
  ---
  duration_ms: 0.75174
  type: 'test'
  ...
# Subtest: a refusal resolves the flush false and is final; later edits still save
ok 338 - a refusal resolves the flush false and is final; later edits still save
  ---
  duration_ms: 1.446718
  type: 'test'
  ...
# Subtest: edits made during a flush are not what that flush waits for
ok 339 - edits made during a flush are not what that flush waits for
  ---
  duration_ms: 1.185519
  type: 'test'
  ...
# Subtest: the queue says saving, not ok, while an answered save leaves another to send
ok 340 - the queue says saving, not ok, while an answered save leaves another to send
  ---
  duration_ms: 0.835085
  type: 'test'
  ...
# Subtest: a save is sent keepalive, and given up if it is never answered
ok 341 - a save is sent keepalive, and given up if it is never answered
  ---
  duration_ms: 21.707102
  type: 'test'
  ...
# Subtest: a batch carries at most maxBatchBytes, and the rest follow in order once it is answered
ok 342 - a batch carries at most maxBatchBytes, and the rest follow in order once it is answered
  ---
  duration_ms: 1.611781
  type: 'test'
  ...
# Subtest: an update bigger than maxBatchBytes still goes, on its own
ok 343 - an update bigger than maxBatchBytes still goes, on its own
  ---
  duration_ms: 0.735971
  type: 'test'
  ...
# Subtest: a save never answered is given up, retried with a real request, and its late answer ignored
ok 344 - a save never answered is given up, retried with a real request, and its late answer ignored
  ---
  duration_ms: 0.915802
  type: 'test'
  ...
# Subtest: resume sends again at once what was on the wire as the page left, without saying it failed
ok 345 - resume sends again at once what was on the wire as the page left, without saying it failed
  ---
  duration_ms: 1.039342
  type: 'test'
  ...
# Subtest: a keepalive save on the wire is left out of what the unload beacons; a plain one is kept
ok 346 - a keepalive save on the wire is left out of what the unload beacons; a plain one is kept
  ---
  duration_ms: 0.79688
  type: 'test'
  ...
# Subtest: a save refused with no answer says retrying only if the server cannot be reached either
ok 347 - a save refused with no answer says retrying only if the server cannot be reached either
  ---
  duration_ms: 2.095038
  type: 'test'
  ...
# Subtest: retries the browser refuses while the server answers back off, and reset once one is answered
ok 348 - retries the browser refuses while the server answers back off, and reset once one is answered
  ---
  duration_ms: 1.403964
  type: 'test'
  ...
# Subtest: reachable tries a keepalive request, then an ordinary one
ok 349 - reachable tries a keepalive request, then an ordinary one
  ---
  duration_ms: 0.460118
  type: 'test'
  ...
# Subtest: a large save is gzipped, and goes keepalive if what is sent fits
ok 350 - a large save is gzipped, and goes keepalive if what is sent fits
  ---
  duration_ms: 2.786995
  type: 'test'
  ...
# Subtest: a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip
ok 351 - a gzipped save a server refuses is sent again uncompressed, and later saves skip gzip
  ---
  duration_ms: 77.499707
  type: 'test'
  ...
# Subtest: a refused save that was not gzipped is not sent again
ok 352 - a refused save that was not gzipped is not sent again
  ---
  duration_ms: 1.99007
  type: 'test'
  ...
# Subtest: the core-written structure reads as ProseMirror marks
ok 353 - the core-written structure reads as ProseMirror marks
  ---
  duration_ms: 6.648903
  type: 'test'
  ...
# Subtest: a y-prosemirror round trip preserves bold and the link
ok 354 - a y-prosemirror round trip preserves bold and the link
  ---
  duration_ms: 2.731606
  type: 'test'
  ...
# Subtest: y-prosemirror writes href as the one-key map and marks as {}
ok 355 - y-prosemirror writes href as the one-key map and marks as {}
  ---
  duration_ms: 1.117683
  type: 'test'
  ...
# Subtest: a plain-string href, written before the map shape, still reads
ok 356 - a plain-string href, written before the map shape, still reads
  ---
  duration_ms: 0.992398
  type: 'test'
  ...
# Subtest: textFragment writes the same shape as writeText
ok 357 - textFragment writes the same shape as writeText
  ---
  duration_ms: 0.673878
  type: 'test'
  ...
# Subtest: safeHref is the server allowlist, and a disallowed href never draws an anchor
ok 358 - safeHref is the server allowlist, and a disallowed href never draws an anchor
  ---
  duration_ms: 0.500541
  type: 'test'
  ...
# Subtest: parseHash splits the slide and the block, and survives a stray %
ok 359 - parseHash splits the slide and the block, and survives a stray %
  ---
  duration_ms: 1.535052
  type: 'test'
  ...
# Subtest: destroy takes the listeners off, and a second mount leaves one of each
ok 360 - destroy takes the listeners off, and a second mount leaves one of each
  ---
  duration_ms: 1.964117
  type: 'test'
  ...
# Subtest: formatHash is the inverse
ok 361 - formatHash is the inverse
  ---
  duration_ms: 0.33355
  type: 'test'
  ...
# Subtest: selecting the selected block again is heard; a new one is too
ok 362 - selecting the selected block again is heard; a new one is too
  ---
  duration_ms: 0.815552
  type: 'test'
  ...
# Subtest: each layout makes its template and its empty blocks, and passes the gate
ok 363 - each layout makes its template and its empty blocks, and passes the gate
  ---
  duration_ms: 14.335872
  type: 'test'
  ...
# Subtest: a layout goes after the slide it is asked to follow
ok 364 - a layout goes after the slide it is asked to follow
  ---
  duration_ms: 1.340521
  type: 'test'
  ...
# Subtest: an unknown layout still makes a slide, and plain New slide follows the one before
ok 365 - an unknown layout still makes a slide, and plain New slide follows the one before
  ---
  duration_ms: 0.174846
  type: 'test'
  ...
# Subtest: refresh makes each box with no text a named group in the tab order, and leaves text to its editor
ok 366 - refresh makes each box with no text a named group in the tab order, and leaves text to its editor
  ---
  duration_ms: 4.227475
  type: 'test'
  ...
# Subtest: focus on a box with no text selects it; focus in text is the text editor's to say
ok 367 - focus on a box with no text selects it; focus in text is the text editor's to say
  ---
  duration_ms: 1.38182
  type: 'test'
  ...
# Subtest: on a canvas slide focus on a box goes on to the overlay
ok 368 - on a canvas slide focus on a box goes on to the overlay
  ---
  duration_ms: 1.478756
  type: 'test'
  ...
# Subtest: Tab and Shift+Tab on the overlay walk the boxes in the slide's order
ok 369 - Tab and Shift+Tab on the overlay walk the boxes in the slide's order
  ---
  duration_ms: 1.341261
  type: 'test'
  ...
# Subtest: Tab and Shift+Tab on the overlay pass a box that is not drawn
ok 370 - Tab and Shift+Tab on the overlay pass a box that is not drawn
  ---
  duration_ms: 1.447224
  type: 'test'
  ...
# Subtest: focus(id) puts focus on the box: its text, the box itself, or on a canvas slide the overlay
ok 371 - focus(id) puts focus on the box: its text, the box itself, or on a canvas slide the overlay
  ---
  duration_ms: 0.798283
  type: 'test'
  ...
# Subtest: destroy takes every listener off the stage
ok 372 - destroy takes every listener off the stage
  ---
  duration_ms: 0.448056
  type: 'test'
  ...
# Subtest: held and restore keep focus on a box across a load
ok 373 - held and restore keep focus on a box across a load
  ---
  duration_ms: 1.018418
  type: 'test'
  ...
# Subtest: held on a canvas slide is the selected box, from its overlay
ok 374 - held on a canvas slide is the selected box, from its overlay
  ---
  duration_ms: 0.647028
  type: 'test'
  ...
# Subtest: after Delete, focus goes to the next box, else the previous, else the slide
ok 375 - after Delete, focus goes to the next box, else the previous, else the slide
  ---
  duration_ms: 1.949436
  type: 'test'
  ...
# Subtest: after a move, focus in the box's text is held across the load too
ok 376 - after a move, focus in the box's text is held across the load too
  ---
  duration_ms: 0.55223
  type: 'test'
  ...
# Subtest: textBlocks finds the text-bearing blocks and skips the rest
ok 377 - textBlocks finds the text-bearing blocks and skips the rest
  ---
  duration_ms: 1.968383
  type: 'test'
  ...
# Subtest: mountTarget is the element whose children are the paragraphs
ok 378 - mountTarget is the element whose children are the paragraphs
  ---
  duration_ms: 0.256521
  type: 'test'
  ...
# Subtest: paragraphTag keeps the renderer's own markup per type
ok 379 - paragraphTag keeps the renderer's own markup per type
  ---
  duration_ms: 0.26785
  type: 'test'
  ...
# Subtest: blockFragment finds a block's text by slide and block id
ok 380 - blockFragment finds a block's text by slide and block id
  ---
  duration_ms: 7.769196
  type: 'test'
  ...
# Subtest: notesFragment finds the slide's notes
ok 381 - notesFragment finds the slide's notes
  ---
  duration_ms: 1.422202
  type: 'test'
  ...
# Subtest: blockIDs and slideIDs are the orders on the stage and the strip
ok 382 - blockIDs and slideIDs are the orders on the stage and the strip
  ---
  duration_ms: 1.661487
  type: 'test'
  ...
# Subtest: cellFragments are a table's cells, row-major
ok 383 - cellFragments are a table's cells, row-major
  ---
  duration_ms: 3.296001
  type: 'test'
  ...
# Subtest: a load that fails leaves the stage on the slide it was showing and says so
ok 384 - a load that fails leaves the stage on the slide it was showing and says so
  ---
  duration_ms: 1.525522
  type: 'test'
  ...
# Subtest: slideAfter is the slide to show once one is gone
ok 385 - slideAfter is the slide to show once one is gone
  ---
  duration_ms: 0.643281
  type: 'test'
  ...
# Subtest: the queue words map to savestatus states, failed staying failed
ok 386 - the queue words map to savestatus states, failed staying failed
  ---
  duration_ms: 0.94048
  type: 'test'
  ...
# Subtest: a dropped batch outranks the queue, for the rest of the session
ok 387 - a dropped batch outranks the queue, for the rest of the session
  ---
  duration_ms: 0.207879
  type: 'test'
  ...
# Subtest: the editor status: the save line and the load error are two lines
ok 388 - the editor status: the save line and the load error are two lines
  ---
  duration_ms: 0.355945
  type: 'test'
  ...
# Subtest: mountSaveStatus loads estilo's module and mounts it on the line
ok 389 - mountSaveStatus loads estilo's module and mounts it on the line
  ---
  duration_ms: 1.646205
  type: 'test'
  ...
# Subtest: a save-status module that will not load says so and refuses to mount
ok 390 - a save-status module that will not load says so and refuses to mount
  ---
  duration_ms: 0.491744
  type: 'test'
  ...
# Subtest: dropTarget: before puts it ahead of the item, after behind it, null means first
ok 391 - dropTarget: before puts it ahead of the item, after behind it, null means first
  ---
  duration_ms: 0.941939
  type: 'test'
  ...
# Subtest: a drop that leaves the order as it is is no move
ok 392 - a drop that leaves the order as it is is no move
  ---
  duration_ms: 0.194857
  type: 'test'
  ...
# Subtest: dropOp is the move_slide
ok 393 - dropOp is the move_slide
  ---
  duration_ms: 0.736647
  type: 'test'
  ...
# Subtest: labelFor is the slide's first heading, else the numbered fallback
ok 394 - labelFor is the slide's first heading, else the numbered fallback
  ---
  duration_ms: 6.820943
  type: 'test'
  ...
# Subtest: flush re-points every dirty thumbnail and relabels it
ok 395 - flush re-points every dirty thumbnail and relabels it
  ---
  duration_ms: 3.799997
  type: 'test'
  ...
# Subtest: destroy takes the item-menu listener off; a second mount leaves one
ok 396 - destroy takes the item-menu listener off; a second mount leaves one
  ---
  duration_ms: 0.49273
  type: 'test'
  ...
# Subtest: plan says what to add, drop and where each item goes
ok 397 - plan says what to add, drop and where each item goes
  ---
  duration_ms: 1.116889
  type: 'test'
  ...
# Subtest: sync moves only the items out of place and keeps focus
ok 398 - sync moves only the items out of place and keeps focus
  ---
  duration_ms: 2.104967
  type: 'test'
  ...
# Subtest: sync keeps the New slide row last
ok 399 - sync keeps the New slide row last
  ---
  duration_ms: 2.792462
  type: 'test'
  ...
# Subtest: relabel keeps the link's title the label
ok 400 - relabel keeps the link's title the label
  ---
  duration_ms: 1.567517
  type: 'test'
  ...
# Subtest: a contextmenu on an item opens its menu
ok 401 - a contextmenu on an item opens its menu
  ---
  duration_ms: 0.583837
  type: 'test'
  ...
# Subtest: sync renumbers both numbers after an add, a remove and a reorder
ok 402 - sync renumbers both numbers after an add, a remove and a reorder
  ---
  duration_ms: 2.613158
  type: 'test'
  ...
# Subtest: desktop view: box and size are the block; hidden and order are always the phone map
ok 403 - desktop view: box and size are the block; hidden and order are always the phone map
  ---
  duration_ms: 1.816113
  type: 'test'
  ...
# Subtest: phone view: everything goes to set_phone, carrying the rest of the map
ok 404 - phone view: everything goes to set_phone, carrying the rest of the map
  ---
  duration_ms: 0.550481
  type: 'test'
  ...
# Subtest: the ops it makes are ones the document takes
ok 405 - the ops it makes are ones the document takes
  ---
  duration_ms: 9.63514
  type: 'test'
  ...
# Subtest: phoneMap reads only the four keys, and only well-typed
ok 406 - phoneMap reads only the four keys, and only well-typed
  ---
  duration_ms: 0.189435
  type: 'test'
  ...
# Subtest: the stored view is read defensively
ok 407 - the stored view is read defensively
  ---
  duration_ms: 0.460142
  type: 'test'
  ...
# Subtest: linkAt reads the link under the cursor and nothing elsewhere
ok 408 - linkAt reads the link under the cursor and nothing elsewhere
  ---
  duration_ms: 2.677359
  type: 'test'
  ...
# Subtest: setLink marks the selection
ok 409 - setLink marks the selection
  ---
  duration_ms: 2.472004
  type: 'test'
  ...
# Subtest: setLink on a collapsed cursor inside a link replaces that link
ok 410 - setLink on a collapsed cursor inside a link replaces that link
  ---
  duration_ms: 0.986381
  type: 'test'
  ...
# Subtest: setLink with nothing selected and no link does nothing
ok 411 - setLink with nothing selected and no link does nothing
  ---
  duration_ms: 0.331276
  type: 'test'
  ...
# Subtest: removeLink clears the link under the cursor
ok 412 - removeLink clears the link under the cursor
  ---
  duration_ms: 0.743426
  type: 'test'
  ...
# Subtest: the keymap binds every documented shortcut
ok 413 - the keymap binds every documented shortcut
  ---
  duration_ms: 0.242066
  type: 'test'
  ...
# Subtest: Mod-b toggles bold through the keymap
ok 414 - Mod-b toggles bold through the keymap
  ---
  duration_ms: 0.857542
  type: 'test'
  ...
# Subtest: setLink refuses an address outside the allowlist and writes nothing
ok 415 - setLink refuses an address outside the allowlist and writes nothing
  ---
  duration_ms: 1.742789
  type: 'test'
  ...
# Subtest: the state machine runs choose → sign → put → register → op
ok 416 - the state machine runs choose → sign → put → register → op
  ---
  duration_ms: 3.119504
  type: 'test'
  ...
# Subtest: a file the deck will not take never reaches the network
ok 417 - a file the deck will not take never reaches the network
  ---
  duration_ms: 0.689681
  type: 'test'
  ...
# Subtest: alt text is required before the bytes move, unless the image is decorative
ok 418 - alt text is required before the bytes move, unless the image is decorative
  ---
  duration_ms: 0.455269
  type: 'test'
  ...
# Subtest: a step that fails stops the ones after it and reports its own code
ok 419 - a step that fails stops the ones after it and reports its own code
  ---
  duration_ms: 0.59684
  type: 'test'
  ...
# Subtest: a failure that is not ours still becomes an UploadError
ok 420 - a failure that is not ours still becomes an UploadError
  ---
  duration_ms: 0.515643
  type: 'test'
  ...
# Subtest: a second pick while one is in flight is refused, not raced
ok 421 - a second pick while one is in flight is refused, not raced
  ---
  duration_ms: 1.215245
  type: 'test'
  ...
# Subtest: an unreadable size is zero rather than a failure
ok 422 - an unreadable size is zero rather than a failure
  ---
  duration_ms: 0.519766
  type: 'test'
  ...
# Subtest: a per-call applyOp wins, so an upload lands on the block it was chosen for
ok 423 - a per-call applyOp wins, so an upload lands on the block it was chosen for
  ---
  duration_ms: 0.2899
  type: 'test'
  ...
# Subtest: checkFile takes exactly the four types
ok 424 - checkFile takes exactly the four types
  ---
  duration_ms: 0.950364
  type: 'test'
  ...
# Subtest: sha256Hex is the hex digest of the bytes
ok 425 - sha256Hex is the hex digest of the bytes
  ---
  duration_ms: 12.420391
  type: 'test'
  ...
# Subtest: refusal reads this app's JSON error shape, and survives one that is not
ok 426 - refusal reads this app's JSON error shape, and survives one that is not
  ---
  duration_ms: 0.499822
  type: 'test'
  ...
# Subtest: malformed fonts are null
ok 427 - malformed fonts are null
  ---
  duration_ms: 3.719452
  type: 'test'
  ...
# Subtest: a malformed background is the theme default
ok 428 - a malformed background is the theme default
  ---
  duration_ms: 2.005113
  type: 'test'
  ...
# Subtest: a malformed box is null
ok 429 - a malformed box is null
  ---
  duration_ms: 1.314201
  type: 'test'
  ...
# Subtest: the phone layer keeps only its typed fields, order as a whole number
ok 430 - the phone layer keeps only its typed fields, order as a whole number
  ---
  duration_ms: 0.986539
  type: 'test'
  ...
# Subtest: assets are typed or skipped
ok 431 - assets are typed or skipped
  ---
  duration_ms: 0.577097
  type: 'test'
  ...
# Subtest: every poison update is deterministic bytes that apply to any deck
ok 432 - every poison update is deterministic bytes that apply to any deck
  ---
  duration_ms: 9.59744
  type: 'test'
  ...
1..432
# tests 432
# suites 0
# pass 432
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8181.442551
=== the vectors must match a fresh generation
canvas: 22 ops, 3715 bytes
columns: 23 ops, 3134 bytes
every-block: 36 ops, 3180 bytes
table: 14 ops, 1509 bytes
title-only: 6 ops, 1136 bytes
=== the editor bundle must match a fresh build
wrote internal/slides/static/editor.19ccc96ef98c72ff.js (425871 bytes)
wrote internal/slides/static/fontsgate.971e476eab8b8588.js (10991 bytes)
wrote internal/slides/static/fontshold.876f3d8d396da42f.js (314 bytes)
=== go: vet, gofmt, test, migration check
go vet ./...
go test ./...
ok  	amadan.net/oficina/slides/cmd/slides	1.656s
?   	amadan.net/oficina/slides/cmd/slides-contract	[no test files]
ok  	amadan.net/oficina/slides/internal/slides	72.630s
ok  	amadan.net/oficina/slides/internal/slides/assist	0.014s
ok  	amadan.net/oficina/slides/internal/slides/core	3.368s
ok  	amadan.net/oficina/slides/internal/slides/deck	0.004s
ok  	amadan.net/oficina/slides/internal/slides/fonts	0.012s
?   	amadan.net/oficina/slides/internal/slides/icons	[no test files]
?   	amadan.net/oficina/slides/internal/slides/keymailtest	[no test files]
ok  	amadan.net/oficina/slides/internal/slides/layout	0.015s
ok  	amadan.net/oficina/slides/internal/slides/live	0.003s
ok  	amadan.net/oficina/slides/internal/slides/pdfcore	5.208s
ok  	amadan.net/oficina/slides/internal/slides/present	0.002s
ok  	amadan.net/oficina/slides/internal/slides/render	0.017s
ok  	amadan.net/oficina/slides/internal/slides/svg	0.008s
?   	amadan.net/oficina/slides/internal/slides/teamstate	[no test files]
ok  	amadan.net/oficina/slides/internal/slidestest	68.611s
?   	amadan.net/oficina/slides/scripts/writeestilo	[no test files]
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check
rastrillo migration check: models and migrations agree
python3 scripts/credits.py --check
credits: checked
gate: ok
diff --git a/AGENTS.md b/AGENTS.md
index fbd2c93..fe19780 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -976,6 +976,18 @@ store and `carlos domains attach slides.oficina.works`.
`SLIDES_INSTANCE_KEY` and `SLIDES_SMTP_PASS` go in via `carlos secrets`,
the rest via `carlos env`, mirroring Docs' set (spec §6.3).
+**Mail submission.** Ship every build with `--mail submit`: it declares
+that the build sends through CARLOS mail submission (`mail.FromCarlos`,
+`newMailer` in `cmd/slides`, From `$CARLOS_MAIL_FROM`). Until `carlos
+email submission on --app slides` runs Slides keeps sending over SMTP
+(`SLIDES_SMTP_*`, else `CARLOS_SMTP_*`, per variable); after it the agent sets
+`CARLOS_MAIL=submit` and Slides holds no SMTP credential, and every
+instance must run a build shipped with the flag. `carlos deploy` has no
+`--mail` flag yet (carlos main 9eec0236), so until it does use `carlos
+ship --app slides --account oficina --mail submit <binary>` and then
+`carlos promote --app slides --account oficina <version>` (or `carlos
+deploy --mail submit` once that ships).
+
Verify against `x-carlos-version` on the real host or let `carlos deploy`
watch the URL. `carlos channels` reports which release a channel *points
at*, which is not the question of what the box is *serving* — adoption runs
diff --git a/Makefile b/Makefile
index 9ef23f8..cc08ddc 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,9 @@ release: version-check
@echo
@echo "built $(RELEASE_BIN) reporting version $(VERSION)"
@echo "ship it with:"
- @echo " carlos ship -app $(APP) -target $(RELEASE_GOOS)-$(RELEASE_GOARCH) $(RELEASE_BIN)"
+ @echo " carlos ship -app $(APP) -mail submit -target $(RELEASE_GOOS)-$(RELEASE_GOARCH) $(RELEASE_BIN)"
+ @echo "then promote it (carlos deploy has no -mail flag yet; see README/AGENTS):"
+ @echo " carlos promote -app $(APP) <version>"
# version-check refuses rather than letting release ship a binary whose
# version is untrue. Both refusals are about the same thing: /api/version
diff --git a/cmd/slides/mail_test.go b/cmd/slides/mail_test.go
new file mode 100644
index 0000000..5bf98fa
--- /dev/null
+++ b/cmd/slides/mail_test.go
@@ -0,0 +1,133 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "io"
+ "log/slog"
+ "net"
+ "net/http"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "amadan.net/rastrillo/rastrillo/mail"
+)
+
+// The three boots CARLOS platform mail submission needs (carlos plan
+// Task 9): on submission with the agent's socket, on SMTP alone, and
+// with neither, where newMailer returns nil and slides.New refuses
+// outside development (TestProductionRefusesEachMissingSetting,
+// "Mailer", in internal/slides).
+
+var mailVars = []string{"CARLOS_MAIL", "CARLOS_CONTROL_SOCKET",
+ "CARLOS_ADMIN_TOKEN", "CARLOS_MAIL_FROM", "SLIDES_MAIL_FROM"}
+
+func mailerWith(t *testing.T, env map[string]string) (mail.Sender, error) {
+ t.Helper()
+ for _, k := range mailVars {
+ t.Setenv(k, "")
+ }
+ for _, p := range []string{"SLIDES_SMTP_", "CARLOS_SMTP_"} {
+ for _, s := range []string{"HOST", "PORT", "USER", "PASS", "FROM"} {
+ t.Setenv(p+s, "")
+ }
+ }
+ for k, v := range env {
+ t.Setenv(k, v)
+ }
+ return newMailer(slog.New(slog.DiscardHandler))
+}
+
+// controlSocket stands in for the agent's socket: it answers POST
+// /v1/mail and reports each request's path and From.
+func controlSocket(t *testing.T) (string, chan string) {
+ t.Helper()
+ dir, err := os.MkdirTemp("/tmp", "slides-mail") // unix paths are short
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { os.RemoveAll(dir) })
+ socket := filepath.Join(dir, "control.sock")
+ ln, err := net.Listen("unix", socket)
+ if err != nil {
+ t.Fatal(err)
+ }
+ seen := make(chan string, 1)
+ srv := &http.Server{Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ var body struct {
+ From string `json:"from"`
+ }
+ raw, _ := io.ReadAll(r.Body)
+ _ = json.Unmarshal(raw, &body)
+ seen <- r.Method + " " + r.URL.Path + " " + body.From
+ w.Write([]byte(`{"message_id":"m-1"}`))
+ })}
+ go srv.Serve(ln)
+ t.Cleanup(func() { srv.Close() })
+ return socket, seen
+}
+
+// The From is the one the platform delivers, CARLOS_MAIL_FROM (Slides
+// is declared CARLOS_SMTP), and nothing of Slides' own overrides it.
+func TestNewMailerSubmits(t *testing.T) {
+ socket, seen := controlSocket(t)
+ sender, err := mailerWith(t, map[string]string{
+ "CARLOS_MAIL": "submit", "CARLOS_CONTROL_SOCKET": socket,
+ "CARLOS_ADMIN_TOKEN": "token",
+ "CARLOS_MAIL_FROM": "noreply@slides.oficina.works",
+ // Not delivered by the platform, so not read.
+ "SLIDES_MAIL_FROM": "decks@slides.oficina.works",
+ // SMTP left over beside it is not used.
+ "CARLOS_SMTP_HOST": "email-smtp.eu-west-1.amazonaws.com",
+ "CARLOS_SMTP_FROM": "old@slides.oficina.works"})
+ if err != nil || sender == nil {
+ t.Fatalf("sender %v, err %v", sender, err)
+ }
+ if err := sender.Send(context.Background(), "ana@example.com", "Sign in", "link"); err != nil {
+ t.Fatal(err)
+ }
+ if got, want := <-seen, "POST /v1/mail noreply@slides.oficina.works"; got != want {
+ t.Fatalf("got %q, want %q", got, want)
+ }
+}
+
+func TestNewMailerUsesSMTPAlone(t *testing.T) {
+ sender, err := mailerWith(t, map[string]string{
+ "CARLOS_SMTP_HOST": "email-smtp.eu-west-1.amazonaws.com",
+ "CARLOS_SMTP_FROM": "noreply@slides.oficina.works"})
+ if err != nil || sender == nil || !mail.IsConfigured(sender) {
+ t.Fatalf("sender %v, err %v", sender, err)
+ }
+}
+
+func TestNewMailerWithNeitherLeavesItToNew(t *testing.T) {
+ sender, err := mailerWith(t, nil)
+ if err != nil || sender != nil {
+ t.Fatalf("sender %v, err %v: with no channel slides.New must decide", sender, err)
+ }
+}
+
+// A submission missing anything the agent or platform delivers is a
+// boot refusal, never SMTP or logged mail in its place: not even with
+// SMTP still configured beside it.
+func TestNewMailerRefusesHalfASubmission(t *testing.T) {
+ socket, _ := controlSocket(t)
+ for _, missing := range []string{"CARLOS_CONTROL_SOCKET",
+ "CARLOS_ADMIN_TOKEN", "CARLOS_MAIL_FROM"} {
+ t.Run(missing, func(t *testing.T) {
+ env := map[string]string{"CARLOS_MAIL": "submit",
+ "CARLOS_CONTROL_SOCKET": socket, "CARLOS_ADMIN_TOKEN": "token",
+ "CARLOS_MAIL_FROM": "noreply@slides.oficina.works",
+ "SLIDES_MAIL_FROM": "decks@slides.oficina.works",
+ "SLIDES_SMTP_HOST": "email-smtp.eu-west-1.amazonaws.com",
+ "SLIDES_SMTP_FROM": "old@slides.oficina.works"}
+ delete(env, missing)
+ _, err := mailerWith(t, env)
+ if err == nil || !strings.Contains(err.Error(), missing) {
+ t.Fatalf("submission with no %s: %v", missing, err)
+ }
+ })
+ }
+}
diff --git a/cmd/slides/main.go b/cmd/slides/main.go
index 98a8083..94bd6a7 100644
--- a/cmd/slides/main.go
+++ b/cmd/slides/main.go
@@ -122,25 +122,43 @@ func smtpSecret(name string) string {
return os.Getenv("CARLOS_SMTP_" + name)
}
-// newMailer builds the magic-link sender from the SMTP settings above.
+// newMailer builds the magic-link sender: CARLOS mail submission when
+// the agent turned it on, else SMTP from the settings above.
//
-// mail.SMTP directly rather than mail.FromEnv, because FromEnv reads
-// one prefix and this needs the per-variable SLIDES-then-CARLOS
-// fallback. It also falls back to a warning-and-log sender when HOST or
-// FROM is missing, which is the wrong answer outside development: a nil
-// return here is what lets slides.New refuse to start rather than
-// quietly logging live credentials in a real deployment's log.
+// Submission ($CARLOS_MAIL=submit, which only the CARLOS agent sets,
+// with its control socket) goes through rastrillo's mail.FromCarlos,
+// and the instance holds no mail credential. The From is
+// $CARLOS_MAIL_FROM, exactly what the platform delivers: it names the
+// variable from the app's declared prefix (CARLOS_SMTP for Slides, so
+// stem CARLOS). There is deliberately no SLIDES_ override here, unlike
+// the SMTP settings: the platform never delivers one, and the mail verb
+// sends only as the app's own sender. A submission missing
+// its socket, token or From is an error, so Slides refuses to start
+// rather than failing the first sign-in. main calls this only on the
+// serving path: a CARLOS seed or one-shot has no control socket, and
+// the agent strips $CARLOS_MAIL from it.
+//
+// SMTP is mail.SMTP directly rather than mail.FromEnv or FromCarlos,
+// because both read one prefix and this needs the per-variable
+// SLIDES-then-CARLOS fallback. FromEnv also falls back to a
+// warning-and-log sender when HOST or FROM is missing, which is the
+// wrong answer outside development: a nil return here is what lets
+// slides.New refuse to start rather than quietly logging live
+// credentials in a real deployment's log.
//
// HOST and FROM are the two values with no sane default, so either one
// missing means this instance has no relay. PORT defaults to 587 inside
// mail.SMTP; USER empty means anonymous submission.
-func newMailer(logger *slog.Logger) mail.Sender {
+func newMailer(logger *slog.Logger) (mail.Sender, error) {
+ if os.Getenv("CARLOS_MAIL") == "submit" {
+ return mail.FromCarlos("CARLOS", logger)
+ }
host, from := smtpSetting("HOST"), smtpSetting("FROM")
if host == "" || from == "" {
- return nil
+ return nil, nil
}
logger.Info("slides: SMTP configured", "host", host, "from", from)
- return mail.SMTP(host, smtpSetting("PORT"), from, smtpSecret("USER"), smtpSecret("PASS"))
+ return mail.SMTP(host, smtpSetting("PORT"), from, smtpSecret("USER"), smtpSecret("PASS")), nil
}
// newBlobs binds the object store: the platform's bucket when it
@@ -245,6 +263,12 @@ func main() {
os.Exit(1)
}
+ mailer, err := newMailer(logger)
+ if err != nil {
+ logger.Error("configure mail", "err", err)
+ os.Exit(1)
+ }
+
d, err := db.Open(opts.DBPath, logger)
if err != nil {
logger.Error("open database", "err", err)
@@ -260,7 +284,7 @@ func main() {
Origin: origin,
Env: env,
InstanceKey: os.Getenv("SLIDES_INSTANCE_KEY"),
- Mailer: newMailer(logger),
+ Mailer: mailer,
// Split here rather than inside New so Config carries a value
// that is already the shape it means: a list of addresses, not
// a string that happens to have commas in it.
diff --git a/go.mod b/go.mod
index 1e2e107..4c09d67 100644
--- a/go.mod
+++ b/go.mod
@@ -12,7 +12,7 @@ require (
amadan.net/oficina/home/handoff v0.0.0-20261024233715-ff16bf56bc4d
amadan.net/oficina/home/roster v0.0.0-20261028171508-67c12e39a9d2
amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2
- amadan.net/rastrillo/rastrillo v0.27.1-0.20261006204347-fb806a287060
+ amadan.net/rastrillo/rastrillo v0.27.1
github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327
github.com/chromedp/chromedp v0.14.2
github.com/go-chi/chi/v5 v5.3.2
diff --git a/go.sum b/go.sum
index 2cd0014..c1cd855 100644
--- a/go.sum
+++ b/go.sum
@@ -12,8 +12,8 @@ amadan.net/oficina/home/roster v0.0.0-20261028171508-67c12e39a9d2 h1:yKUTS0nOiVw
amadan.net/oficina/home/roster v0.0.0-20261028171508-67c12e39a9d2/go.mod h1:gqshuXyDtFZUCYbhuZyV3Epc51pUcsLbpqAqiA5UiXg=
amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2 h1:0PQiRUkC+9cbTHE67Y4/SmW1sPH1NNWNwTceNFyMjTY=
amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2/go.mod h1:dXBZeB2ic33SIZiGUCzafmviUT8TYWgzSYZvo2rM6zA=
-amadan.net/rastrillo/rastrillo v0.27.1-0.20261006204347-fb806a287060 h1:K2PXcCKfm+AYrqgH1ea6cNsFs4sN7MKLvq+uBY11NZE=
-amadan.net/rastrillo/rastrillo v0.27.1-0.20261006204347-fb806a287060/go.mod h1:WmC8TAIfqjAkSwmD+FCTqr7VuqAO5FaX03HlV49K608=
+amadan.net/rastrillo/rastrillo v0.27.1 h1:cVG2ll1BZxlyyuNINRKblKO/6hvk/ucCFXz6HNoCo58=
+amadan.net/rastrillo/rastrillo v0.27.1/go.mod h1:WmC8TAIfqjAkSwmD+FCTqr7VuqAO5FaX03HlV49K608=
amadan.net/rastrillo/rastrillo/money v0.1.0 h1:MxU4oqNrW8abxRTkgZBv24OYNpFnvonajNqeLIzmmaM=
amadan.net/rastrillo/rastrillo/money v0.1.0/go.mod h1:cmgkjBEIQh1pFSYvQk0UU6oPYS8kSDypdT9+t4Flx0U=
github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk=
diff --git a/internal/slides/auth.go b/internal/slides/auth.go
index 3f8e117..ea9b389 100644
--- a/internal/slides/auth.go
+++ b/internal/slides/auth.go
@@ -94,7 +94,7 @@ func resolveMailer(cfg Config, logger *slog.Logger) (mail.Sender, error) {
return cfg.Mailer, nil
}
if !cfg.development() {
- return nil, fmt.Errorf("slides: mail is not configured and Env is %q, not %q — refusing to start: a sign-in that cannot send its link is not sign-in. Set $SLIDES_SMTP_HOST and $SLIDES_SMTP_FROM, or run `carlos email enable` for this app and let $CARLOS_SMTP_HOST supply the relay", cfg.Env, EnvDevelopment)
+ return nil, fmt.Errorf("slides: mail is not configured and Env is %q, not %q — refusing to start: a sign-in that cannot send its link is not sign-in. Switch the app to CARLOS mail submission (the agent then sets $CARLOS_MAIL=submit), run `carlos email enable` for this app and let $CARLOS_SMTP_HOST supply the relay, or set $SLIDES_SMTP_HOST and $SLIDES_SMTP_FROM", cfg.Env, EnvDevelopment)
}
// mail.Logged labels every send loudly itself — see its own doc
// comment. Never reached outside development.
diff --git a/internal/slides/config.go b/internal/slides/config.go
index 6399407..a32e971 100644
--- a/internal/slides/config.go
+++ b/internal/slides/config.go
@@ -96,7 +96,9 @@ type Config struct {
// live credential in a real deployment's log is the mistake that
// fallback exists to flag, not to absorb.
//
- // cmd/slides/main.go builds it from $SLIDES_SMTP_{HOST,PORT,USER,
+ // cmd/slides/main.go builds it (newMailer): CARLOS mail submission
+ // through rastrillo's mail.FromCarlos when the agent set
+ // $CARLOS_MAIL=submit, else SMTP from $SLIDES_SMTP_{HOST,PORT,USER,
// PASS,FROM}, falling back per variable to the $CARLOS_SMTP_*
// equivalent that `carlos email enable` delivers — see smtpSetting
// there for why the fallback is per variable rather than per set.
diff --git a/internal/slides/credits/notices.json b/internal/slides/credits/notices.json
index 0721ef5..0bf3238 100644
--- a/internal/slides/credits/notices.json
+++ b/internal/slides/credits/notices.json
@@ -90,7 +90,7 @@
},
{
"Name": "amadan.net/rastrillo/rastrillo",
- "Version": "v0.27.1-0.20261006204347-fb806a287060",
+ "Version": "v0.27.1",
"SourceURL": "https://amadan.net/rastrillo/rastrillo",
"Notices": [
{