🌱 Add test-identifying annotations to e2e resources#2701
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
a73cfdd to
b6e6fa2
Compare
Inject e2e.olm.operatorframework.io/feature and e2e.olm.operatorframework.io/scenario annotations into every resource applied during an e2e scenario. This makes it possible to identify which feature file and scenario produced a given resource when debugging test failures on a cluster. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b6e6fa2 to
68cfdfb
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2701 +/- ##
==========================================
- Coverage 68.12% 68.10% -0.02%
==========================================
Files 145 145
Lines 10700 10700
==========================================
- Hits 7289 7287 -2
- Misses 2884 2885 +1
- Partials 527 528 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rashmigottipati, tmshort The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0d6fcd2
into
operator-framework:main
Description
Inject
e2e.olm.operatorframework.io/featureande2e.olm.operatorframework.io/scenarioannotations into every resource applied during an e2e scenario.Currently, e2e test resources are named with opaque scenario IDs (e.g.,
ce-e3a7f5d2c1b94a2f). When debugging test failures on a cluster, there is no way to tell which feature/scenario a resource belongs to without cross-referencing test logs. These annotations make identification straightforward:The feature name is derived from the feature file path (e.g.,
features/install.feature→install) and the scenario name comes directly from the Godog scenario.Reviewer Checklist