kubernetes-sigs / apisnoop

⭕️Snooping on the Kubernetes OpenAPI communications
https://apisnoop.cncf.io
Apache License 2.0
87 stars 42 forks source link

Conformance gate failure due to alpha endpoint getStoragemigrationAPIGroup #859

Closed heyste closed 2 months ago

heyste commented 6 months ago

Conformance progress for 1.30 shows there is there an endpoint getStoragemigrationAPIGroup that is has been promoted without tests 1 This endpoint has been added already been added to pending_eligible_endpoints.yaml 2 which means conformance coverage is still at 100% 3

The conformance gate 4 is failing due to the above endpoint been listed as untested.

==================
UNTESTED ENDPOINTS
getStoragemigrationAPIGroup
==================
ERROR: You have 1 untested endpoints
==================

AFAICT pending_eligible_endpoints.yaml is only used for the website and not used by snoopdb, which does uses ineligible_endpoints.yaml 5 6 A possible solution is to use the contents of pending_eligible_endpoints.yaml to filter any resulting "untested endpoints" so that the conformance gate can pass.

Also, its misleading to have this alpha endpoint shown on either the list of "Promoted without Tests" 1 or shown on the Conformance Progress Charts 7

~/go/src/k8s.io/kubernetes$ grep apis/storagemigration api/openapi-spec/swagger.json
    "/apis/storagemigration.k8s.io/": {
    "/apis/storagemigration.k8s.io/v1alpha1/": {
    "/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations": {
    "/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}": {
    "/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status": {
    "/apis/storagemigration.k8s.io/v1alpha1/watch/storageversionmigrations": {
    "/apis/storagemigration.k8s.io/v1alpha1/watch/storageversionmigrations/{name}": {
k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

heyste commented 2 months ago