The slowest UI GPU tests (live_stroke_canvas committed-stroke parts, the
checker_canvas pixel grids, full_res_preview) all start first by priority
and share the Windows CPU-backed adapter. Four at once starved one frame
past egui_kittest's 10 s device poll ("PollError: ... Wait timed out"),
live_stroke_canvas part_0 failing twice in a row. Two slots each keep at
most two of them on the adapter; no case or timeout changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Compiled Nightly flavor of PhotoCraft with its own settings, recovery data, agent folders, Windows identity and file routing, plus keyless Windows nightly packaging whose output must be signed and verified in a separate step. Does not enable nightly builds or publishing; stable behaviour is unchanged.
Main now checks each command's params against its documented list
(#15255), and the Image Processor lists `input`, not the `files` alias, so
the #14748 test that sent `files: []` got "unknown parameter" instead of
the no-source error it checks.
nightly.ps1 now enforces what the Linux helper does: an exact 40-hex commit, a
version naming that commit, the original run date, and a clean checkout of it
before and after the build. package.ps1 no longer defaults those for Nightly.
The profile root also refuses the default MSI install folders, folders under a
portable copy and the stable Flatpak data folder, and every existing entry in
the profile must resolve inside it. An empty build channel means stable.
- CMYK Channel Mixer in a 32-bit document: the change is added as the
difference of two round trips through the inks, so samples past 0..1
keep their magnitude and an identity mixer leaves HDR highlights alone.
- PSD: a Channel Mixer block in PhotoCraft's old RGB layout (fourth record
repeating the first, no black source) in a CMYK document keeps its RGB
reading instead of setting the black ink to the cyan mix.
- Color Settings dialog: a Monitor Profile set before the first pass
loads Monitor Color's working RGB at once, and Reset set before the
first pass shows Custom.
- Test: the non-identity CMYK mixer check runs in RGB documents too.
- Curves at 8 bit: evaluate the channel and composite curves at the 256
exact levels instead of between two entries of the 4096-entry table, so
a pencil step between levels 128 and 129 no longer gives level 128 a
fraction that rounds to level 4.
- Color Settings: a later Monitor Profile change keeps "Monitor Color"
only while the values still are what Monitor Color would set.
- Color Settings dialog: a control changed by ui.dialog.set before the
first pass shows Custom instead of becoming the baseline.
- Stored-channel edits (Lab/CMYK, CMYK Channel Mixer) mix through the
selection as v*(1-k) + o*k, exact at full coverage over huge 32-bit
values.
- Action playback: a Channel Mixer step the editor refuses reports the
refusal instead of opening the generic step editor.
- Shortcut set test: assert Cancel closes the confirmation.
- Merge follow-up: Session's colour state is reached through
ColorExt::color()/color_mut() on main now.
The scan now carries the file each stored link path resolved to, and the poll
drops it when the active document's current resolved files differ. Save As
to another folder changes what a relative link resolves to without changing
the stored path.
heavy-filter already caps mcp_wait at one concurrent test, but other
tests in the shard still ran beside them. On artcraft-k8s-main a
bridged jobs.list poll then missed the 300ms client timeout. Require
every test thread so these tests actually run alone, as the comment
already said.
Fixes#16491.
The ci override still warned at 15s and killed the test at 45s. On
artcraft-k8s-main it already takes 31-33s when it passes, and current
main timed out at 45s after nearly finishing the registry. Keep the
15s warning and terminate after 90s, still well under the profile's
10-minute default.
Fixes#16489.
The process catalog the engine, font picker and Glyphs panel read follows the
shared engine's rule (uses_system_fonts): without the installed-font scan
(tests, nextest, PHOTOCRAFT_NO_SYSTEM_FONTS) it lists the bundled and added
fonts only, so a test's font list no longer depends on the machine. Code that
asks for installed fonts (load_system_fonts, installed_font_files) reads
installed_catalog(), the global Catalog. The options bar harness comment names
the real reason for its step limit.
The check moves here from the preset store's corrupt-file test, which loads the
tip through the store directly; tools.setBrush is a brush command, so its pick
test goes with the brush tests.
Part of #15710
Step 7 of the engine split (#15710) moves the paint commands into their own
crate. These test changes land first, so the cut moves code and tests as they
are:
- photocraft-engine-core gets a `failpoints` feature (no default) that compiles
the allocation failpoints outside core's own test build; the paint crate's
dev-dependency on core will turn it on, so its allocation-failure tests keep
their injected failures. `allocation` is a public module and the two arming
functions are public under the feature.
- Core tests whose subject is core but whose setup ran a paint command set the
pixels through the document (`tests::fill_active`) or use a core command:
channel copy/paste/clear, Edit > Fade (setup: Invert), Actions import and
playback, patterns, file revert/save/flatten, layer-style rasterize, tone
targets, brush tip loading from the preset store, the filter mask target.
- Tests whose subject is a paint command move beside it: Edit > Fill's result
reservation failure (fill_cmds), and the filter-mask brush stroke
(brush_cmds/filter_mask_stroke_tests.rs); the filter mask save check stays in
core with the mask set through the document.
- The sampler turn test spells out the expected coordinates instead of using a
private core helper; the job cleanup test sets the live commit directly
instead of through the Mixer Brush; the ignored fill timing drops its
comparison with a private helper.
- The .atn table check accepts the paint commands it names when they are not
installed.
No behaviour change in the app.
Part of #15710