Skip to content

Upstream intake 2026-11-29: 25 PRs - #1681

Merged
emmertex merged 46 commits into
stagingfrom
upstream-intake-2026-11-29
Nov 29, 2026
Merged

emmertex merged 46 commits into
stagingfrom
upstream-intake-2026-11-29

Conversation

@emmertex

@emmertex emmertex commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Upstream intake round 12: 25 upstream PRs ported, one commit each, plus the merge of staging, review fixes and the ledger update. Targets staging (it was first cut from main).

This round started from the monitor run of 2026-11-29 (10 of 146 waiting rows moved) and a triage of 275 upstream PRs that had no ledger or archive row. The full triage is in the round report; only ports and attempted ports get ledger rows.

Adopted

Upstream Fork commit What Checked
#4729 0a4024ad0 An old process version's untouched defaults are not an edit crs tests; import-time read only
#4747 964f12827 No warnings for inactive legacy XMP fields crs, lightroom_catalog and sidecar tests (292)
#4633 530afa632 Proofing keeps the picked ICC path upstream test
#4568 0519c8df8 Reject malformed keyword saved-set slots hostile-input test
#4572 71e926cec Print page number no longer overflows a u32 no-panic test
#4622 9ddf4c3d5 Slideshow skips photo effects with no photo test
#4627 c7fa4cad0 Preset export rejects malformed ids test
#4730 d5b22ebc0 Slideshow PDF reports its final size test
#4741 ef74a81ed Lightroom catalog import skips image probes for videos test (.MOV)
#4565 8421e3969 Normalize preset and import keywords integration test
#1638 d30dfd4f3 Overlapping import and preset roots are walked once portable nested-root tests
#4628 c224702d1 Local browse keeps C:\ and / roots unit tests
#4497 2291eae7b MCP export's bitDepth has no integer enum (Gemini) strings-only enum test
#4528 acc72a1a9 MCP export forwards its JPEG XL options test
#4737 9f57e59e6 MCP batch export continues past a missing original test; docs/mcp.md
#4538 be29ce402 cli mcp FOLDER keeps serving an empty folder e2e test
#1736 d423abe82 Cap on the control channel's pending event queue (the per-request caps were already in the fork) hostile-input test
#4653 79f41fbdf Linux reveal selects the files (FileManager1); no more xdg-open freeze unit tests; not run on Linux
#4663 da85582c9 <PREFIX>_DISABLE_UPDATES turns update checks off parse test; Nix wrapper not evaluated
#4444 4fc144152 Dragging a mask keeps the photo sharp test
#4484 cb32ba309 Contact sheet Paper box shows A4 / Letter test
#4482 9468923d8 Three unbounded test waits get a time limit test-only
#1204 589ae0254 macOS opens photos from Finder, the Dock and Open With: new unsafe helper crate crates/opendocs, named in AGENTS.md clippy cross-checked for aarch64-apple-darwin; not run on a Mac
#1261 027178033 A positive Paint vignette blends toward white (it was the same as Color) render change: 0.18 grey at amount 100 in the corner goes 0.877 → 1.0 linear; only positive Paint changes; sil 9 passed
#1828 e3b59f20c AI Denoise for X-Trans raws through an RGGB re-mosaic Bayer renders unchanged; round-trip PSNR 56–57 dB (smooth) / 33 dB (edgy); gap 11 narrowed

Not adopted

No shared version numbers were taken (no process-version or render-cache bump).

Review fixes (after merging staging)

Staging failures fixed here

The full Linux gate failed on four tests that also fail on staging alone; this PR touches their crates, so they are fixed here.

  • Backup pruning (catalog): a backup made in the same second as a pruned one reused the freed folder name and was itself pruned as the oldest. New backups take a number past every folder of that second, and pruning orders by time then number.
  • calibrate-lightroom probe-check (cli): it did not apply the camera's bundled calibration, so its base render differed from the app's once the Sony ILCE-7M3 calibration landed.
  • Translations (ui-egui): the three Faces detection-sensitivity texts were missing in all 17 languages.

