Skip to content

pyegeria 6.2.33: report-spec consumer folders phase 2 - #583

Merged
dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:release/6.2.33
Nov 10, 2026
Merged

dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:release/6.2.33

Conversation

@dwolfson

Copy link
Copy Markdown
Member

pyegeria 6.2.33

The release for report-spec consumer folders, phase 2 (#582): the pyegeria half, for Egeria-held report specs only.

  • Consumer-folder sync follows sub-folders. sync_report_specs(recursive=None, depth_cap=5, index_consumers=True) follows the sub-folders of a consumer folder (ReportSpecFolder::Consumer::...) by default, reads each GUID once, and stops 5 levels down. It never follows a RootCollection or a sibling consumer folder. --recursive / --no-recursive on pyegeria report-specs sync override the default. If the walk was capped or a sub-folder read failed, the cached specs are kept.
  • The consumer index. build_consumer_index / refresh_consumer_index / read_consumer_index record which consumers use each report spec, cached as consumers.json. A root that can't be read gives status "not read" with the reason, never an empty result.
  • A ReportSpec with a governance zone stays out of shared caches. A copy already in a shared cache is pruned. A private cache still takes zoned specs.
  • A hidden (403-020) or deleted (404) sub-folder is gone, and its specs are pruned. A timeout or a 5xx keeps the cache.

This PR

ISSUE-182 (a 403 reported as AUTHORIZATION_ERROR_401) is not included. Its release is deferred until the Portal and trellis can take it at the same time.

Checks

  • Full 3.13 micro-suite on this branch: 2796 tests, 0 failures, 0 errors, 3 skipped (at 3d1cb15).
  • Wheel, installed into a clean 3.13 venv:
    • reports version 6.2.33;
    • holds 436 basic and 458 advanced templates, read from the package;
    • sync_report_specs has recursive, depth_cap (5) and index_consumers;
    • the consumer-index functions import.

After merge, the v6.2.33 tag goes on the squash commit, and the owner approves the PyPI release environment.

🤖 Generated with Claude Code

Version bump, uv lock and release notes: report-spec consumer folders
phase 2 (recursive consumer-folder sync, the consumer index, zoned specs
kept out of shared caches). ISSUE-182 is not included (deferred).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit bad8f03 into odpi:main Nov 10, 2026
6 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