Repository navigation
Conversation
…the OS does Scratch::path joined a relative path written with `/` onto the scratch folder, so on Windows the expected paths had mixed separators (`...\trip/c.png`) while a scan reports them as the OS spells them (`...\trip\c.png`): 7 tests in tests_sync failed on every Windows run. The helper now joins the parts one by one. Test-only; the paths the scan reports are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tlasts one burst Since export batches render up to four photos side by side (PR storytold#504), photo boundaries come in bursts, and progress is reported at most every 100 ms. On a fast machine the eight small photos of export_progress_and_cancel were over one burst after the first progress report, so the cancellation found nothing left to stop: the test failed 5 runs in 6 here (Windows, 4 lanes) and passed 6 in 6 before storytold#504. The cancelled export now takes 24 photos at a larger size, several bursts past the first report. Test-only: cancellation between photos is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 10, 2026
… that outlasts one burst" This reverts commit fb9a179. The larger batch only gives the cancellation more time; it stays dependent on timing (issue storytold#674). A deterministic fix that holds the export at a photo boundary is coming as its own PR, and storytold#668 touches the same lines. This branch keeps only the Synchronize Folder path fix so it conflicts with neither. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Thanks, @HarrisXiu! #873 (landed in #975) normalises the expected paths in the same Synchronize Folder tests more generally, covering mixed separators too, so this change is no longer needed. Closing it. Generated by Claude Code |
valenfys
pushed a commit
to valenfys/lightcraft
that referenced
this pull request
Oct 11, 2026
Rebuild fixture path components with native separators so expected paths match directory scans on Windows, including files that have been removed. This is a prerequisite for Windows validation and overlaps the path-helper fix in upstream PR storytold#660; it can be dropped once that change lands. Co-Authored-By: GPT-6 Astra <noreply@openai.com>
Kaan88
pushed a commit
to Kaan88/lightcraft
that referenced
this pull request
Oct 28, 2026
LR-EDIT-COLOR-WB-PICKER: White Balance Selector loupe and sample size
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.
One test-only fix. (This PR first also changed
export_progress_and_cancel; that commit is reverted here, see below.)Synchronize Folder tests: expected paths with mixed separators
Seven tests in
crates/engine/src/tests_sync.rsfail on every Windows run:The helper
Scratch::path("trip/c.png")joined the whole relative path onto the scratch folder, so the expected value kept the/, while a scan reports paths as the OS spells them. The helper now joins the parts one by one. The paths the scan reports are unchanged. Same kind of problem as #538, in tests that landed after it.What was taken out: the MCP export-cancel race (#674)
The second commit enlarged the cancelled export in
export_progress_and_cancelto 24 photos at long edge 2000. It is reverted by the third commit, socrates/mcpis identical tomainin this PR. The larger batch only gave the cancellation more time and stayed timing-dependent; @ingolfteetz has a deterministic fix (hold the export at a photo boundary) that is better, and #668 touches the same lines. This PR no longer conflicts with either.Checks
cargo test -p lightcraft-engine --lib tests_syncon Windows: 31 pass (7 of them failed before).cargo xtask cipassed on Windows with all 8 steps while the branch still carried the MCP change. With it reverted, theteststep is back to depending on the Flaky test: mcp e2e export_progress_and_cancel finishes before its cancel arrives (parallel export lanes + 100 ms progress throttle) #674 race on machines with 8 or more cores, as onmain; I did not rerun the full gate after the revert./is the separator).🤖 Generated with Claude Code