Gates

On Windows, after the merge:

  • cargo clippy --workspace --all-targets -- -D warnings passes.
  • fmt, brand, layers, assets, parity, notes, windows, docs and i18n pass.
  • The four tests the Linux gate failed on pass: backup prune, probe-check, both i18n coverage tests.
  • In the full run of the affected crates, five tests (four white-balance tests in engine, one phone-menu test) failed under parallel load; they pass on their own, here and on staging, and passed in the Linux gate.
  • cargo xtask sil and cargo deny were not run locally.
  • LR-PLUGIN-FILTERS: filter parameters that remember their last value #1261 is a render change with no render-cache bump.
  • The macOS/Windows CI job has no checkout of this repository (only craft-fonts), so it lints whatever tree the runner last held. Not changed here.

Manual: library/import.mdx, platforms/desktop.mdx, ai/denoise.mdx, develop/effects.mdx; docs/manual/import-export.md, docs/manual/troubleshooting.md; developer docs docs/mcp.md, docs/control-protocol.md, docs/xmp-interop.md, docs/denoise.md.

🤖 Generated with Claude Code

emmertex and others added 30 commits November 29, 2026 13:24
The Gemini API refuses a whole tool list with one non-string `enum`; the
export tool's bitDepth now names its values in the description. Hand-ported
from upstream #4497 (the files diverged), with its test that every enum in
the helper tools is a list of strings. Checked: lcc-mcp test passes.

Manual: none, no user-visible change

Co-authored-by: Bruno-Alumn <171815746+Bruno-Alumn@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jxlLossless, jxlEffort and jxlProgressive were advertised by the export tool
but missing from the forwarded-key list, so they were silently dropped.
Hand-ported from upstream #4528 with its test (selection and explicit-photo
calls). Checked: lcc-mcp export_tool tests pass.

Manual: none, no user-visible change (docs already describe the options)

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A headless batch (MCP export, cli run) stopped at the first failed photo;
it now lists the failure as {photo, file, error} in `files` and keeps going.
A single-photo export still fails as an error, and a per-file error is not
promoted to the top-level result. Hand-ported from upstream #4737 with its
test; docs/mcp.md and docs/control-protocol.md updated. Checked: lcc-mcp
tests pass.

Manual: docs/mcp.md, docs/control-protocol.md (developer reference)

Co-authored-by: acebear17 <121527825+acebear17@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hand-ported (the dialog lives in panels/dialogs.rs here): the combo's
selected text is the label (A4, translated Letter), not the stored id
"a4"/"letter". Test brought over into tests_print.rs.

Manual: none, no user-visible change beyond the label's spelling.

Co-authored-by: Hafer-Nil <26671928+Hafer-Nil@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream #4444: region::SHARP_DRAG names the "Edit Mask"
interaction; DragScale keeps its drafts at full size on the CPU too and
never gives up to CPU_DRAFT_SCALE mid-drag. The fork begins that
interaction in three places in panels/detail.rs (gradient body, grip
drag, mask keys); all use the constant. Test brought over.

Manual: none, no user-visible change beyond sharper drafts.

Co-authored-by: tecari0 <121329615+tecari0@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gated file_probe spins in headless.rs (two) and tests_sync.rs stop
after 60 s. The preview and gpu halves of the upstream PR are already in
the fork (eventually()/recv_timeout and the 120 s shutdown bound), so
only the ui-egui part is ported. Test-only.

Manual: none, no user-visible change.

Co-authored-by: THEtheChad <880190+THEtheChad@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream #4663 (LIGHTCRAFT_DISABLE_UPDATES there): the
variable is read through lcc_brand::env (brand prefix, legacy prefixes
too). 1/on/true/yes (trimmed, any case) turn it on. Then update.check
refuses with the reason, the start-up check never runs, and Help >
Check for Updates... is greyed out with a hover text saying why
(translated in every fork catalog). The Nix wrapper sets it.

