Separate YAML reading from configuration resolution #80

Merged
eleith merged 1 commits from refactor/config-yaml-loading into main 2026-11-24 13:58:28 +00:00

Read and parse the selected YAML in yaml.ts, then validate authored input before the existing loaders resolve their web or worker settings. Both services still validate the same authored format; only web resolves URL and authentication environment references. Configuration schema, exports, relative journal resolution, and redacted errors are unchanged.

Two regression tests protect the existing YAML 1.2 rule and rejection of credentials supplied through merge keys. No configuration changes or re-preparation needed.

Independent code, readability, and test reviews completed. All 15 checks passed on the final source: 1,120 workspace tests and 31 Chromium cases.

Read and parse the selected YAML in `yaml.ts`, then validate authored input before the existing loaders resolve their web or worker settings. Both services still validate the same authored format; only web resolves URL and authentication environment references. Configuration schema, exports, relative journal resolution, and redacted errors are unchanged. Two regression tests protect the existing YAML 1.2 rule and rejection of credentials supplied through merge keys. No configuration changes or re-preparation needed. Independent code, readability, and test reviews completed. All 15 checks passed on the final source: 1,120 workspace tests and 31 Chromium cases.
eleith-gitea-agent Bot added 1 commit 2026-11-24 13:54:04 +00:00
refactor(config): separate YAML reading from settings resolution
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
a3b0c6dee8
eleith merged commit a3b0c6dee8 into main 2026-11-24 13:58:28 +00:00
eleith deleted branch refactor/config-yaml-loading 2026-11-24 13:58:28 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/hledger-web-reports#80