Skip to content

Upstream intake 2026-11-11: 97 items read, 5 ported - #1090

Merged
emmertex merged 7 commits into
mainfrom
upstream-intake-2026-11-11
Nov 11, 2026
Merged

emmertex merged 7 commits into
mainfrom
upstream-intake-2026-11-11

Conversation

@emmertex

Copy link
Copy Markdown
Owner

Upstream intake round 5 (2026-11-11), upstream/main at c2e9c456c9. 97 items read: 23 new PRs plus all 74 PENDING/WATCH rows re-read against the live head. Full rows are in docs/upstream-pr-reviews/ledger.md.

ADOPT (5, one commit each)

Upstream What Fork commit Checked
#4072 A refused Lightroom photo whose id is 0 refuses only itself 2d259881d cargo test -p lcc-engine --lib lightroom (tests ported inline)
#4090 Lightroom side-table rows whose image isn't a photo id go to no photo (hand-port: fork streams the tables) ee2e3aa59 lightroom tests; also keys the fork-only stacks table
#4087 A failed Lightroom import takes back the photos it added 1158abf1c Session-level tests; the two end-to-end tests are not ported (the failures they relied on no longer happen in the fork), so the error path in commit_prepared has no end-to-end test
#4054 malloc_trim after preview builds on glibc Linux dfdb9e76b cargo test -p lcc-sysmem; new unsafe named in AGENTS.md
#4093 Background preparation takes up an unfinished build again (hand-port into the diverged prep_tick; adds a view-change stop and a cfg(test) hold) 11b83afe9 preview_prep, prep, preview and ui-egui background_prep tests; not looked at in the running app

No shared version numbers taken, no render change, no new dependency.

Not taken (new PRs)

  • SKIP: #1928 (already in fork), #4058 (wrong camera mapping), #4059 (already in fork), #4076/#4081/#4084 (tables measured from Camera Raw renders), #4085/#4088 (external crates lack the fork's hardening)
  • PENDING: #4056, #4057, #4064, #4065, #4069, #4075
  • WATCH: Release notes: drop em dashes the UI text test refuses #1059, #4051 (runs the user's Adobe DNG Converter; needs a maintainer policy call)
  • LEARN: #2445, #4053

Re-read rows

All 74 PENDING/WATCH rows stay open; heads restamped. #3462 and #2661 are approved upstream but stay PENDING: render change / ~3,100-line stage needing fork numbers.

Checks

cargo xtask ci --fast (14/14) and cargo xtask sil pass; main merged in (conflicts in prep.rs and its tests resolved by keeping both sides).
clippy -p lcc-engine --all-targets -D warnings may flag dead code in segment/depth.rs from #1085 (not from this PR).

🤖 Generated with Claude Code

THEtheChad and others added 7 commits November 11, 2026 15:04
…itself

Adapted from upstream #4072 (cherry picked from commit 63106dbf57e749011ca70406affda8bcb8f9cfda);
the fork's tests live inline in lightroom_catalog.rs, so they were ported there.

Co-authored-by: THEtheChad <THEtheChad@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… goes to no photo

A develop settings, metadata, keyword, history, snapshot or collection member row whose
`image` is missing, NULL, text or fractional used to be given to photo 0 (or 2.5 to photo 2).
Such rows are now left out with one warning per table. Ported by hand into the fork's
streaming reader (grouped, develop_settings, xmp_table, keywords, members, stacks).

Adapted from upstream #4090 (head 870bbfe0abafd263ef4e596150049e7f4c44a964)

Co-authored-by: THEtheChad <THEtheChad@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… photos it added

When the catalog step of a Lightroom import fails after the file step has added the
catalog's originals, that step is taken back (Session::before_step / committed_step /
take_back), and the original error is returned (combined if the take-back also fails).
Ported by hand; the end-to-end failing-import tests are not ported (see PR notes).

Adapted from upstream #4087 (head c728cd5580c7f4a1adfb51d25ee9f4aedbea75e2)

Co-authored-by: THEtheChad <THEtheChad@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adapted from upstream #4054 (head 5f258934680c259ee1221543fe1b12ee32ad102d)

Co-authored-by: JordyUSA <JordyUSA@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…gain

Adapted from upstream #4093 (head 0da228d6b737b05ea49abdb4c9bb25744afadbea),
issue #3947. A build that was started and did not run to its end is owed to
the library (prepUnfinished in prefs.json) and is taken up again for the view
shown once it has been still for 3 s, from the grid and after a restart;
nothing owed still starts nothing from the grid. Previews switched off and on
again is no longer a stop by the user; a build left running by the previous
library is stopped when another opens.

Co-authored-by: Josias Eli Rodriguez <339499413+chamber074@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…11-11

# Conflicts:
#	crates/engine/src/prep.rs
#	crates/engine/src/tests_preview_prep.rs
@emmertex
emmertex merged commit 94ec360 into main Nov 11, 2026
7 checks passed
@emmertex
emmertex deleted the upstream-intake-2026-11-11 branch November 11, 2026 11:30
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