Manual: platforms/desktop.mdx (Updates), docs/manual/troubleshooting.md

Co-authored-by: marcel <47798787+Supermarcel10@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tems

Adapted from upstream #4653: apps/app/src/reveal.rs calls
org.freedesktop.FileManager1.ShowItems over D-Bus (zbus, already a
Linux-only dependency, 2 s timeout) so the file manager selects the
file, or every selected photo in one window (new Services::reveal_many).
Without the service it opens the folder with xdg-open, spawned and reaped
on a thread instead of waited on (the freeze). macOS/Windows unchanged;
show_in_finder now takes ids/selection. Tests: file_uri encoding, empty
reveal error, menu test for selection vs single reveal.

Manual: platforms/desktop.mdx

Co-authored-by: marcel <47798787+Supermarcel10@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream #1704 (9495ad303, 711a90e6f; hand-ported, export.rs
has diverged). The Original sidecar and a raw-data DNG's XMP packet only
honoured "Remove location info"; under metadata none/copyright/
allExceptCamera they still carried title, caption, creator, keywords,
capture time, location and rating. New MetadataPolicy::restrict /
includes_location / name (extended for the fork's CopyrightContact policy
and extra IPTC fields); sidecar_packet_with takes the policy. An Original
whose file embeds metadata the policy leaves out is refused (read with
lcc_meta::try_extract, which already walks PSD/HEIF/JXL in the fork and
fails closed on malformed PSDs, replacing upstream's codec detour).

Checked: upstream tests metadata_policy_holds_for_original_and_dng_exports
and original_psd_export_refuses_embedded_metadata_excluded_by_policy
pass, with the existing remove_location tests.

Manual: output/export-metadata-watermark.mdx

Sources: storytold/lightcraft #1704
Co-authored-by: Gert Pellin <gert@pellin.be>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream #1261 (fixes upstream #905): Paint Overlay is now a flat
overlay in both directions (toward 0 for negative Amount, toward 1 for
positive). Color and Highlight Priority are unchanged.

Render change, positive Paint only: before it was the Color lift,
c + (1-c)*a*t*0.85, so the style tabs rendered identically; now
c*(1-w) + w with w = a*t. Mid grey 0.18 at amount 100, full falloff:
0.877 -> 1.0 linear. Every other style/sign is bit-identical (same code).
New test paint_overlay_vignette_lifts_a_corner_toward_white (corner >8
codes brighter than Color). cargo xtask sil: 9 passed. clippy -D warnings
and lcc-pipeline lib tests green (tests_local_curve::a_global_drag... is
flaky under parallel load, passes alone with and without this change).
Fork's separate PaintOverlay==Color issue (upstream #980) not touched.

Manual: develop/effects.mdx

Co-authored-by: Vikram Bhaskaran <vikram.bhaskaran@outlook.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… an edit

Cherry-picked from upstream cae6cf087 (crs.rs applied cleanly; the test
moved into the fork's inline crs::tests module, since the fork has no
crs/tests.rs). crs:ToneCurve named "Medium Contrast" without a 2012
curve, and a raw's Sharpness 25 without ...2012 fields, are read as the
old process version's defaults, not edits. Import-time interpretation
only: photos already in a catalog render as before, no pipeline change.

Checked: cargo test -p lcc-engine crs:: (29 passed, incl. new
the_older_process_defaults_are_no_edit).

Manual: none, no user-visible change in the manual's terms (docs/xmp-interop.md table updated)

(cherry picked from commit cae6cf087fa20c4aa936b32eb52394cf0bbc021b)
Co-authored-by: MarkusHammer <mhr@hammerwein.at>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream #4747 (11f91a524, 03d61a7f6; hand-applied, the
fork's quiet list differs and its crs tests are inline). The unmapped
report no longer warns about crs:AutoWhiteVersion, zero
ChromaticAberrationR/B and Defringe, or identity ToneCurveRed/Green/Blue
(ascending points with y == x from 0 to 255). Report only: sidecar
detection is unchanged, so a packet with AutoWhiteVersion + HasCrop=False
still resets a crop. The fork's lightroom_catalog coverage test drops
AutoWhiteVersion from its expected unmapped list accordingly.

Checked: cargo test -p lcc-engine crs lightroom_catalog sidecar (292
passed), incl. upstream tests
legacy_optics_defaults_and_identity_channel_curves_do_not_warn and
auto_white_version_preserves_an_explicit_crop_reset.

Manual: none, no user-visible change

Sources: storytold/lightcraft #4747
Co-authored-by: murdawkmedia <119478503+murdawkmedia@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chromaforge already bounds `count` (1..100) and `steps` (1..1000) per request
(bounded_arg), so of upstream #1736 only the aggregate queue cap is ported,
adapted: a request that would take app.synthetic past MAX_PENDING_EVENTS
(4096, room for several of the largest drags) is refused before it queues
anything; one lone release (ui.pointer up / ui.key up) may go one past, so a
held button or key is never stuck down. Upstream's smaller per-request
limits (10/50), its own parser and pointer_is_down tracking are not taken.
Hostile-input test added; docs/control-protocol.md describes the limit.
Checked: clippy -D warnings on lcc-ui-egui, control tests pass.

Manual: docs/control-protocol.md (developer reference)

Co-authored-by: Navid Zaman Khan <navid166418@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hand-ported (adapted from upstream #1204, LR-IMP-DRAGDROP / issue #506):
- new crates/opendocs (lcc-opendocs, L0): adds `application:openURLs:` to
  winit's application delegate at NSApplicationWillFinishLaunching and queues
  the file paths; safe API (install / set_waker / take), `// SAFETY:` on each
  unsafe block, no-op elsewhere. Reuses objc2 0.6.4 / objc2-app-kit 0.3.2 /
  objc2-foundation 0.3.2 / block2 0.6.2 already in Cargo.lock (no new crate).
  Named in AGENTS.md's unsafe list; registered in xtask layers.
- packaging/macos/Info.plist.in declares CFBundleDocumentTypes (camera raw +
  the image types EXTENSIONS imports, AVIF added), LSHandlerRank Alternate.
- apps/app hands opened files to the UI as dropped files, so the fork's
  existing drop path applies (import review / presets / face model, and
  library_problem::hold_dropped keeps them while no library is open). Upstream's
  library-problem changes (its 2nd/3rd commits) are already covered by the
  fork's pending_import / waiting_import handling, so they were not ported.
  A renderer relaunch passes queued files on as arguments.

Upstream #1837 (same feature through the external `fmv-macos-events` crate's
'odoc' + 'quit' Apple-event handler) is superseded by this port and skipped:
it adds a third-party unsafe dependency instead of an AGENTS.md helper crate.

Checked: cargo clippy -D warnings for lcc-opendocs on aarch64-apple-darwin
(cross check, incl. the macOS-only class_addMethod test) and for
lcc-opendocs + lcc-app on Windows; cargo test -p lcc-opendocs and the app's
opened-file / relaunch tests; xtask layers, parity, notes, brand check.
Not run on a Mac.

Manual: docs/manual-site/src/content/docs/library/import.mdx, docs/manual/import-export.md

Co-authored-by: Marco Arnulfo <marcoarnulfo1@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cherry-picked from upstream 24f5683eb (crate names renamed to lcc_).
proof::load no longer trims the path it is given, so a profile whose file
name ends in whitespace (here a no-break space) loads instead of failing
with "not found". The path comes from a file picker, so it needs no
trimming.

Checked: cargo test -p lcc-engine proof (new
loads_an_icc_path_with_trailing_whitespace passes on Windows).

Manual: none, no user-visible change

(cherry picked from commit 24f5683eb80beaba90e9e1d567be31e5269951d0)
Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
keyword.saveSet validates every supplied slot (string, null, array of strings) before replacing or renaming a saved set; malformed input leaves the saved sets intact. Cherry-picked dec2f6c8be + 95bfc3dc6f (new tests in crates/engine/tests/keyword_set_inputs.rs). Checked: clippy + tests for lcc-engine.

Sources: storytold/lightcraft#4568
Manual: none, no user-visible change

Co-authored-by: Terra854 <bentinner@yahoo.com.sg>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Layout::validate formats the 1-based page as u64, so a hostile page u32::MAX no longer overflows. Hand-ported (test module layout differs); upstream test added as page_overflow_tests. Checked: clippy, test.

Sources: storytold/lightcraft#4572
Manual: none, no user-visible change

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
compose_with returns after the backdrop when there is no photo: no shadow, stroke or frame drawn around nothing. Applied upstream diff cleanly with its test. Checked: clippy, lcc-slideshow tests.

Sources: storytold/lightcraft#4622
Manual: none, no user-visible change

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
preset.export rejects an `ids` that is not an array of strings before writing, so the existing output file is kept. Hand-ported (fork code at preset_files.rs export()); upstream test moved to tests_export.rs. Checked: clippy, preset_export tests.

Sources: storytold/lightcraft#4627
Manual: none, no user-visible change

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The slideshow PDF summary reports the finished file's size (read after sync), not the writer's length before the trailer. Hand-ported onto the fork's sync_file/drop sequence; upstream assertions added to tests_slideshow_export.rs. Checked: clippy, pdf test.

Sources: storytold/lightcraft#4730
Manual: none, no user-visible change

Co-authored-by: acebear17 <121527825+acebear17@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lightroom catalog import no longer runs the image probe on present VIDEO originals (it read whole files only to reject them). Adapted from upstream: added is_catalog_video helper (fork lacked it); test uses .MOV since the fork does not take .MPG from catalogs. Checked: clippy, native_catalog/native_video tests.

Sources: storytold/lightcraft#4741
Manual: none, no user-visible change

Co-authored-by: murdawkmedia <119478503+murdawkmedia@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Metadata-preset keywords are cleaned (keywords::clean) and deduplicated with Unicode case folding, as import-dialog keywords now are too (to_lowercase instead of ASCII-only matching). Hand-ported: the fork's import keywords live in import.rs apply_settings, not import/commit.rs. Upstream integration test crates/engine/tests/import_keywords.rs brought over. Checked: clippy, tests.

Sources: storytold/lightcraft#4565
Manual: none, no user-visible change

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted from upstream: walk.rs gains files_in_with_seen, an opt-in shared set of canonical folders (one canonicalize per folder, only for multi-root requests; plain files_in keeps the fork's no-extra-syscall walk). Import expansion and preset.import share it across their roots, so a folder named twice, nested in another root or reached by a link is walked once and keeps the first path; an alias of the library folder is skipped too. Tests: crates/engine/tests/overlapping_roots.rs (nested roots, portable; upstream's symlink CLI tests not ported). Checked: clippy, tests.

Sources: storytold/lightcraft#1638
Manual: none (bug fix; manual already describes the intended import); whats-new entry added

Co-authored-by: SarimSyed <a.sarimsyed@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
browse_folder_string keeps a filesystem root's separator (/, C:\, UNC share) and trims others; used by library.browse, stamp_browsed folder timestamps, the UI browse and local.addRoot. Hand-ported: the fork's UI code is in ui-egui/src/import.rs and menus.rs (upstream's resolve_browse_root has no fork counterpart). Upstream unit tests added. Checked: clippy (engine, ui-egui), tests.

Sources: storytold/lightcraft#4628
Manual: none (bug fix); whats-new entry added

Co-authored-by: Mex <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… photos

library.import refuses an empty path list, which ended the server before it
started. Now an empty expansion is reported on stderr and the server runs.
Hand-ported from upstream #4538 (apps/cli/src/lib.rs here), with its
end-to-end test as apps/cli/tests/mcp_empty_folder.rs. Checked: clippy
-D warnings on lcc-cli, the new test and mcp_shutdown pass.

Manual: none (docs/mcp.md already says photos can be imported later); whats-new entry added

Co-authored-by: mattbuschh <matthieu.buschmann@icloud.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	crates/engine/src/tests_export.rs
Adapted from upstream #1828 (cherry picked from 8da2f0088 and 19c4c6d76,
conflicts resolved by hand). AI denoise no longer refuses non-Bayer CFAs:
lcc_raw::demosaic::remosaic_rggb rebuilds the mosaic as RGGB of the same
size (one interpolated channel per site, shared sites keep their sample)
and the Bayer model runs on that. layout_of now rejects non-Bayer patterns
outright (16 of 36 X-Trans phases look Bayer in the top-left 2x2).

Fork adaptations: the fork's X-Trans Method::Ahd goes through xtrans_ri
(LMMSE), so the re-mosaic is documented and tested against
xtrans::directional (Method::Ppg), the interpolator it mirrors; round-trip
PSNR direct/through-RGGB: smooth 56.1/57.3 dB, edgy 33.5/32.8 dB. Kept the
fork's repair_pixels before denoise; tests use the fork's 4-arg
load_vec_pair; testkit skip! for the real-file test. No change to existing
renders: Bayer paths unchanged, X-Trans was refused before.

Checked: lcc-raw lib tests (736 ok), lcc-engine denoise tests (34 ok),
clippy -D warnings on lcc-raw; lcc-engine clippy fails only on pre-existing
Windows dead code in import_move.rs (unix-gated tests), not touched here.
brand check, xtask parity OK. Gap 11 narrows (not closed: no shippable
weights, unmeasured on re-mosaiced sensors); parity/raw-parity rows updated,
status unchanged.

Manual: ai/denoise.mdx

Co-authored-by: Paolo Rizzo <paolo@Mac-793.homenet.telecomitalia.it>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
emmertex and others added 4 commits November 29, 2026 15:47
The round was cut from main, 174 commits behind staging. Staging's FX-137
(export_packet) already makes the Original sidecar and the DNG packet
follow the Metadata choice, and documents that an Original's own file is
copied as it is, so the hand-port of upstream #1704 (fd17306) is dropped
in favour of staging's export.rs, sidecar.rs, tests and manual page; its
What's New note goes with it. The #4627 preset-export test is kept. Ledger:
#1704 is SKIP (already the case), the round counts 25 ports.

Manual: none beyond staging's own pages

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…does

The port changed finish.rs only, so a GPU preview kept the old lift while
a CPU render blended toward white. finish.wgsl now has the same branch,
and in HDR neither pulls highlights above SDR white down to it.

Checked: lcc-gpu equivalence tests (paint + and -), lcc-pipeline tests.
Manual: none, develop/effects.mdx already describes it

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three faults in the port: a folder whose canonical path can't be had (some
network and virtual drives) was left out without a word, now it is walked
under its own spelling; a subfolder an earlier root only passed by (an
import without subfolders) counted as walked, so naming it as a root of
its own imported nothing; and a single root paid a canonicalize per folder
for nothing to compare with.

