Skip to content

ci(E2E): Collapse previous Playwright result entries in the sticky PR comment#8012

Open
khvn26 wants to merge 1 commit into
mainfrom
ci/collapse-e2e-comment-history
Open

ci(E2E): Collapse previous Playwright result entries in the sticky PR comment#8012
khvn26 wants to merge 1 commit into
mainfrom
ci/collapse-e2e-comment-history

Conversation

@khvn26

@khvn26 khvn26 commented Jul 15, 2026

Copy link
Copy Markdown
Member

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

I got tired of scrolling through Playwright comments for long-living PRs.

Each run's summary is now wrapped in a <details open> block, and the comment step sets hide_details: true. On every append, sticky-pull-request-comment strips the open attribute from all <details> tags in the previous comment body, so older runs fold down to a one-line summary, and only the latest run stays expanded.

How did you test this code?

This is a CI change.

@khvn26
khvn26 requested a review from a team as a code owner July 15, 2026 10:18
@khvn26
khvn26 requested review from talissoncosta and removed request for a team July 15, 2026 10:18
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Jul 15, 2026 10:18am
flagsmith-frontend-preview Ignored Ignored Jul 15, 2026 10:18am
flagsmith-frontend-staging Ignored Ignored Jul 15, 2026 10:18am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c03a50bc-45f9-4cca-b1cb-4bd0c6038069

📥 Commits

Reviewing files that changed from the base of the PR and between 9e4b1f4 and 327c22f.

📒 Files selected for processing (1)
  • .github/workflows/.reusable-docker-e2e-tests.yml

📝 Walkthrough

Walkthrough

The reusable Docker E2E test workflow now renders its sticky Playwright results comment inside an HTML <details> block. The block’s summary displays the existing success or failure indicator, while the underlying success and failure outputs remain unchanged. Previous-run details are configured to be collapsed.

Estimated code review effort: 1 (Trivial) | ~2 minutes


Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the ci-cd Build, test and deployment related label Jul 15, 2026
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-8012 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-8012 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-8012 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-8012 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-8012 Finished ✅ Results

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.64%. Comparing base (0cb114b) to head (327c22f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8012   +/-   ##
=======================================
  Coverage   98.64%   98.64%           
=======================================
  Files        1497     1497           
  Lines       59287    59287           
=======================================
  Hits        58481    58481           
  Misses        806      806           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
✅ Playwright Test Results (oss - depot-ubuntu-latest-16) — run #18278 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  4 passed

Details

stats  4 tests across 3 suites
duration  34 seconds
commit  327c22f
info  🔄 Run: #18278 (attempt 1)

✅ Playwright Test Results (oss - depot-ubuntu-latest-arm-16) — run #18278 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  4 passed

Details

stats  4 tests across 3 suites
duration  44 seconds
commit  327c22f
info  🔄 Run: #18278 (attempt 1)

✅ Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16) — run #18278 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  3 passed

Details

stats  3 tests across 2 suites
duration  11.6 seconds
commit  327c22f
info  🔄 Run: #18278 (attempt 1)

✅ Playwright Test Results (private-cloud - depot-ubuntu-latest-16) — run #18278 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  53.6 seconds
commit  327c22f
info  🔄 Run: #18278 (attempt 1)

@github-actions

Copy link
Copy Markdown
Contributor

Visual Regression

19 screenshots compared. See report for details.
View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Build, test and deployment related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants