You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugA problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.help wantedThe issue requires extra attention or help from others.
tools/check_case_sources.py rewrites its JSON report after each completed source so earlier results survive later failures. The report is written directly to the final path with Path.write_text(), so interruption during a write can leave the report truncated or invalid.
Scope
Write each report update to a temporary file in the same directory and replace the destination only after the new JSON has been written successfully.
Keep the current report format, checkpoint frequency, and source-check behavior unchanged.
Completion criteria
A successful checkpoint replaces the previous report with complete JSON.
A failed or interrupted write does not corrupt the previous valid report.
Temporary files are cleaned up after handled failures.
tools/test_check_case_sources.py covers successful replacement and failed write/replace paths.
bugA problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.help wantedThe issue requires extra attention or help from others.
Activity
[-][Bug]: Write case source-check reports atomically[/-][+]Write case source-check reports atomically[/+]