Skip to content

Warning when assets are built with a stack SNAPSHOT version #318

@ruflin

Description

@ruflin

We recently had some issues with some dashboards and visualisations based off a snapshot version of the stack. Snapshot builds can contain bugs which can lead to invalid dashboards / visualisations exported.

The general recommendation is to build dashboards and visualisations off stable versions of the stack. But this is not always possible as a feature is needed that is only released in the next minor but I expect this to be the exception.

The saved objects normally contain some information related to from which version of the stack these were exported from (https://github.com/elastic/package-storage/blob/production/packages/apache/1.3.5/kibana/dashboard/apache-Logs-Apache-Dashboard.json#L15). If this info is incorrect, we should work with the Kibana team to have this more standardised (@flash1293 ). If this version contains a -SNAPSHOT string, a warning should be raised.

Dashboards and visualisations for a package should always be built with the minimal version of the stack that it is compatible with. So if a package is compatible with 8.0, this is the version that dashboards should be built with. This is an additional point that can be validated that assets are not newer then the minimal supported stack version.

Metadata

Metadata

Assignees

Labels

Team:EcosystemLabel for the Packages Ecosystem team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions