Skip to content

fix(overview): page through all SchemaType elements for schema coverage - #609

Merged
mandy-chessell merged 2 commits into
odpi:mainfrom
dwolfson:fix/overview-schema-coverage-paging
Oct 6, 2026
Merged

mandy-chessell merged 2 commits into
odpi:mainfrom
dwolfson:fix/overview-schema-coverage-paging

Conversation

@dwolfson

@dwolfson dwolfson commented Oct 5, 2026

Copy link
Copy Markdown
Member

_schema_coverage read one page of 1000 and treated a full page as capped, so assets with schema showed "Not measured" (summary partial: true) on any catalog with 1000+ schema types (6166 on the dev platform).

It now reads pages until an empty one (Egeria's paging contract). The figure is still withheld after _REL_MAX_PAGES full pages or if any page fails.

Tests: 12 new (6 cases x quickstart/freshstart) in tests/test_schema_coverage_paging.py; live summary now returns assetsWithSchema.

🤖 Generated with Claude Code

_schema_coverage read one page of 1000 and treated a full page as capped,
so "assets with schema" showed Not measured on any catalog with 1000+
schema types (6166 on the dev platform). It now reads pages until an empty
one (Egeria's paging contract) and still withholds the figure after
_REL_MAX_PAGES full pages or if any page fails.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@mandy-chessell
mandy-chessell merged commit 83b6b6b into odpi:main Oct 6, 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.

2 participants