Add taxonomy annotations and validate @cap/@feat cardinality in product scenarios
Open
@Krishanx92 is already working on this.
Since Sep 9, 2026.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Summary
Introduce taxonomy annotations for all checked-in product .feature scenarios. Then enforce annotation cardinality in the integration framework standards checker.
Rationale
The current suite has no consistent use of @cap and @feat tags. Enforcing the rule now would fail all existing product scenarios. The annotation rollout must complete before standards-check rejects missing or duplicate tags.
Affected areas
tests/framework/suites/it/features/**/*.featuretests/framework/suites/ui/features/**/*.featuretests/framework/cmd/standards/main.go, specificallycheckFeatures
Required changes
- Define and apply exactly one
@captag and one@feattag to every product scenario. - Update
checkFeaturesto parse scenario boundaries. - Make
checkFeaturesreject product scenarios with zero or multiple@captags. - Make
checkFeaturesreject product scenarios with zero or multiple@feattags. - Preserve the existing feature validation checks.
Acceptance criteria
- Every checked-in product scenario has exactly one
@captag and exactly one@feattag. standards-checkreports missing and duplicate taxonomy annotations per scenario.- Existing feature validation remains active.
- Tests cover valid, missing, and duplicate annotations.
Backlinks
- Pull request: https://github.com/wso2/api-platform/pull/3404
- Review comment: https://github.com/wso2/api-platform/pull/3404#discussion_r3956888954
- Requested by: @nimsara66
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.