Repository navigation
Fix two tests that fail only on the self-hosted macOS / Windows runners - #17
Merged
Merged
Conversation
…Photos row (30 px taller there) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tings folder) and doesn't count frames A fast desktop runs the spin-loop hook within two frames; the UI not being blocked is already shown by after_export returning at once. The test also left test.slowhook installed in the real plugins folder when it failed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
emmertex
enabled auto-merge
October 13, 2026 04:40
emmertex
pushed a commit
that referenced
this pull request
Nov 27, 2026
…nd relink scope, one SHA-1 rule Full review of 8c2de9d (pass chromaforge-20261127-20c5); fixes for every Critical-Medium finding but the stale SHA-1 on changed bytes (spec F1), whose PR 0 worsening is fixed here: - Reload records the SHA-1 beside its undo step (apply_system, as the back-fill does): a Reload that finds only the SHA-1 adds no step and keeps the redo history, and an undo keeps the SHA-1 of the bytes on disk. Only the newest reload started records it, so an older read of a file that changed meanwhile can't fix the old bytes' SHA-1 (#1's worsening, #3). - Reload leaves Immich link-only photos out (as the preview-only recheck does): re-reading the server's preview cleared the flag, and the next Reload or back-fill recorded the preview's SHA-1 (#4, #14, #17). - `Sha1To` becomes `convert::Reach`; a relink (`Reach::Target`) reaches only its target, so the old-path family no longer takes the new file's content hash, size, lens or white balance (spec F7) (#5). - `takes_sha1` asks `Photo::in_library()` (deleted photos take none) (#6), and is the rule of every SHA-1 writer: the back-fill's result (queued and counted only when recorded; a refused one is not retried) and the vignetting reference (no SHA-1 for a virtual copy; a malformed one no longer fails the step; queued) (#8, #9). Import and device sync queue through `queue_link_check` too. - The back-fill leaves photos still to be read to read-originals (unless device sync wants them first), so a catalog import's files are no longer read twice (#11). - `remote::is_link_only` is the one link-only test; the inline copies use it (#7). - `is_sha1_hex`'s doc says how it relates to lcc_hash's parser; a parity test pins that every stored value parses there (#10). `Photo::sha1`'s doc states it is kept when the bytes change; a test pins it (#13, #18). - Device sync moves a photo's replica record back to its content key when its SHA-1 is cleared (an undone Relink or Vignetting Calibration), instead of stranding it under the `sha1:` key (#12). - Read Originals (and Reload/relink) fill an empty camera serial and lens range (#16). - Tests for each, including a Demo-source case for the surviving `Source::File` mutant (#2). Manual: none, no manual sentence describes these (whats-new and changelog entries added). Review-Pass: chromaforge-20261127-20c5 Review-Findings-Closed: chromaforge-20261127-20c5#02, chromaforge-20261127-20c5#03, chromaforge-20261127-20c5#04, chromaforge-20261127-20c5#05, chromaforge-20261127-20c5#06, chromaforge-20261127-20c5#07, chromaforge-20261127-20c5#08, chromaforge-20261127-20c5#09, chromaforge-20261127-20c5#10, chromaforge-20261127-20c5#11, chromaforge-20261127-20c5#12, chromaforge-20261127-20c5#13, chromaforge-20261127-20c5#14, chromaforge-20261127-20c5#16, chromaforge-20261127-20c5#17, chromaforge-20261127-20c5#18, chromaforge-20261127-20c5#19, chromaforge-20261127-20c5#27, chromaforge-20261127-20c5#28, chromaforge-20261127-20c5#30, chromaforge-20261127-20c5#35 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #13
Fixes #14
export_dialog_is_unchanged_in_a_tall_windowwas not machine state: macOS has an extra Add to Apple Photos row (exportAddToPhotos, cfg(target_os = "macos")), 30 px. Reproduced on mac0 with an isolated config dir; the test now expects 876 there.plugin_workercounted frames while a spin-loop hook ran; a fast desktop finishes it in 2. The test now asks for >=1 frame (UI non-blocking is already proven byafter_exportreturning at once). It also installedtest.slowhookinto the real user plugins folder (found and removed on win0 after a failed run); newlcc_engine::cmd::plugins::use_in_memory_manager()keeps it in memory. 5/5 passes on win0; mac dialog-fit tests pass repeatedly on mac0.Lead: please drop the two ci/quarantine.toml entries from #15.
🤖 Generated with Claude Code