HF RL Explorer

In fsspec/implementations/local.py , the LocalFileOpener.discard() method rolls back a non-autocommitting…

In fsspec/implementations/local.py , the LocalFileOpener.discard() method rolls back a non-autocommitting…: a task in harness-adapters: Agentic coding environments (Harbor dataset). Fix discard() so that it closes the underlying file handle before removing the temporary file, matching what…

The task

Fix `discard()` so that it closes the underlying file handle before removing the temporary file, matching what `commit()` already does.

Part of harness-hub/harness-adapters.