Repository navigation
test(e2e): add extractor enricher coverage for dirctl import - #1849
Merged
Merged
Conversation
Signed-off-by: shaurya2k06 <[email protected]>
paralta
approved these changes
Jul 20, 2026
paralta
left a comment
Member
There was a problem hiding this comment.
Welcome to the project, and thanks for picking this up so promptly! This is exactly what was needed: a simple and effective end-to-end test for enricher.extractor. Approved ✅
Contributor
Author
|
Thanks! Open to trying something more difficult next 🚀 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Import-based e2e tests currently force the static enricher via
factory.Replace, so theenricher.extractorCLI path (loadExtractorFromConfig→LoadConfigured→oasfExtractorAdapter) is never exercised end-to-end. This adds a skip-gated local e2e that mirrors how users actually invoke the extractor enricher.tests/e2e/local/16_extractor_enricher_test.goskips unless~/.agntcy/oasf-sdk/extractor/manifest.jsonis present (afterdirctl init)enricher.extractor: {}and runsdirctl importon the shared A2A agent card fixture withoutfactory.ReplaceVerified locally with OrbStack:
go test -C ./tests/e2e/local . -ginkgo.focus="Extractor enricher"→ 2 Passed.Closes #1848