Skip to content

Conversation

@sunker
Copy link
Contributor

@sunker sunker commented Nov 7, 2025

When Playwright reports are deployed to the gh-pages branch within the same repository, the repository size can grow significantly over time, leading to a bloated Git history. This is especially problematic when reports include trace viewers and screenshots.

This PR implements an orphan branch approach to solve this issue by deploying reports using orphan branches, which create fresh git branches with zero history for each deployment. This prevents accumulation of large commits over time.

Example where this is used here: https://github.com/grafana/grafana-test-datasource/pull/18

@sunker sunker requested a review from tolzhabayev November 7, 2025 14:44
@sunker sunker marked this pull request as ready for review November 7, 2025 14:44
@sunker sunker requested review from a team as code owners November 7, 2025 14:44
@sunker sunker requested review from toddtreece and wbrowne November 7, 2025 14:44
@github-project-automation github-project-automation bot moved this from 🧑‍💻 In development to 🔬 In review in Plugins Platform / Grafana Community Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔬 In review

Development

Successfully merging this pull request may close these issues.

2 participants