Skip to content

Upstream intake 2026-11-04 (3): 25 ports, PENDING/WATCH re-review - #792

Merged
emmertex merged 38 commits into
mainfrom
upstream-intake-2026-11-04c
Nov 4, 2026
Merged

emmertex merged 38 commits into
mainfrom
upstream-intake-2026-11-04c

Conversation

@emmertex

@emmertex emmertex commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Intake round 3, third PR (see docs/upstream-pr-intake.md). Upstream main at 03e03f382e. #789 and #790 carried the earlier ports; this one carries the rest of the ADOPT candidates from the round (the review found 46 in all; none is left unported). Opened as a draft so it waits for the release gate.

Upstream What
#3643 calibrate walks folders with the engine's bounded walk (files_in_entering added)
#3650 Windows title bar takes the app's theme once the window has focus (Windows-only, not run here)
#3675 one unpack budget across a preset zip's packs; linear Lua comment skipping
#3681 one dab budget per brush mask; linear van Herk defringe min/max (a new test proves it equals the old scan)
#3695 shared header-scan budget for previews; deflate padding bound (partial)
#3679 linear sparse planning, shared-payload byte count, opcode list budget (partial)
#3709 indexed keyword set/remove and folder-sync lookups (partial)
#3682 web --serve serves only plain files inside the site; exclusive lock files
#3669 restore plans its writes first; render-worker cap
#1415 explicit export paths follow the conflict policy (behaviour change: unique is now the default for explicit paths too; pass conflict=overwrite to replace)
#3607 import applies develop settings embedded in a JPEG (checked: the fork's own JPEG exports embed no develop settings)
#3613 Find Similar decodes signatures in parallel, once per file
#3674 Lightroom catalog reading bounded in total: XMP packets, keyword paths, SQLite schema (partial)
#3678 tall narrow images resample columns first (only when the usual order's intermediate would be 4x larger)

Added by the PENDING/WATCH re-review (all 172 PENDING/WATCH rows were re-read against upstream's live state; the ledger has every decision):

Upstream What
#3424 a --memory/--demo session keeps no panic log (delta over the earlier port)
#3314 README note for the Windows MSI 1612/1714/1603 update failure
#3054 (partial) an Original export that removes the location refuses a file whose XMP holds GPS, even malformed (the new test fails without the fix)
#3433 a smart album's view keeps the filter bar's rating operator
#3118 (partial) the automatic memory budget has no floor above a small cgroup limit
#3487 X shows beside Flag as Reject in the native macOS menu (not run on a Mac)
#3572 Sync Settings puts a crop on each photo as what it means on that photo's frame

Hand-port pass (the candidates the re-review left as hand ports):

Upstream What
#3322 a remembered library that is missing at launch (an unmounted drive) is reported, not created empty; only --library creates one at launch (test included)
#3312 render_photo returns the image inline, so it works against an app on another machine (older apps fall back to a temp file)
#3415 204 Russian strings (#3147) the app uses
#3284 faces.matching: how many of a person's faces a name suggestion is based on (no Settings dialog row)

Still pending in the ledger as hand ports ("ADOPT candidate, not yet ported", with reasons): #3543 (needs the owned-UI task API), #3569 (the monolithic media.rs), #3566 (the fork has no CR3 XMP box handling to build on), #3092 (the delta does not apply without the whole PR), #3550 (take from OneSlips); and held until measured: #3298, #3402, #3565.

Hand-ported or adapted onto the fork's own code: #3643, #3650, #3669, #3709, #1415, #3607, #3613, #3674 (the rest applied with small fixes). Recorded as SKIP in the ledger: #3615 (the fork already has Warp::from_source) and #3714 (the fork already bounds panorama output by memory).

Checked locally (again after the later ports): cargo fmt --check, workspace cargo clippy --all-targets -D warnings, cargo xtask brand check, notes --check, parity, layers; each ported fix's tests pass, plus the full suites of the touched raw, engine (import/XMP/export/Lightroom/folder areas), catalog, meta, lensdb, codecs, pipeline, raster, segment and xtask crates. One raw corpus test, body_corpus::nikon_and_fujifilm_bodies_decode_like_the_camera_jpeg, fails with and without this PR. Not run locally: the full cargo xtask ci --fast (deny, wasm, assets: the maintainer's untracked cr3_convert/ trips the assets check) and the SIL suite; cloud CI decides. No render changes beyond #3678's order switch, no shared version numbers taken, no new dependencies. The ledger (docs/upstream-pr-reviews/ledger.md) records every decision.

🤖 Generated with Claude Code

emmertex and others added 30 commits November 4, 2026 16:56
Adapted from upstream #3643 (files_in_entering added to the fork's walk).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…window has focus

Adapted from upstream #3650 (called from the fork's sync_theme). Windows-only: not run here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… Lua comment skipping

Applied from upstream #3675 (clean apply); its tests pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…in/max

Adapted from upstream #3681; the min/max filter is proven equal to the old scan by a new test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ng bound

Partial port of upstream #3695: the fork already caps lossy DNG tile frames. Defines scan_budget (8x the file, at least 1 MiB). Note: body_corpus nikon-d850 fails before and after this change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…code list budget

Partial port of upstream #3679; the fork's ORF strip check already exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…older sync)

Partial port of upstream #3709: the keyword set/remove and Synchronize Folder lookups; the fork's import, rename and face-matching code is laid out differently and is left for a follow-up.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…linear asset globs; exclusive lock files

Applied from upstream #3682 (clean apply); xtask tests pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adapted from upstream #3669 (the ?workers cap goes on the fork's option parse).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hand-ported from upstream #1415 into the fork's export Placer (sidecars share the chosen stem; an original or a folder as the path is refused under every policy); rustfmt applied to the earlier ports.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hand-ported from upstream #3607. Checked first that the fork's own JPEG exports embed plain metadata only (write_xmp, no develop settings), so a re-import cannot apply edits twice; crs:AlreadyApplied is honoured.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…llel, once per file

Adapted from upstream #3613 onto the fork's sources_now.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ckets, keyword paths, SQLite schema)

Partial port of upstream #3674 onto the fork's streaming reader; the table-values cap is not needed there.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Applied from upstream #3678 (clean apply); only resizes whose horizontal-first intermediate would be 4x the larger take the other order.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… without panicking

Delta of upstream #3424 over the fork's earlier port (#714).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… failure

Adapted from upstream #3314 (README.md.in, rendered by cargo xtask docs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a file whose XMP holds GPS

Partial port of upstream #3054: the raw-XMP GPS guard for standard and Extended XMP, with a test that fails without it (a malformed GPS value is not projected into Metadata). The chunk-walk and property-limit flags are not ported.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…erator

Delta of upstream #3433 over the fork's earlier port.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…l cgroup limit

Partial port of upstream #3118's follow-ups (the fork already has the cgroup reader and mb=0 for automatic).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adapted from upstream #3487; macOS-only and display-only, not run here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ans on that photo's frame

Adapted from upstream #3572 onto the fork's synced_crop (the one Auto Sync uses).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…review ports

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@emmertex emmertex changed the title Upstream intake 2026-11-04 (3): the remaining 14 ports Upstream intake 2026-11-04 (3): 21 ports, PENDING/WATCH re-review Nov 4, 2026
emmertex and others added 7 commits November 4, 2026 20:22
…orted, not created empty

Hand-ported from upstream #3322 onto the fork's launch: only --library / the environment may create a library at launch; a path from the settings must already hold one, else the problem window (Try Again opens it only once it is there). Test included.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ainst an app on another machine

Adapted from upstream #3312 (ui.render {inline}, engine base64 module, MCP fallback for older apps).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ender {inline}

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uses

The strings upstream's #3147 added to ru.json that this app's source uses and its catalog lacked.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…brand check)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… is based on

Hand-ported from upstream #3284: the faces.matching command and setting, rank_top, topFaces on suggestions; the Settings dialog row is not ported (the fork's dialogs differ).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@emmertex emmertex changed the title Upstream intake 2026-11-04 (3): 21 ports, PENDING/WATCH re-review Upstream intake 2026-11-04 (3): 25 ports, PENDING/WATCH re-review Nov 4, 2026
@emmertex
emmertex marked this pull request as ready for review November 4, 2026 10:12
@emmertex
emmertex merged commit 041b950 into main Nov 4, 2026
5 checks passed
@emmertex
emmertex deleted the upstream-intake-2026-11-04c branch November 4, 2026 10:40
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.

1 participant