The v0.23.2 macOS job compiled Apple Silicon and Intel in series on one
macos-15 runner; the Build, sign, notarize step took about 3 hours 2
minutes (run 46835450051). macos-split-build: true compiles each
architecture on its own runner, then package.sh --skip-build lipos,
signs and notarizes the prebuilt pdfcraft and pdfcraft-cli binaries.
Fixes#9074.
A same-machine comparison did not finish within its time limit, and the cold runs show no gain
(80.5 minutes of build with it against 83.9 without), so it is not kept.
harness_clip's wait read app.views[0] on its first check. An encrypted document opens in the
background after setup submits its password, so on a slow or busy machine the view did not
exist yet and the closure panicked with an index out of bounds instead of waiting.
A Windows nextest run failed rendered_page_content_is_identical_with_and_without_decoration at a
sidebar pixel: (119,119,124) with shadows on, (204,230,255), the page artwork's colour, with them
off. The sidebar thumbnails arrived between the two renders, and render_pending does not cover them.
(cherry picked from commit f5becd53f2)
A Windows nextest run failed rendered_page_content_is_identical_with_and_without_decoration at a
sidebar pixel: (119,119,124) with shadows on, (204,230,255), the page artwork's colour, with them
off. The sidebar thumbnails arrived between the two renders, and render_pending does not cover them.
Windows runs the crates with cfg(windows) code or tests, as Ubuntu does, with nextest. The 23 crates
without any, xtask, pdfcraft-web and the OCR worker stay on Ubuntu (cargo xtask ci runs them).
The Windows link step uses rust-lld. The warm leg builds exactly what the gate runs.
A Windows nextest run (trial, 9261 tests) failed opening_a_missing_file_fails_and_tells_the_user:
the failed read is reported from a background load, which four frames did not always cover.
(cherry picked from commit 7627f5f7e8)
The Format text font field is shut ("Loading fonts…") until the installed-font catalogue has
finished its first scan, and a list opened earlier closes when the catalogue arrives. Two
tests opened it after a fixed number of frames, so a slow or contended runner (the Windows gate
runs the whole `it` binary in one process) clicked a shut field. They now wait for
App::installed_fonts_pending to clear first.
(cherry picked from commit 116f5cbbaa)
cargo test runs the pdfcraft binary's unit tests in one process. The single-instance socket
tests called launch_profile::prepare, which installs the nightly profile in craft_nightly's
process-wide OnceLock, so tests that ran after them saw a nightly launch: the window icon test
compared the nightly icon with the stable one, and stable_defaults_and_nightly_version_line
found is_nightly() true. The FreeBSD workflow runs plain cargo test and failed this way.
The socket tests now parse and validate the launch the same way, without installing it.
A Windows nextest run (trial, 9261 tests) failed opening_a_missing_file_fails_and_tells_the_user:
the failed read is reported from a background load, which four frames did not always cover.
After main was merged in, notices() takes eight arguments and clippy's
too_many_arguments fails the gate. AGENTS.md asks to fix the code a lint reports
rather than silence it, so the four booleans that decide which notices show
(form-field reminder, secured, repaired, lock offer) now travel as NoticeFlags.
Behaviour is unchanged.
Also use assert!(!..) in the form reminder test, which the newer clippy flags
(bool_assert_comparison); the assertion is the same.
The Format text font field is shut ("Loading fonts…") until the installed-font catalogue has
finished its first scan, and a list opened earlier closes when the catalogue arrives. Two
tests opened it after a fixed number of frames, so a slow or contended runner (the Windows gate
runs the whole `it` binary in one process) clicked a shut field. They now wait for
App::installed_fonts_pending to clear first.
The Windows gate has no dependency cache, so every Windows run compiles all 741 crates cold.
A `cache warm (windows-latest)` leg now builds the tests and saves the entry as soon as the build
succeeds, so a main whose Windows tests fail still seeds it. The call has a 120-minute limit for a
cold run. cache-prune.yml deletes an entry once a newer one of its family replaces it.
Clippy runs on Linux in cargo xtask ci, and its lints don't differ by platform.
Debug info for every dependency made a cold-cache Windows gate spend its 90
minutes compiling (run 46775764634), so cargo test never started.
Closes#9032