Open complete HTML report bundles from GitHub Actions #214118
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Good idea, and there's a real security reason it isn't a trivial "just serve the artifact" feature. Actions artifacts are private by default and expire. Turning one into a public HTML URL means deciding who can read it, what happens when the artifact is deleted, and what happens when the report contains a screenshot of a secret. Serving arbitrary HTML from an artifact also gives you a nice little XSS surface against the logged-in GitHub origin, so it would need an isolated origin and a strict sandbox. That's a much bigger build than the "Open report" button suggests. What I do today: publish the report to a dedicated For a native feature, I'd frame the request around a declared entry point plus an isolated viewer with artifact-derived permissions — that's the version most likely to get a serious look. |
|
@P-r-e-m-i-u-m Yeah, I get the security concern. I still really want this 😅. I’ve wanted to click an HTML file on GitHub and just see the page, like I can with Markdown, for as long as I can remember. I was excited to find out Actions already opens a single HTML file. Then I clicked the Playwright report on my own PR and got a ZIP. Pages can host it, sure. With one site per repo, I still have to figure out where every PR’s report goes. The isolated viewer you described is exactly what I want. Keep the artifact’s permissions and expiry. Let me click the report from the PR and see what happened, screenshots and all. I’d use that all the time, on both public and private repos. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Other
Discussion Details
I ran into this while building CI for my Astro portfolio. GitHub Actions runs Playwright and Lighthouse in parallel, then posts the preview, scores, and report links in one PR comment. I can see whether the checks passed at a glance. To inspect the full report, I still have to download and unpack it.
The single-file preview is a good start. Could Actions let a workflow declare an HTML entry point for a report bundle and give reviewers an Open report link? For example, opening
playwright-report/index.htmlwould also resolve the screenshots and traces in that bundle. The preview could inherit the artifact’s access permissions and expiry.GitHub is already bringing agent-generated work into PR review. This would make the evidence easier to inspect in the same place, whether the checks were run by an agent or a regular CI job.
All reactions