• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nolar / kopf / 38
85%
main: 0%

Build:
Build:
LAST BUILD BRANCH: refactor/fix-typo
DEFAULT BRANCH: main
Ran 23 Aug 2020 11:24PM UTC
Jobs 9
Files 56
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
38

push

travis-ci

nolar
Select the field-handlers based on actual diff of that field present

Filtering only by diff's fields without actual diff values checked
was used since the initial import and release of the framework, and
was only modified in #340 by extending the filtering logic to react
to sub-fields of a bigger structure changed (for example, for a
field "spec.struct.field" when "spec.struct" is added at once).

Yet such an approach is prone to improper detection of actually
changed fields, as documented in #375: when a bigger struct is added
while we expect a non-existent sub-field of it, it is believed to
exist there, as the sub-field matches the bigger struct; in particular,
when an object is created, it is a root-level diff from `None` to actual
content, and all the non-existent fields trigger their field handlers.

By checking if the actual diff of a specific field is not empty, we
can properly detect if that specific field was added, removed, or changed,
be that as a part of a bigger (containing) structure change, or as a change
in any of its (contained) sub-fields.

This comes at a cost of performance loss: the diff reduction is less performant
than a flat iteration over the diff fields: from 20% to 150% (2.5x) slower.
However, the scale of the slowdown is measured in 5-10s per 1'000'000 checks
on MacBook Air 2013, so we can consider it negligible for real operators.

913 of 1167 branches covered (78.23%)

Branch coverage included in aggregate %.

3321 of 3839 relevant lines covered (86.51%)

7.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=latest CLIENT=yes) 23 Aug 2020 11:24PM UTC 0
84.83
Travis Job 38.1
2 38.2 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=latest CLIENT=no) 23 Aug 2020 11:24PM UTC 0
84.44
Travis Job 38.2
3 38.3 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.16.0 CLIENT=no) 23 Aug 2020 11:24PM UTC 0
84.44
Travis Job 38.3
4 38.4 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.16.0 CLIENT=no CRDAPI=v1beta1) 23 Aug 2020 11:25PM UTC 0
84.44
Travis Job 38.4
5 38.5 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.15.0 CLIENT=no CRDAPI=v1beta1) 23 Aug 2020 11:25PM UTC 0
84.44
Travis Job 38.5
6 38.6 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.14.0 CLIENT=no CRDAPI=v1beta1) 23 Aug 2020 11:30PM UTC 0
84.44
Travis Job 38.6
7 38.7 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.13.0 CLIENT=no CRDAPI=v1beta1) 23 Aug 2020 11:31PM UTC 0
84.44
Travis Job 38.7
9 38.9 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=latest CLIENT=yes) 23 Aug 2020 11:31PM UTC 0
84.78
Travis Job 38.9
10 38.10 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=latest CLIENT=no) 23 Aug 2020 11:31PM UTC 0
84.39
Travis Job 38.10
Source Files on build 38
  • Tree
  • List 56
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #38
  • 4673e964 on github
  • Next Build on nonexistent-fields-triggered (#41)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc