Skip to content

Add graceful tile download failure handling - #40

Merged
sgraaf merged 2 commits into
mainfrom
claude/graceful-tile-failures-PvaJQ
Jan 15, 2026
Merged

sgraaf merged 2 commits into
mainfrom
claude/graceful-tile-failures-PvaJQ

Conversation

@sgraaf

@sgraaf sgraaf commented Jan 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits January 15, 2026 06:20
- Add `strict_download` parameter to `PaperMap.__init__()` (default: False)
- Add `strict` parameter to `download_tiles()` method
- When strict=False (default), failed tiles issue warning and render as background color
- When strict=True, maintain previous behavior of raising RuntimeError on tile failures
- Add `--strict` CLI flag to control this behavior
- Add comprehensive tests for both graceful and strict failure modes
- Update existing tests to use strict=True where they expect exceptions
- Update CLI documentation via cog
- Add changelog entry explaining the new feature
@sgraaf
sgraaf merged commit 59295d7 into main Jan 15, 2026
6 checks passed
@sgraaf
sgraaf deleted the claude/graceful-tile-failures-PvaJQ branch September 16, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants