Skip to content

Fix safe library output handling - #9

Merged
perNyfelt merged 17 commits into
mainfrom
agent/fix-lib-output-safety
Aug 15, 2026
Merged

Fix safe library output handling#9
perNyfelt merged 17 commits into
mainfrom
agent/fix-lib-output-safety

Conversation

@perNyfelt

Copy link
Copy Markdown
Member

Summary

  • Render PDF files to a temporary sibling and replace the target only after a successful render.
  • Make OpenHTMLtoPDF SLF4J logging an explicit application-startup choice, while preserving the GUI's current logging behavior.
  • Make image MIME inference locale-independent and strengthen concurrency test failure reporting.
  • Add 0.2.0 release-note sections for the parent, runtime, and GUI artifacts.

Root cause

Renderer.toPdf(File) opened the final destination before rendering, truncating a previously generated PDF if rendering failed. Constructing an engine also replaced the process-wide OpenHTMLtoPDF logger unexpectedly.

Validation

mvn spotless:apply && mvn verify

@perNyfelt
perNyfelt merged commit d8205ac into main Aug 15, 2026
10 checks passed
@perNyfelt
perNyfelt deleted the agent/fix-lib-output-safety branch August 15, 2026 19:47
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.

1 participant