Skip to content

feat: add print service for docx/office inline preview#8

Open
shanzez wants to merge 4 commits into
Platform-Collective:mainfrom
shanzez:feat/huly-print-service
Open

feat: add print service for docx/office inline preview#8
shanzez wants to merge 4 commits into
Platform-Collective:mainfrom
shanzez:feat/huly-print-service

Conversation

@shanzez

@shanzez shanzez commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add hardcoreeng/print:${HULY_VERSION} service on port 4005 with env matching account/workspace pods
  • Wire PRINT_URL into the front runtime config so DOCXViewer canConvert gates pass without a front rebuild

Test plan

  • docker compose up -d pulls print and recreates front with PRINT_URL set
  • config.json shows non-empty PRINT_URL
  • .docx files preview inline in Huly Drive
  • Existing pdf.js PDF preview unchanged

Made with Cursor

exaviz-bot and others added 4 commits July 11, 2026 18:14
Reports each service's container status (and Docker health where a
healthcheck is defined) plus front reachability, and exits non-zero if
anything is down, so it works as a cron or monitoring probe. Read-only.

Portable (bash 3.2+, no mapfile). Documented in the README.

Validated: exit 0 when all services run; exit 1 with the down service
flagged when one is stopped.

Signed-off-by: Exaviz <info@exaviz.com>
Signed-off-by: Exaviz <info@exaviz.com>
Found by running against a real deployment: the huly-tools init container
has restart: "no" and exits 0 after doing its work, which the check wrongly
reported as a failure. Now a container that exited 0 with restart policy
'no' is treated as a completed one-shot, not a problem.

Signed-off-by: Exaviz <info@exaviz.com>
Deploy hardcoreeng/print and wire PRINT_URL into the front runtime config
so CanConvert/canPrint gates pass without rebuilding the front image.

Co-authored-by: Cursor <cursoragent@cursor.com>
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