Skip to content

Fix two tests that fail only on the self-hosted macOS / Windows runners - #17

Merged
emmertex merged 2 commits into
mainfrom
fix/macwin-runner-tests
Oct 13, 2026
Merged

emmertex merged 2 commits into
mainfrom
fix/macwin-runner-tests

Conversation

@emmertex

Copy link
Copy Markdown
Owner

Fixes #13
Fixes #14

Lead: please drop the two ci/quarantine.toml entries from #15.

🤖 Generated with Claude Code

emmertex and others added 2 commits October 13, 2026 15:40
…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
emmertex enabled auto-merge October 13, 2026 04:40
@emmertex
emmertex merged commit 0ed355d into main Oct 13, 2026
6 checks passed
@emmertex
emmertex deleted the fix/macwin-runner-tests branch October 13, 2026 05:07
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant