WIP: implementer stopped mid-task (weekly model limit); untested
Saved as-is by the coordinating session so the work isn't lost. The next implementer continues from here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 files changed,
+493
−106
fixtures/editor-entry.js+13 −29fixtures/status.mjs+59 −15fixtures/status.test.mjs+59 −12go.mod+1 −1go.sum+2 −2internal/slides/render.go+4 −2internal/slides/save_status.go+59 −0internal/slides/static/{editor.94492ae03aa185ba.js => editor.5024c57ebd249378.js}+15 −15internal/slides/static/editor.css+8 −11internal/slides/templates/editor.html+11 −10internal/slidestest/browser_assets_test.go+1 −1internal/slidestest/browser_editor_modal_test.go+123 −0internal/slidestest/browser_test.go+7 −7internal/slidestest/editor_test.go+1 −1internal/slidestest/save_status_browser_test.go+69 −0internal/slidestest/save_status_test.go+61 −0
CI failed — run details
CI log
=== gate ===
=== rust: fmt
=== rust: clippy
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling version_check v0.9.5
Compiling zerocopy v0.8.56
Checking cfg-if v1.0.4
Checking once_cell v1.21.4
Compiling serde v1.0.229
Checking smallvec v1.15.2
Compiling libc v0.2.189
Compiling parking_lot_core v0.9.12
Compiling zmij v1.0.23
Checking parking v2.2.1
Compiling autocfg v1.5.1
Compiling rustversion v1.0.23
Compiling crossbeam-utils v0.8.22
Checking pin-project-lite v0.2.17
Compiling thiserror v2.0.20
Checking event-listener v5.4.2
Compiling serde_json v1.0.151
Compiling libm v0.2.16
Compiling paste v1.0.15
Checking scopeguard v1.2.0
Checking lock_api v0.4.14
Checking itoa v1.0.18
Checking event-listener-strategy v0.5.4
Checking foldhash v0.2.0
Compiling ahash v0.8.12
Checking memchr v2.8.3
Checking async-lock v3.4.2
Checking smallstr v0.3.1
Checking indexmap-nostd v0.4.0
Compiling num-traits v0.2.19
Checking equivalent v1.0.2
Checking fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core/vendor/fastrand-2.5.0)
Checking downcast-rs v1.2.1
Checking spin v0.9.9
Checking bitflags v2.13.1
Checking multi-stash v0.2.0
Checking wasmparser-nostd v0.100.2
Checking arrayvec v0.7.8
Checking semver v1.0.28
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
Compiling num-derive v0.4.2
Checking indexmap v2.14.1
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/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.63s
=== wasm: the artifact the host embeds
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling serde_core v1.0.229
Compiling cfg-if v1.0.4
Compiling pin-project-lite v0.2.17
Compiling rustversion v1.0.23
Compiling crossbeam-utils v0.8.22
Compiling smallvec v1.15.2
Compiling parking_lot_core v0.9.12
Compiling getrandom v0.4.3
Compiling zmij v1.0.23
Compiling thiserror v2.0.20
Compiling serde v1.0.229
Compiling serde_json v1.0.151
Compiling scopeguard v1.2.0
Compiling once_cell v1.21.4
Compiling itoa v1.0.18
Compiling event-listener v5.4.2
Compiling lock_api v0.4.14
Compiling memchr v2.8.3
Compiling hashbrown v0.14.5
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-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 dashmap v6.2.1
Compiling arc-swap v1.9.2
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/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core)
Finished `release` profile [optimized] target(s) in 12.23s
core/target/wasm32-unknown-unknown/release/slides_core.wasm (1228229 bytes)
=== the embedded wasm must match a fresh build
=== 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 crossbeam-utils v0.8.22
Compiling zmij v1.0.23
Compiling memchr v2.8.3
Compiling foldhash v0.2.0
Compiling itoa v1.0.18
Compiling num-traits v0.2.19
Compiling arc-swap v1.9.2
Compiling lock_api v0.4.14
Compiling thiserror v2.0.20
Compiling libm v0.2.16
Compiling event-listener v5.4.2
Compiling indexmap-nostd v0.4.0
Compiling downcast-rs v1.2.1
Compiling smallstr v0.3.1
Compiling fastrand v2.5.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core/vendor/fastrand-2.5.0)
Compiling equivalent v1.0.2
Compiling wasmparser-nostd v0.100.2
Compiling multi-stash v0.2.0
Compiling semver v1.0.28
Compiling arrayvec v0.7.8
Compiling bitflags v2.13.1
Compiling spin v0.9.9
Compiling event-listener-strategy v0.5.4
Compiling async-lock v3.4.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/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.03s
Running unittests src/lib.rs (core/target/debug/deps/slides_core-929bfceb2edd4a94)
running 30 tests
test check::tests::the_empty_document_passes ... ok
test layout::tests::aside_region_rect ... 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 layout::tests::to_canvas_narrows_body_when_an_aside_is_present ... 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 layout::tests::to_flow_classifies_by_position_and_kind ... ok
test check::tests::what_the_ops_write_passes ... ok
test check::tests::a_non_paragraph_child_is_reported ... 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::an_unknown_formatting_attribute_is_reported ... ok
test layout::tests::to_flow_keeps_a_concurrent_text_edit ... ok
test markdown::tests::empty_input_is_no_paragraphs_and_lines_keep_blanks ... ok
test markdown::tests::inline_marks ... ok
test markdown::tests::marks_nest_and_links_carry_marks ... ok
test markdown::tests::paragraphs_split_on_blank_lines_and_list_markers ... 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_written_as_a_plain_string_still_reads_back ... ok
test schema::tests::href_is_written_as_a_one_key_map_and_reads_back ... ok
test layout::tests::to_flow_orders_y_then_x ... 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_background_is_the_default ... ok
test view::tests::malformed_fonts_are_null ... 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-184c0d8bf00e14f9)
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-256addce27f366d1)
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 update_roundtrip ... ok
test move_block_keeps_a_concurrent_text_edit ... ok
test move_slide_keeps_a_concurrent_text_edit ... ok
test columns_children_have_one_parent_and_no_cycles ... 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)
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling autocfg v1.5.1
Checking simd-adler32 v0.3.10
Compiling serde_core v1.0.229
Checking log v0.4.34
Checking arrayvec v0.7.8
Compiling libm v0.2.16
Checking bitflags v2.13.1
Checking adler2 v2.0.1
Checking smallvec v1.16.0
Compiling crc32fast v1.5.1
Checking cfg-if v1.0.4
Compiling libc v0.2.189
Checking foldhash v0.2.0
Compiling version_check v0.9.5
Checking equivalent v1.0.2
Checking arrayref v0.3.9
Checking memchr v2.8.3
Checking roxmltree v0.20.0
Checking tinyvec_macros v0.1.1
Checking unicode-script v0.5.8
Checking siphasher v1.0.3
Checking unicode-bidi-mirroring v0.4.0
Checking unicode-properties v0.1.4
Checking polycool v0.4.0
Checking unicode-ccc v0.4.0
Checking tinyvec v1.13.2
Checking miniz_oxide v0.9.1
Checking fdeflate v0.3.7
Checking miniz_oxide v0.8.9
Checking weezl v0.1.12
Checking kurbo v0.13.1
Compiling slotmap v1.1.1
Checking byteorder-lite v0.1.0
Compiling num-traits v0.2.19
Checking base64 v0.22.1
Checking fontconfig-parser v0.5.8
Checking quick-error v2.0.1
Checking color_quant v1.1.0
Checking imagesize v0.14.0
Checking zune-core v0.5.3
Checking roxmltree v0.21.1
Checking gif v0.14.2
Checking image-webp v0.2.4
Checking simplecss v0.2.2
Checking pico-args v0.5.0
Checking flate2 v1.1.10
Checking ryu v1.0.23
Checking unicode-vo v0.1.0
Checking zune-jpeg v0.5.15
Checking xmlwriter v0.1.0
Checking stable_deref_trait v1.2.1
Checking rustc-hash v2.1.3
Checking itoa v1.0.18
Checking unicode-bidi v0.3.18
Checking data-url v0.3.2
Compiling syn v3.0.5
Checking core_maths v0.1.1
Compiling syn v2.0.119
Checking svgtypes v0.16.1
Checking pdf-writer v0.15.0
Compiling serde v1.0.229
Checking bumpalo v3.20.3
Checking png v0.18.1
Checking ttf-parser v0.25.1
Checking xmp-writer v0.3.3
Checking semver v1.0.28
Checking float-cmp v0.9.0
Checking strict-num v0.1.1
Checking memmap2 v0.9.11
Checking hashbrown v0.17.1
Compiling bytemuck_derive v1.12.0
Checking indexmap v2.14.2
Checking fontdb v0.23.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 write-fonts v0.48.1
Checking skrifa v0.42.1
Checking subsetter v0.2.6
Checking krilla v0.8.2
Checking krilla-svg v0.8.1
Checking slides-pdf v0.1.0 (/home/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core/pdf)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.90s
=== wasm: the pdf artifact the host embeds
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling autocfg v1.5.1
Compiling simd-adler32 v0.3.10
Compiling arrayvec v0.7.8
Compiling libm v0.2.16
Compiling log v0.4.34
Compiling smallvec v1.16.0
Compiling crc32fast v1.5.1
Compiling adler2 v2.0.1
Compiling bitflags v2.13.1
Compiling cfg-if v1.0.4
Compiling version_check v0.9.5
Compiling arrayref v0.3.9
Compiling memchr v2.8.3
Compiling hashbrown v0.17.1
Compiling unicode-properties v0.1.4
Compiling siphasher v1.0.3
Compiling miniz_oxide v0.9.1
Compiling polycool v0.4.0
Compiling miniz_oxide v0.8.9
Compiling fdeflate v0.3.7
Compiling tinyvec_macros v0.1.1
Compiling unicode-script v0.5.8
Compiling equivalent v1.0.2
Compiling unicode-ccc v0.4.0
Compiling slotmap v1.1.1
Compiling unicode-bidi-mirroring v0.4.0
Compiling tinyvec v1.13.2
Compiling kurbo v0.13.1
Compiling memmap2 v0.9.11
Compiling num-traits v0.2.19
Compiling zune-core v0.5.3
Compiling imagesize v0.14.0
Compiling color_quant v1.1.0
Compiling flate2 v1.1.10
Compiling indexmap v2.14.2
Compiling base64 v0.22.1
Compiling weezl v0.1.12
Compiling quick-error v2.0.1
Compiling byteorder-lite v0.1.0
Compiling syn v3.0.5
Compiling syn v2.0.119
Compiling gif v0.14.2
Compiling png v0.18.1
Compiling zune-jpeg v0.5.15
Compiling image-webp v0.2.4
Compiling roxmltree v0.21.1
Compiling simplecss v0.2.2
Compiling float-cmp v0.9.0
Compiling unicode-bidi v0.3.18
Compiling core_maths v0.1.1
Compiling strict-num v0.1.1
Compiling ttf-parser v0.25.1
Compiling svgtypes v0.16.1
Compiling xmlwriter v0.1.0
Compiling unicode-vo v0.1.0
Compiling ryu v1.0.23
Compiling rustc-hash v2.1.3
Compiling pico-args v0.5.0
Compiling data-url v0.3.2
Compiling stable_deref_trait v1.2.1
Compiling itoa v1.0.18
Compiling xmp-writer v0.3.3
Compiling pdf-writer v0.15.0
Compiling bumpalo v3.20.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 zerofrom v0.1.8
Compiling bytemuck v1.25.2
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/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core/pdf)
Finished `release` profile [optimized] target(s) in 26.41s
core/pdf/target/wasm32-unknown-unknown/release/slides_pdf.wasm (5301002 bytes)
=== the embedded pdf wasm must match a fresh build
=== rust: test (pdf)
Compiling log v0.4.34
Compiling simd-adler32 v0.3.10
Compiling arrayvec v0.7.8
Compiling adler2 v2.0.1
Compiling bitflags v2.13.1
Compiling smallvec v1.16.0
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 unicode-ccc v0.4.0
Compiling unicode-properties v0.1.4
Compiling polycool v0.4.0
Compiling unicode-bidi-mirroring v0.4.0
Compiling roxmltree v0.20.0
Compiling miniz_oxide v0.9.1
Compiling font-types v0.11.3
Compiling miniz_oxide v0.8.9
Compiling fdeflate v0.3.7
Compiling tinyvec_macros v0.1.1
Compiling siphasher v1.0.3
Compiling unicode-script v0.5.8
Compiling tinyvec v1.13.2
Compiling slotmap v1.1.1
Compiling zune-core v0.5.3
Compiling kurbo v0.13.1
Compiling quick-error v2.0.1
Compiling read-fonts v0.39.2
Compiling fontconfig-parser v0.5.8
Compiling weezl v0.1.12
Compiling base64 v0.22.1
Compiling byteorder-lite v0.1.0
Compiling color_quant v1.1.0
Compiling float-cmp v0.9.0
Compiling strict-num v0.1.1
Compiling imagesize v0.14.0
Compiling gif v0.14.2
Compiling image-webp v0.2.4
Compiling zune-jpeg v0.5.15
Compiling tiny-skia-path v0.12.0
Compiling roxmltree v0.21.1
Compiling zerofrom v0.1.8
Compiling simplecss v0.2.2
Compiling unicode-vo v0.1.0
Compiling memmap2 v0.9.11
Compiling flate2 v1.1.10
Compiling ryu v1.0.23
Compiling core_maths v0.1.1
Compiling ttf-parser v0.25.1
Compiling svgtypes v0.16.1
Compiling png v0.18.1
Compiling stable_deref_trait v1.2.1
Compiling unicode-bidi v0.3.18
Compiling itoa v1.0.18
Compiling rustc-hash v2.1.3
Compiling pico-args v0.5.0
Compiling xmlwriter v0.1.0
Compiling data-url v0.3.2
Compiling pdf-writer v0.15.0
Compiling yoke v0.8.3
Compiling rgb v0.8.53
Compiling xmp-writer v0.3.3
Compiling bumpalo v3.20.3
Compiling semver v1.0.28
Compiling hashbrown v0.17.1
Compiling serde v1.0.229
Compiling tiny-skia v0.12.0
Compiling indexmap v2.14.2
Compiling wasmparser v0.258.0
Compiling rustybuzz v0.20.1
Compiling fontdb v0.23.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/paulca/.local/state/amadan/runner/repos/oficina__slides/wt/wip__r2-slides-editor/core/pdf)
Finished `test` profile [unoptimized + debuginfo] target(s) in 21.53s
Running unittests src/lib.rs (core/pdf/target/debug/deps/slides_pdf-891fafaa44f9fd64)
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-17ccbb1d62120093)
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-2e1d7e8b19d78595)
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
v24.19.0
11.17.0
=== fixtures: npm ci (needs the registry — see .amadan/README.md)
added 19 packages, and audited 20 packages in 706ms
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
=== fixtures: the JS side's own tests
✔ one finished upload is register_asset plus the block that uses it, in one batch (20.474402ms)
✔ a record missing its numbers still makes an op the core accepts (1.446762ms)
✔ unusedAssets is what no slide refers to, and remove_asset drops one (7.41568ms)
✔ the Unused images list reconciles by id and names each Remove button (1.01027ms)
✔ an upload refusal is said in words the person can act on (0.226131ms)
✔ clampBox keeps the box inside the frame and no smaller than the minimum (2.094848ms)
✔ fixBox writes four decimals (0.328531ms)
✔ guides are the thirds plus every other block edge (0.320527ms)
✔ snapMove pulls the nearest edge onto a guide within one per cent, and leaves a far one (0.618601ms)
✔ snapResize moves only the edges the handle drags (0.302172ms)
✔ moveBox and resizeBox by handle (0.325907ms)
✔ nudge: arrows move by half a per cent, Shift by two, Alt resizes (0.349991ms)
✔ rectBox reads a block rectangle against its frame (0.330234ms)
✔ typing into a block is a text change on its slide only (19.879585ms)
✔ a block's props changing is structure on its slide (2.403142ms)
✔ adding, moving or removing a block is structure on its slide (3.179707ms)
✔ the notes are text on their slide (1.5424ms)
✔ a slide added, removed or moved is an order change (2.490666ms)
✔ one transaction touching several things reports each once (1.684545ms)
✔ what the ops write passes, and so does an empty document (9.518865ms)
✔ the shapes y-prosemirror and older documents write pass (2.138319ms)
✔ an unknown formatting attribute is reported with the core's message (2.361415ms)
✔ an element inside a paragraph, a non-paragraph child and bare text are reported (3.445842ms)
✔ the unknownmark poison shape is what the check refuses (4.118915ms)
✔ y-prosemirror 1.3.7 deletes the words under an unknown mark; sanitising first keeps them (14.483815ms)
✔ the vocabulary is the five marks and nothing else (0.169205ms)
✔ a reload reuses the id this tab stored for the deck (1.108353ms)
✔ two tabs, and two decks in one tab, get different ids (1.420654ms)
✔ a stored value that is not an id, or storage that throws, gives a fresh id (0.33875ms)
✔ a duplicated tab gives up the copied id; the original keeps it (10.604885ms)
✔ a reload finds no rival and keeps its id (2.708281ms)
✔ presence switches id: beats carry the new one and the old one is somebody else (5.937189ms)
✔ an empty body is no frames (1.455338ms)
✔ frames come back in order with their exact bytes (0.351424ms)
✔ a length prefix is big-endian (0.242551ms)
✔ a truncated frame throws rather than returning a short update (1.858038ms)
✔ deck controls are set_meta (66.506205ms)
✔ slide controls are set_slide, and background keeps its colour (6.535792ms)
✔ move up and down are move_slide with the right after (2.988932ms)
✔ block props: value kinds, region, a shape label (3.070314ms)
✔ box fields are set_block on the desktop and set_phone in the phone view (7.06069ms)
✔ move block and the layer buttons (2.973914ms)
✔ add block: region after the selection on flow, a default box on canvas, a heading level that fits (13.214661ms)
✔ a block is named by its type and its first words (1.497537ms)
✔ blockChange: a control element to its op (1.366854ms)
✔ the Blocks list reconciles by id and keeps its buttons (1.220421ms)
✔ open resolves to the button that closed it and the trimmed field (1.787206ms)
✔ a second open while the dialog is up joins the first (0.223567ms)
✔ a missing dialog mounts as nothing (0.130403ms)
✔ a tab advances its own cursor only when its POST is the very next row (10.682679ms)
✔ the cursor never moves backwards when a response is overtaken by this tab's own write (0.692619ms)
✔ a later response still carries the cursor forward (0.325386ms)
✔ a burst of notifications collapses into one fetch at a time (0.299017ms)
✔ an event naming a seq the tab already has fetches nothing (0.20974ms)
✔ a stopped subscriber drops a response that arrives late (0.409853ms)
✔ stop closes the stream, and start opens exactly one (0.355562ms)
✔ a hidden tab closes its stream on a shortened deadline, and activity reopens it (0.920433ms)
✔ switching away and back inside the grace never drops the stream, so nothing has to be caught up (1.423599ms)
✔ a visible tab that is only being READ closes when idle and comes back on any activity (1.121456ms)
✔ activity while streaming defers the idle close rather than reopening anything (0.264202ms)
✔ a stream failure is never reported as a save failure, and heals on activity (0.252079ms)
✔ an empty response advances the cursor without applying anything (0.367353ms)
✔ a failed fetch leaves the cursor alone so the next notification retries it (0.632227ms)
✔ a decode failure retries once through the raw log, then gives up (1.582735ms)
✔ updatesURL spells the query string exactly, in particular raw as the literal raw=1 (0.177861ms)
✔ empty_doc_views_as_defaults (6.761242ms)
✔ set_meta (3.39116ms)
✔ slides: add, move, remove, set_slide, set_notes (6.49631ms)
✔ duplicate_slide (3.955601ms)
✔ blocks: add, move, remove, set_block (3.712809ms)
✔ set_phone (1.535036ms)
✔ table cells follow rows and cols (2.03133ms)
✔ canvas blocks: box defaults from the region, z from the index (1.041337ms)
✔ assets: register and remove (0.885087ms)
✔ markdown: every mark, code blocks are plain lines (8.067664ms)
✔ batch_is_atomic (2.156363ms)
✔ a batch applies in one transaction with the given origin (0.581672ms)
✔ columns_children_validated (1.385348ms)
✔ layout_switch_round_trip (1.790422ms)
✔ view_matches_snapshot_fixtures (13.10622ms)
✔ columns children have one parent and no cycles (codex 7) (1.356916ms)
✔ canvas-to-flow keeps a concurrent text edit (codex 4) (3.768983ms)
✔ move_block keeps a concurrent text edit, and later inserts land where after says (codex 4) (3.349693ms)
✔ move_slide keeps a concurrent text edit, and later inserts land where after says (codex 4 at slide level) (3.451292ms)
✔ format: {name} and {n} interpolate; an unknown key is left as text (10.169805ms)
✔ a beat on connect, then one every twenty seconds (1.998048ms)
✔ a move posts once, 200ms after the last of a burst, and re-arms the beat (1.538994ms)
✔ a hidden tab stops beating; coming back posts at once (0.292294ms)
✔ applySet leaves this tab out and answers what changed (0.573857ms)
✔ a set with rubbish in it is read for what it does carry (0.27386ms)
✔ initials, and a client id per tab (19.072283ms)
✔ a resync that fails is retried with backoff until it succeeds, without ever running twice at once (2.410807ms)
✔ the browser's online event retries immediately, not just on the next backoff tick (0.355641ms)
✔ reportDivergence before any failure runs the first attempt without a caller ever calling online (2.037081ms)
✔ a permanent 4xx drops its batch instead of retrying it, and does not poison the next edit (92.169552ms)
✔ a network failure or a 5xx is retried, not dropped (60.642893ms)
✔ a 500 is retried the same way a network failure is, never dropped (60.985832ms)
✔ the core-written structure reads as ProseMirror marks (5.85671ms)
✔ a y-prosemirror round trip preserves bold and the link (3.258614ms)
✔ y-prosemirror writes href as the one-key map and marks as {} (0.938456ms)
✔ a plain-string href, written before the map shape, still reads (0.76297ms)
✔ textFragment writes the same shape as writeText (0.557488ms)
✔ safeHref is the server allowlist, and a disallowed href never draws an anchor (0.420222ms)
✔ parseHash splits the slide and the block, and survives a stray % (1.898283ms)
✔ destroy takes the listeners off, and a second mount leaves one of each (0.772658ms)
✔ formatHash is the inverse (1.306041ms)
✔ textBlocks finds the text-bearing blocks and skips the rest (1.464956ms)
✔ mountTarget is the element whose children are the paragraphs (0.198329ms)
✔ paragraphTag keeps the renderer's own markup per type (0.122899ms)
✔ blockFragment finds a block's text by slide and block id (6.367519ms)
✔ notesFragment finds the slide's notes (0.776405ms)
✔ blockIDs and slideIDs are the orders on the stage and the strip (0.813974ms)
✔ cellFragments are a table's cells, row-major (1.110396ms)
✔ a load that fails leaves the stage on the slide it was showing and says so (1.178282ms)
✔ slideAfter is the slide to show once one is gone (0.186537ms)
✔ the queue words map to savestatus states, failed staying failed (1.263421ms)
✔ a dropped batch outranks the queue, for the rest of the session (0.22007ms)
✔ the editor status: the save line and the load error are two lines (0.302032ms)
✔ mountSaveStatus loads estilo's module and mounts it on the line (1.002837ms)
✔ a save-status module that will not load says so and refuses to mount (0.44014ms)
✔ dropTarget: before puts it ahead of the item, after behind it, null means first (0.720772ms)
✔ a drop that leaves the order as it is is no move (0.146743ms)
✔ dropOp is the move_slide (0.626886ms)
✔ labelFor is the slide's first heading, else the numbered fallback (5.213632ms)
✔ flush re-points every dirty thumbnail and relabels it (1.78441ms)
✔ destroy takes the item-menu listener off; a second mount leaves one (0.262488ms)
✔ plan says what to add, drop and where each item goes (0.701385ms)
✔ sync moves only the items out of place and keeps focus (1.151252ms)
✔ desktop view: box and size are the block; hidden and order are always the phone map (1.358829ms)
✔ phone view: everything goes to set_phone, carrying the rest of the map (0.364378ms)
✔ the ops it makes are ones the document takes (13.10035ms)
✔ phoneMap reads only the four keys, and only well-typed (0.196916ms)
✔ the stored view is read defensively (0.391659ms)
✔ linkAt reads the link under the cursor and nothing elsewhere (3.101061ms)
✔ setLink marks the selection (2.75156ms)
✔ setLink on a collapsed cursor inside a link replaces that link (0.727214ms)
✔ setLink with nothing selected and no link does nothing (0.273068ms)
✔ removeLink clears the link under the cursor (0.483369ms)
✔ the keymap binds every documented shortcut (0.285732ms)
✔ Mod-b toggles bold through the keymap (0.729949ms)
✔ setLink refuses an address outside the allowlist and writes nothing (0.674996ms)
✔ the state machine runs choose → sign → put → register → op (3.437468ms)
✔ a file the deck will not take never reaches the network (0.807753ms)
✔ alt text is required before the bytes move, unless the image is decorative (0.498047ms)
✔ a step that fails stops the ones after it and reports its own code (0.739987ms)
✔ a failure that is not ours still becomes an UploadError (0.391428ms)
✔ a second pick while one is in flight is refused, not raced (0.481255ms)
✔ an unreadable size is zero rather than a failure (0.326267ms)
✔ a per-call applyOp wins, so an upload lands on the block it was chosen for (0.302472ms)
✔ checkFile takes exactly the four types (0.466398ms)
✔ sha256Hex is the hex digest of the bytes (11.880107ms)
✔ refusal reads this app's JSON error shape, and survives one that is not (0.570421ms)
✔ malformed fonts are null (4.00362ms)
✔ a malformed background is the theme default (2.134783ms)
✔ a malformed box is null (0.902108ms)
✔ the phone layer keeps only its typed fields, order as a whole number (0.709611ms)
✔ assets are typed or skipped (0.441121ms)
✔ every poison update is deterministic bytes that apply to any deck (9.176788ms)
ℹ tests 158
ℹ suites 0
ℹ pass 158
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 391.625576
=== 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.5024c57ebd249378.js (376213 bytes)
=== go: vet, gofmt, test, migration check
go vet ./...
go test ./...
? amadan.net/oficina/slides/cmd/slides [no test files]
--- FAIL: TestCreditsMatchReleaseArtifacts (0.07s)
credits_test.go:67: credit inventory drift: exit status 1
credit asset inventory is stale; run scripts/credits.py
2026/09/24 10:11:39 INFO migrate applied="[sessions/0001_init auth/0001_init auth/0002_sessions_backfill slides/0001_init slides/0002_create_decks slides/0003_create_share_links slides/0004_create_presentations slides/0005_create_agents slides/0006_create_deck_snapshots slides/0007_create_deck_assets slides/0008_create_asset_uploads]" skipped=0 adopted=false
FAIL
FAIL amadan.net/oficina/slides/internal/slides 12.499s
ok amadan.net/oficina/slides/internal/slides/core 2.915s
ok amadan.net/oficina/slides/internal/slides/deck 0.007s
ok amadan.net/oficina/slides/internal/slides/fonts 0.017s
? amadan.net/oficina/slides/internal/slides/icons [no test files]
ok amadan.net/oficina/slides/internal/slides/layout 0.026s
ok amadan.net/oficina/slides/internal/slides/live 0.006s
ok amadan.net/oficina/slides/internal/slides/pdfcore 4.237s
ok amadan.net/oficina/slides/internal/slides/present 0.004s
ok amadan.net/oficina/slides/internal/slides/render 0.020s
ok amadan.net/oficina/slides/internal/slides/svg 0.017s
ok amadan.net/oficina/slides/internal/slidestest 50.048s
FAIL
make: *** [Makefile:85: test] Error 1
amadan: step gate failed: exit status 2
amadan: job failed at step gate — its output is above, not at the tail of this log
fixtures/editor-entry.jsLoading diff…
fixtures/status.mjsLoading diff…
fixtures/status.test.mjsLoading diff…
go.modLoading diff…
go.sumLoading diff…
internal/slides/render.goLoading diff…
internal/slides/save_status.goLoading diff…
internal/slides/static/{editor.94492ae03aa185ba.js => editor.5024c57ebd249378.js}Loading diff…
internal/slides/static/editor.cssLoading diff…
internal/slides/templates/editor.htmlLoading diff…
internal/slidestest/browser_assets_test.goLoading diff…
internal/slidestest/browser_editor_modal_test.goLoading diff…
internal/slidestest/browser_test.goLoading diff…
internal/slidestest/editor_test.goLoading diff…
internal/slidestest/save_status_browser_test.goLoading diff…
internal/slidestest/save_status_test.goLoading diff…