Skip to content

Clean up contact-sheet CLI errors#91

Merged
Ahmed-Hindy merged 1 commit into
mainfrom
dev/issue-80-contact-sheet-cli
Jun 12, 2026
Merged

Clean up contact-sheet CLI errors#91
Ahmed-Hindy merged 1 commit into
mainfrom
dev/issue-80-contact-sheet-cli

Conversation

@Ahmed-Hindy

Copy link
Copy Markdown
Owner

Summary

  • keep handled renderkit contact-sheet failures out of the default console traceback path
  • add CLI regression coverage for missing input sequences so the command returns a clean user-facing error

Root cause

The standalone contact-sheet command now routes through the real still-writer path, but handled failures were still logged with logger.exception, which made invalid input look like an unexpected crash in normal CLI output.

Validation

  • uv --native-tls run --extra dev pytest tests/test_cli.py tests/test_contact_sheet.py
  • uv --native-tls run ruff check
  • uv --native-tls run ruff format --check src/renderkit/cli/main.py tests/test_cli.py
  • uv --native-tls run renderkit contact-sheet "C:\tmp\missing.%04d.exr" "C:\tmp\out.jpg" --overwrite

Closes #80

@sonarqubecloud

Copy link
Copy Markdown

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Ahmed-Hindy Ahmed-Hindy self-assigned this Jun 11, 2026
@Ahmed-Hindy Ahmed-Hindy marked this pull request as ready for review June 11, 2026 17:58
@Ahmed-Hindy

Copy link
Copy Markdown
Owner Author

@codex

Repository owner deleted a comment from coderabbitai Bot Jun 12, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@Ahmed-Hindy Ahmed-Hindy merged commit 0a66271 into main Jun 12, 2026
8 checks passed
@Ahmed-Hindy Ahmed-Hindy deleted the dev/issue-80-contact-sheet-cli branch June 12, 2026 08:06
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.

Bug: contact-sheet CLI crashes before generating output

2 participants