Checked: walk test shared_roots_walk_a_folder_once_but_not_one_they_only_passed,
overlapping_roots tests.
Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s back in place

safe_file's progress test read a sync count only its Unix assertion uses;
import_move's Hold helpers and io_sched's pin_raised serve Unix-only tests.
All five failed `clippy --all-targets -D warnings` on Windows. The menu
hint and the mask-drag test of this round had each taken the doc comment
of the item below them.

Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@emmertex emmertex changed the title Upstream intake 2026-11-29: 26 PRs, 28 commits Upstream intake 2026-11-29: 25 PRs Nov 29, 2026
@emmertex
emmertex changed the base branch from main to staging November 29, 2026 04:47
emmertex and others added 5 commits November 29, 2026 16:53
…ldest

Two libraries sharing a backup folder, three backups each within one
second: pruning the first library's oldest freed the plain `<time>` name,
the other library's next backup took it, sorted before its own `-2` and
`-4`, and was deleted as the oldest. A new backup now takes a number past
every folder of that second still there, and pruning orders by the time
and then the number (names put `-10` before `-2`).

Checked: tests_backup_prune::two_libraries_sharing_a_backup_folder_keep_each_others_backups
(failed three tries in the Linux gate), lcc-catalog tests.
Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… render does

Calibrations are installed by a session, and probe-check makes none, so its
own base render of a calibrated camera was not the app's default render.
The e2e test's camera (Sony ILCE-7M3) got a bundled calibration in
ff1d195 and its base comparison went to a median dE of 20.

Checked: calibrate_probe_e2e.
Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three messages of 9614f9e (Detection sensitivity, Confidence required
and the hint under them) were in no fork catalog, which failed both
coverage tests.

Checked: i18n tests, tests_i18n_coverage, xtask i18n --check.
Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
3854439 took the job's own checkout out with the affected-clippy setup
it carried, leaving only the fonts'. The self-hosted runners keep their
work folder, so the job linted and tested the tree an earlier run left
there: on PR 1681 it reported errors at lines the branch no longer had.

Manual: none, no user-visible change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@emmertex

Copy link
Copy Markdown
Owner Author

PR steward (automated): the fast gate fails at the wasm step, so this can't merge yet.

  • crates/ui-egui/src/menubar.rs:1612 and crates/ui-egui/src/menus_fork.rs:341 call lcc_engine::update::disabled_by_env(), but lcc_engine::update is #[cfg(not(target_arch = "wasm32"))] (crates/engine/src/lib.rs:169). lcc-ui-egui and lcc-web fail to build for wasm32 (E0433).
  • Fix: gate both call sites with #[cfg(not(target_arch = "wasm32"))] (or cfg! with a wasm fallback of false), or expose a wasm stub of disabled_by_env in the engine.

Failing run: https://github.com/emmertex/chromaforge/actions/runs/46260721494

