Skip to content

[codex] Add standalone document renderer service#112

Draft
MTG-Thomas wants to merge 5 commits intomainfrom
codex/doc-renderer-service
Draft

[codex] Add standalone document renderer service#112
MTG-Thomas wants to merge 5 commits intomainfrom
codex/doc-renderer-service

Conversation

@MTG-Thomas
Copy link
Copy Markdown
Owner

Summary

Adds a standalone Bifrost document renderer service for PDF generation:

  • exposes authenticated FastAPI endpoints for Markdown-to-PDF and HTML-to-PDF rendering
  • wraps Pandoc and WeasyPrint behind a small service boundary
  • includes three built-in CSS themes for report-style output
  • adds a Dockerfile with the required renderer system dependencies
  • adds unit coverage for auth, render success, invalid theme handling, and render failure propagation

Validation

  • .venv/bin/pytest api/tests/unit/test_doc_renderer_service.py

Notes

Opened as draft because this platform service is intended to pair with the separate infra PR that provisions the adjacent Azure Container Apps path.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 03aaa8b8-2a88-4384-aa4b-1aaf3f065258

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/doc-renderer-service

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

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