Repository navigation
test(analytic-registry): skip the registry-wide census under trellis-analytics < 0.4.0 - #544
Merged
Merged
Conversation
…analytics < 0.4.0 egeria-trellis-analytics 0.3.1 registers entry points that predate declarations, so the registry-wide census failed whenever it was installed. test_every_registry_entry_is_declared now skips, naming the installed version, when egeria-trellis-analytics is older than 0.4.0. It still fails for any undeclared entry under 0.4.0 or later, or with no library installed, and test_every_builtin_is_declared still fails for any undeclared pyegeria built-in in every case. Micro-tests, Python 3.13: no library 1990 passed / 2 skipped; 0.3.1 2049 / 2; 0.4.0 2050 / 1. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the Architect's read-back finding F1 on #539 (RS-W2-1a). Test-only; no code or version change.
#542 scoped the built-in declaration tests to
_BUILTINS. It left one census over the whole registry,test_every_registry_entry_is_declared. That census still failed whenever egeria-trellis-analytics 0.3.1 was installed, because 0.3.1's three entry points (context_pack,curation_coverage,curation_coverage_tile) predate declarations.Change. The registry-wide census now skips when the installed egeria-trellis-analytics is older than 0.4.0, and the skip reason names that version. Otherwise it still fails:
test_every_builtin_is_declaredstill fails for any undeclared pyegeria built-in, whatever is installed.Tests (
tests/micro-tests/, Python 3.13, on upstream maineb8ce019):Known gap, carried from #539 (commit 20faf78).
governed_coverageandownership_coveragecount elements of any type carrying the classification, not only Assets. Their declarations say so ("elements of any type carrying …"). Restricting them to Assets, for example by passingmetadataElementTypeName, is a code change and is left for a follow-up.🤖 Generated with Claude Code