Skip to content

Dynamic baseline #67

@vio

Description

@vio

Problem

When comparing bundle analysis, the baseline report is the latest job corresponding to the base branch(ex: main branch).

For reports related to long-lived commits in a feature branch, commits in a branch checkout from other non-base branch, or for projects that rely on multiple base branches, the baseline can be different than the actual git change. As a result, the bundle analysis comparison can show irelevant differences:

Image

For example:

  • feature-b#commit-d is compared with the latest job in the base branch, main#commit-c". It should be compared with feature-b#commit-b`
  • feature-a#commit-e is compared with the latest job in the base branch, main#commit-c". It should be compared with main#commit-a`

Solution

Extract the corresponding base branch and commit for a build, and try to infer the closest available baseline.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions