Skip to content

fix(report-specs): isolate CONFIG-tier entries and wire user specs di… - #390

Merged
dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:fix/report-spec-config-tier-isolation
Sep 26, 2026
Merged

dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:fix/report-spec-config-tier-isolation

Conversation

@dwolfson

Copy link
Copy Markdown
Member

…r into registry

A single bad report-spec source (missing file, bad JSON, failed import) silently dropped every configured source after it, and a label that duplicated a built-in made get_report_registry() itself raise. Each entry now loads independently; failures and collisions are skipped with a warning and returned from refresh_report_specs().

The user report specs directory only ever reached the legacy report_specs dict, so registry lookups (select_report_spec etc.) never saw it, and it defaulted to "../" instead of the configured "Pyegeria User Report Specs Dir". Its *.json files are now CONFIG-tier entries, resolved from env var > config.json > ~/.pyegeria/report_specs.

…r into registry

A single bad report-spec source (missing file, bad JSON, failed import)
silently dropped every configured source after it, and a label that
duplicated a built-in made get_report_registry() itself raise. Each entry
now loads independently; failures and collisions are skipped with a
warning and returned from refresh_report_specs().

The user report specs directory only ever reached the legacy report_specs
dict, so registry lookups (select_report_spec etc.) never saw it, and it
defaulted to "../" instead of the configured "Pyegeria User Report Specs
Dir". Its *.json files are now CONFIG-tier entries, resolved from env var >
config.json > ~/.pyegeria/report_specs.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit d41e7e6 into odpi:main Sep 26, 2026
5 checks passed
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