xcl run: report log write failures once #2624

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2634 into main
luckyteagirl commented 2026-11-26 03:34:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T03:34:23Z.


Follow-up to #2286, which reports log-open and report.json write failures. If an xcl.log write or flush fails after the file opens, the logger currently drops the error and later diagnostics disappear silently. This reports the first mid-run failure once on stderr and continues the run. Part of #2277.

What is in it

  • crates/xcl/src/log.rs: report the first write_all or flush failure once per process; injected failing writers cover write and flush failures and verify the logger continues trying to flush.
  • README.md: document the once-only stderr report and continued execution.

Tested

  • Windows 11 Home build 26200, AMD Ryzen 9 5980HX, AMD Radeon RX 6800M (driver 30.0.13002.13003), x86_64-pc-windows-msvc, Rust 1.99.0; debug builds. The workspace run selected no GPU (XCL_ADAPTER=nomatch); the title smoke selected the RX 6800M.
  • cargo test --locked -p xcl --lib log::tests -- --test-threads=1 --show-output: 3 passed, 0 failed, 0 ignored, 1335 filtered out.
  • cargo build --locked --workspace -j 2: passed (3 existing warnings: 2 deprecated atomic fetch_update calls and 1 dead-code field).
  • XCL_ADAPTER=nomatch cargo test --locked --workspace --no-fail-fast -j 1 -- --test-threads=1 --show-output: 37 target summaries, 1437 passed, 0 failed, 47 ignored. It printed 138 SKIPPED notices: 120 no GPU notices across 2 tests, 15 no GPU with 32-lane waves, 1 no wave32 GPU, 1 no wave64, and 1 unsupported reserved-cube capability. These notices are not GPU coverage.
  • Independent RTX 3060 report on this exact clean head: cargo test --workspace --no-fail-fast -- --test-threads=4 completed with 1,437 passed, 0 failed, 47 ignored, and 25 explicit GPU skips (native wave64 and refused per-lane forms). Both targeted write/flush error tests passed 30 of 30 repeated runs; the three log:: tests passed 30 of 30 runs at eight test threads. These are the independent reporter's results, not our RX 6800M workspace run.

Regression run

  • Main (b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7):
    xcl-smoke v1
    commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
    gpu: AMD Radeon RX 6800M
    title: 2ef5fd64
    seconds: 30
    exit: 0x0
    frames shown: 385 (PresentX 385)
    presents per 2 s (last 3): 51 53 51
    device removals: 0
    crashes: 0
    peak commit: 8284 MB
    
  • This PR (e897ce3032fa482c0f7bd903db0f17cf71e957dd, clean):
    xcl-smoke v1
    commit: e897ce3032fa482c0f7bd903db0f17cf71e957dd
    gpu: AMD Radeon RX 6800M
    title: 2ef5fd64
    seconds: 30
    exit: 0x0
    frames shown: 443 (PresentX 443)
    presents per 2 s (last 3): 56 49 60
    device removals: 0
    crashes: 0
    peak commit: 8304 MB
    

Not tested

  • Full GPU workspace coverage on our RX 6800M; the independent RTX 3060 suite skipped 25 GPU tests. Retail-title behavior when the disk fills or an external process locks/removes the log remains untested; the smoke run did not induce either condition. Focused tests inject write_all and flush errors.

AI use

  • OpenAI Codex (GPT-6; exact serving variant unavailable), with a Luna subagent, implemented the change and tests, ran the stated checks, and prepared this description. I reviewed the code and evidence before publication.
  • OpenAI Codex (GPT-6.2 Astra) verified the independent exact-head report and added its linked results to this description.
<!-- greyfinch-sync:ivall/xcl:issue:5503509198 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2634). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T03:34:23Z. --- Follow-up to #2286, which reports log-open and `report.json` write failures. If an `xcl.log` write or flush fails after the file opens, the logger currently drops the error and later diagnostics disappear silently. This reports the first mid-run failure once on stderr and continues the run. Part of #2277. **What is in it** - `crates/xcl/src/log.rs`: report the first `write_all` or flush failure once per process; injected failing writers cover write and flush failures and verify the logger continues trying to flush. - `README.md`: document the once-only stderr report and continued execution. **Tested** - Windows 11 Home build 26200, AMD Ryzen 9 5980HX, AMD Radeon RX 6800M (driver 30.0.13002.13003), `x86_64-pc-windows-msvc`, Rust 1.99.0; debug builds. The workspace run selected no GPU (`XCL_ADAPTER=nomatch`); the title smoke selected the RX 6800M. - `cargo test --locked -p xcl --lib log::tests -- --test-threads=1 --show-output`: 3 passed, 0 failed, 0 ignored, 1335 filtered out. - `cargo build --locked --workspace -j 2`: passed (3 existing warnings: 2 deprecated atomic `fetch_update` calls and 1 dead-code field). - `XCL_ADAPTER=nomatch cargo test --locked --workspace --no-fail-fast -j 1 -- --test-threads=1 --show-output`: 37 target summaries, 1437 passed, 0 failed, 47 ignored. It printed 138 `SKIPPED` notices: 120 `no GPU` notices across 2 tests, 15 `no GPU with 32-lane waves`, 1 `no wave32 GPU`, 1 `no wave64`, and 1 unsupported reserved-cube capability. These notices are not GPU coverage. - Independent [RTX 3060 report on this exact clean head](https://github.com/xcl-dev/xcl/pull/2634#issuecomment-7182756588): `cargo test --workspace --no-fail-fast -- --test-threads=4` completed with **1,437 passed, 0 failed, 47 ignored**, and 25 explicit GPU skips (native wave64 and refused per-lane forms). Both targeted write/flush error tests passed 30 of 30 repeated runs; the three `log::` tests passed 30 of 30 runs at eight test threads. These are the independent reporter's results, not our RX 6800M workspace run. **Regression run** - Main (`b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`): ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: AMD Radeon RX 6800M title: 2ef5fd64 seconds: 30 exit: 0x0 frames shown: 385 (PresentX 385) presents per 2 s (last 3): 51 53 51 device removals: 0 crashes: 0 peak commit: 8284 MB ``` - This PR (`e897ce3032fa482c0f7bd903db0f17cf71e957dd`, clean): ``` xcl-smoke v1 commit: e897ce3032fa482c0f7bd903db0f17cf71e957dd gpu: AMD Radeon RX 6800M title: 2ef5fd64 seconds: 30 exit: 0x0 frames shown: 443 (PresentX 443) presents per 2 s (last 3): 56 49 60 device removals: 0 crashes: 0 peak commit: 8304 MB ``` **Not tested** - Full GPU workspace coverage on our RX 6800M; the independent RTX 3060 suite skipped 25 GPU tests. Retail-title behavior when the disk fills or an external process locks/removes the log remains untested; the smoke run did not induce either condition. Focused tests inject `write_all` and `flush` errors. **AI use** - OpenAI Codex (GPT-6; exact serving variant unavailable), with a Luna subagent, implemented the change and tests, ran the stated checks, and prepared this description. I reviewed the code and evidence before publication. - OpenAI Codex (GPT-6.2 Astra) verified the independent exact-head report and added its linked results to this description.
fromthemoonx commented 2026-11-26 05:05:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-26T04:37:29Z.


Whole suite with the GPU paths (listed under Not tested): passes on NVIDIA.

Tested: e897ce3 (its base is current main b49be18, so head = merged). RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug.

result
cargo test --workspace --no-fail-fast -- --test-threads=4 1437 passed, 0 failed, 47 ignored; 25 SKIPPED lines (no wave64, refused per-lane forms)
log_write_failures_are_reported_once and a_log_flush_failure_is_reported, alone, 30 runs each; log:: (3 tests) at --test-threads=8, 30 runs 30 of 30 each; 30 of 30

Not tested: a full disk or a locked log in a title run, a release build, AMD.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7182756588 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2634#issuecomment-7182756588). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-11-26T04:37:29Z. --- **Whole suite with the GPU paths (listed under Not tested): passes on NVIDIA.** **Tested:** `e897ce3` (its base is current `main` `b49be18`, so head = merged). RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug. | | result | |---|---| | `cargo test --workspace --no-fail-fast -- --test-threads=4` | 1437 passed, 0 failed, 47 ignored; 25 `SKIPPED` lines (`no wave64`, refused per-lane forms) | | `log_write_failures_are_reported_once` and `a_log_flush_failure_is_reported`, alone, 30 runs each; `log::` (3 tests) at `--test-threads=8`, 30 runs | 30 of 30 each; 30 of 30 | **Not tested:** a full disk or a locked log in a title run, a release build, AMD. **AI use:** Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
futurepro62 commented 2026-11-30 00:48:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-30T00:48:37Z.


NVIDIA and AMD full-suite run, to go with the reports above by fromthemoonx, since none of them covers AMD. Tested exact head e897ce30 (on its base b49be18).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace --no-fail-fast -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::bridged_dpp_agrees_with_hlsl_on_the_gpu --skip hle::d3d12x::bind::tests::two_pass_binds_set_the_shared_view_heap --skip gpu::dxil::fuzz_tests: 1425 passed, 0 failed, 45 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, dispatch_chain_native_wave64_builds_whole, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The new tests ran and passed: log_write_failures_are_reported_once, a_log_flush_failure_is_reported.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 --skip two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs: 1436 passed, 0 failed, 47 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main 53e85fb1 too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, bridged_dpp_agrees_with_hlsl_on_the_gpu (no wave64 on this card) and two_pass_binds_set_the_shared_view_heap (heap windows are opt-in, XCL_HEAP_WINDOWS=1) fail the same way; gpu::dxil::fuzz_tests stays skipped as in earlier runs (seeds 70, 545, 1019 and 1507 failed CreateComputePipelineState with E_OUTOFMEMORY on this card; they passed on this main's baseline). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs fails on main too, since #2959 (#3441). (Edited: this line first named the wrong merge.) The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7265595506 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2634#issuecomment-7265595506). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-30T00:48:37Z. --- NVIDIA and AMD full-suite run, to go with the reports above by fromthemoonx, since none of them covers AMD. Tested exact head `e897ce30` (on its base `b49be18`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace --no-fail-fast -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::bridged_dpp_agrees_with_hlsl_on_the_gpu --skip hle::d3d12x::bind::tests::two_pass_binds_set_the_shared_view_heap --skip gpu::dxil::fuzz_tests`: **1425 passed, 0 failed, 45 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `dispatch_chain_native_wave64_builds_whole`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The new tests ran and passed: `log_write_failures_are_reported_once`, `a_log_flush_failure_is_reported`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 --skip two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs`: **1436 passed, 0 failed, 47 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `53e85fb1` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, `bridged_dpp_agrees_with_hlsl_on_the_gpu` (no wave64 on this card) and `two_pass_binds_set_the_shared_view_heap` (heap windows are opt-in, `XCL_HEAP_WINDOWS=1`) fail the same way; `gpu::dxil::fuzz_tests` stays skipped as in earlier runs (seeds 70, 545, 1019 and 1507 failed `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card; they passed on this main's baseline). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` fails on main too, since #2959 (#3441). (Edited: this line first named the wrong merge.) The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Foniass commented 2026-12-01 08:31:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:31:09Z.


Triage (#1607) – head e897ce3

#2286 is for the same issue (#2277) but makes a different change. It reports a log file that cannot be opened in log::init and a report.json that cannot be written. This PR reports the writes and flushes in log::write / log::flush that fail mid-run, which #2286 does not touch. The two do not overlap, though both edit the same part of log.rs, so the second one merged will need a rebase. Neither covers all of #2277 alone.
Nit: the README sentence is inserted inside the report.json bullet, between its first line and the d3d12.presents lines that still describe the report.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305425180 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2634#issuecomment-7305425180). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:31:09Z. --- **Triage (#1607)** – head e897ce3 #2286 is for the same issue (#2277) but makes a different change. It reports a log file that cannot be opened in `log::init` and a `report.json` that cannot be written. This PR reports the writes and flushes in `log::write` / `log::flush` that fail mid-run, which #2286 does not touch. The two do not overlap, though both edit the same part of `log.rs`, so the second one merged will need a rebase. Neither covers all of #2277 alone. Nit: the README sentence is inserted inside the `report.json` bullet, between its first line and the `d3d12.presents` lines that still describe the report. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
fromthemoonx commented 2026-12-03 09:32:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-12-03T09:32:57Z.


merge-check
base: 16c2fd082a
head: e897ce3032
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3014 passed, 0 failed, 56 ignored (base: 3012 passed, 0 failed, 56 ignored, counted on 395405e4; only docs and scripts changed since); SKIPPED: 25, the same as base (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps); failing: none
review: read the whole diff (2 files, +108 -6). No finding. This is the merge-check for the same head as our test report of 2026-11-26 above, on today's main.

  1. The PR's tests inject errors into a fake writer, so I also ran the real logger with a file handle opened for reading only: 2000 lines from 4 threads, half of them flushed. It printed xcl: cannot write to the log: Access is denied. (os error 5) exactly once, all threads finished, and the file was unchanged.
  2. The message goes straight to stderr and not back through the logger, so a failing log cannot call itself while the log's lock is held.
  3. The flag is per process and is not reset by log::init. A second log opened in the same process would not report again, which fits the README text ("the first failure once").
  4. Not tested: a full disk, a title run (no retail title on this machine), AMD.
    performance: none expected: one result check per line written.
    verdict: safe to merge
    hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)
<!-- greyfinch-sync:ivall/xcl:comment:7373834499 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2634#issuecomment-7373834499). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-12-03T09:32:57Z. --- merge-check base: 16c2fd082ae2e96967a2ab553bc2e1032e491f70 head: e897ce3032fa482c0f7bd903db0f17cf71e957dd merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3014 passed, 0 failed, 56 ignored (base: 3012 passed, 0 failed, 56 ignored, counted on 395405e4; only docs and scripts changed since); SKIPPED: 25, the same as base (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps); failing: none review: read the whole diff (2 files, +108 -6). No finding. This is the merge-check for the same head as our test report of 2026-11-26 above, on today's main. 1) The PR's tests inject errors into a fake writer, so I also ran the real logger with a file handle opened for reading only: 2000 lines from 4 threads, half of them flushed. It printed `xcl: cannot write to the log: Access is denied. (os error 5)` exactly once, all threads finished, and the file was unchanged. 2) The message goes straight to stderr and not back through the logger, so a failing log cannot call itself while the log's lock is held. 3) The flag is per process and is not reset by `log::init`. A second log opened in the same process would not report again, which fits the README text ("the first failure once"). 4) Not tested: a full disk, a title run (no retail title on this machine), AMD. performance: none expected: one result check per line written. verdict: safe to merge hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2634:upstream-pr/2634'
git switch 'upstream-pr/2634'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2634'
git switch 'upstream-pr/2634'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2634'
git switch 'upstream-pr/2634'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2634'
git switch 'main'
git merge --squash 'upstream-pr/2634'
git switch 'main'
git merge --ff-only 'upstream-pr/2634'
git switch 'main'
git merge 'upstream-pr/2634'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2624
No description provided.