Skip to content

fix(indexer): extract Apps from Promotion directives (#2620)

Codecov / codecov/patch failed Oct 1, 2024 in 1s

46.47% of diff hit (target 50.97%)

View this Pull Request on Codecov

46.47% of diff hit (target 50.97%)

Annotations

Check warning on line 115 in cmd/controlplane/garbage_collector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/controlplane/garbage_collector.go#L115

Added line #L115 was not covered by tests

Check warning on line 119 in cmd/controlplane/garbage_collector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/controlplane/garbage_collector.go#L119

Added line #L119 was not covered by tests

Check warning on line 123 in cmd/controlplane/garbage_collector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/controlplane/garbage_collector.go#L123

Added line #L123 was not covered by tests

Check warning on line 110 in cmd/controlplane/webhooks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/controlplane/webhooks.go#L110

Added line #L110 was not covered by tests

Check warning on line 236 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L236

Added line #L236 was not covered by tests

Check warning on line 239 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L239

Added line #L239 was not covered by tests

Check warning on line 242 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L242

Added line #L242 was not covered by tests

Check warning on line 245 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L245

Added line #L245 was not covered by tests

Check warning on line 248 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L248

Added line #L248 was not covered by tests

Check warning on line 251 in internal/api/kubernetes/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/kubernetes/client.go#L251

Added line #L251 was not covered by tests

Check warning on line 39 in internal/api/list_project_events_v1alpha1.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/list_project_events_v1alpha1.go#L39

Added line #L39 was not covered by tests

Check warning on line 36 in internal/api/list_promotions_v1alpha1.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/list_promotions_v1alpha1.go#L36

Added line #L36 was not covered by tests

Check warning on line 257 in internal/api/option/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/option/auth.go#L257

Added line #L257 was not covered by tests

Check warning on line 264 in internal/api/option/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/option/auth.go#L264

Added line #L264 was not covered by tests

Check warning on line 98 in internal/controller/promotions/promotions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/promotions/promotions.go#L98

Added line #L98 was not covered by tests

Check warning on line 236 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L236

Added line #L236 was not covered by tests

Check warning on line 241 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L241

Added line #L241 was not covered by tests

Check warning on line 246 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L246

Added line #L246 was not covered by tests

Check warning on line 251 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L251

Added line #L251 was not covered by tests

Check warning on line 256 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L256

Added line #L256 was not covered by tests

Check warning on line 261 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L261

Added line #L261 was not covered by tests

Check warning on line 266 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L266

Added line #L266 was not covered by tests

Check warning on line 271 in internal/controller/stages/stages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/stages.go#L271

Added line #L271 was not covered by tests

Check warning on line 87 in internal/controller/stages/watches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/watches.go#L87

Added line #L87 was not covered by tests

Check warning on line 233 in internal/controller/stages/watches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/controller/stages/watches.go#L233

Added line #L233 was not covered by tests