Skip to content

fix(variant): inherit status from aggregate in variant API - #1496

Merged
Flotapponnier merged 1 commit into
devfrom
feat/variant-inherit-status
Jul 26, 2026
Merged

fix(variant): inherit status from aggregate in variant API#1496
Flotapponnier merged 1 commit into
devfrom
feat/variant-inherit-status

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Variant blobs can have a different status than the aggregate (e.g. written by a newer worker image that knows the bench is draft, while the aggregate file on disk is stale from an older run). BenchmarkBody checks viewBenchmark.status === 'draft' and hides the entire chart+leaderboard when true. Fix: always propagate aggregate.status and aggregate.editorialStatus into the variant payload.

@Flotapponnier
Flotapponnier merged commit 2466f09 into dev Jul 26, 2026
1 check failed
Flotapponnier added a commit that referenced this pull request Jul 26, 2026
Co-authored-by: Florent Tapponnier <contact@mobula.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant