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
{{ message }}
Repository navigation
bug: fail when old test result artifacts cannot be cleared #657
scripts/report_results.py::reset_results_dir calls shutil.rmtree(resolved, ignore_errors=True) and then mkdir(..., exist_ok=True). If deletion fails (for example a permissions error on a previous JUnit file), the directory can still contain old results even though reset returns successfully. That contradicts the helper's guarantee that stale files never pass for this run's evidence.
Treat an absent directory as normal, but fail with an actionable error when an existing results directory cannot be fully cleared. Preserve the existing protected-directory checks. Add offline tests for a missing directory, a successful reset and a mocked removal failure with a stale artifact; ensure the failure is not silently accepted. No live CUBRID is needed.
Activity