Files
hledger-web-reports/.changeset/unify-application-context-and-job-inputs.md
eleith 84af2087e7
ci/woodpecker/pr/jobs Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/jobs Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
refactor: unify application context and report job contracts
2026-10-30 21:08:07 -07:00

840 B

@hledger-reports/web, @hledger-reports/worker
@hledger-reports/web @hledger-reports/worker
patch patch

Initialize one complete private web application context containing the selected configuration, resolved deployment paths and caller-owned queue client. Routes use that context instead of independently rereading configuration environment variables or rebuilding paths.

Use TypeBox-derived report request contracts with shared date and workflow-schema validation, and share the abortable report-result waiter without changing fresh-run or preparation-join behavior. Restrict workflow engine logs to fixed operational categories and validated run IDs rather than raw messages or arguments.

Keep financial calculations, report formats, workflow identities, retention and journal files unchanged. No authentication, YAML expansion or automatic preparation is introduced.