mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 02:08:13 +00:00
When a branch/HEAD fetch fails (network error, auth failure, server down), _open_remote now logs a warning rather than silently passing. A boolean is_stale propagates through _get_repo → fetch_ifc so callers know the data comes from a stale local cache. The service adds X-Ifcurl-Cache: stale to /preview and /render_diff responses when stale data was served, so Forgejo or a browser viewer can surface a warning to the user. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_auth.py | ||
| test_bcf.py | ||
| test_diff.py | ||
| test_git.py | ||
| test_render.py | ||
| test_sandbox.py | ||
| test_service.py | ||
| test_url.py | ||
| test_viewer_url.mjs | ||