emmertex and others added 2 commits November 30, 2026 00:53
- ui-egui: the Check for Updates env gate reaches `lcc_engine::update` (native only) through
  `menus::updates_disabled_by_env`, false on the web build; fixes the wasm check.
- catalog: tests_writer_guards' Unix-only helpers and imports are cfg(unix), and the folder
  flush count test is Unix only (Windows can't open a folder to flush it), so the lib tests
  build and pass on Windows.

Manual: none, no user-visible change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emmertex

Copy link
Copy Markdown
Owner Author

PR steward (automated): this branch now conflicts with staging (20 files). I didn't resolve it, because one conflict is a design choice:

  • crates/catalog/src/library.rs (new_backup_folder and the prune sort, ~L951 and ~L1002): this branch and staging each fix backup-folder ordering their own way. This branch uses backup_order(&Path); staging uses stamp_order(&str) with a "past every name already used for time" rule. Keep one, drop the other helper and its tests, and check that the prune ordering still matches.
  • crates/catalog/src/safe_file.rs ~L940: this branch has #[cfg(unix)]; staging's Windows fix uses #[cfg_attr(not(unix), allow(unused_variables))] so the test also runs on Windows. Taking staging's side is probably right.
  • Comment-only: tests_writer_guards.rs, engine/src/import_move.rs (3), engine/src/io_sched/shared.rs. Plus all 15 locales/fork/*.json, which are probably adjacent key insertions where both sides should be kept.

Please merge origin/staging and pick one backup-ordering implementation.

… ordering

staging fixed backup-folder ordering its own way (`stamp_order`, past every name already used for
the second), so this round's `backup_order` port (b3d1f7f) is dropped: library.rs is staging's.
Other conflicts took staging's side (comment wording, safe_file's Windows cfg_attr, the writer-guard
tests' Windows fix, ci.yml comment, locale wording for the same keys; no keys lost).

Manual: none, no user-visible change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emmertex
emmertex merged commit c23da63 into staging Nov 29, 2026
3 checks passed
@emmertex
emmertex deleted the upstream-intake-2026-11-29 branch November 29, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants