Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Concept & Values

Sealights identifies OOB the modified/added code and reflects this in the Dashboard on a specific build - compared to its “Reference Build”.

The Reference Build can be, for example, the last build pushed to Production, or the last one promoted to the next branch (e.g. from feature-branch to develop then to main), or the last build from the previous sprint or first build from the current sprint…

Info

By default, the reference build is the previous one and is defined per Branch.

Sealights highlights the untested modified/added code (for any app) Several Sealights analytics are relying on the Reference Build: calculation on modified code and its coverage, identification of Qality Risks, Quality Gates based on modified code…

Different build can have different reference builds, and Sealights does not allow to modify the Reference Build retroactively for a build already processed.

For similar metrics based on date range and

...

aggregation of several builds analytics

...

, please refer to the TGA report.

...

Both information can be accessed in the Dashboard, downloaded as raw data in a CSV file, or retrieved via Public API.

The Quality Gates can also be based on the Modified/added code level.

See: https://<customer_domain>.sealights.co/settings/quality-gates (replace the customer_domain with your account’s name)

This metric being retrievable via the Public API, you can define your custom Gates in your CI as well.

...

How to set up manually

Info

By default, the reference build is the previous one and is defined per Branch.

  1. You can identify the current reference build from the reference build column for each application.

  2. When there is a need to change the current reference build, click on the build history of the specific application (by hovering on its build column)

  3. In the build history select the specific build

  4. By hovering on top of the Quality gate column of the specific application click on the “Set reference build” button and approve you want to set it to the previous steps selected build.

  5. This setting will take effect only from the next build.

How to set up via Sealights Public API

  1. In the Sealights platform open “SeaLights API Reference” from the Help menu.

  2. Search for “Set Reference Build” under Builds section. (See /sl-api/v1/builds/{bsid}/reference)