I’d also include the environment, build version, failing test name, and a short error summary. The key is giving external readers enough context to understand and reproduce the issue without exposing sensitive data, credentials, or internal system details. Masked screenshots and sanitized logs are definitely a must.
What Would You Keep in a CI Failure Report You Share Outside Your Team?
12 Comments
I would share the run ID, failed step, error class and timing per attempt, and keep request bodies and unmasked screenshots in the private trace behind that run ID. The retry history is worth keeping because the pattern tells the outsider a lot: three timeouts points to flakiness, a timeout followed by a validation error points to a real bug.
Please log in to add a comment.
I'd push the masking upstream: if the signup test enters synthetic values, there's nothing in the report worth hiding, and the shared and private versions can be the same file. Generated addresses on example.com (reserved for documentation by RFC 2606) and a fake name tied to the run ID still let a teammate tell a timeout from a 422, because the error class doesn't depend on the data being real.
Where real values can't be avoided, your export check matters more than it looks. In Playwright, for example, the mask option on a screenshot paints over the element in the image, but the trace file from the same run still carries DOM snapshots and network bodies with the original values. So I'd treat the trace as private by default and share a generated summary, rather than trust a masked image to stand for the whole artifact.
@[Mike Dabydeen] Even with synthetic signup values, a trace can still pick up session tokens or internal URLs. I’d share a summary built from an allowlist (test name, attempt number, status and duration) and keep the raw trace private. A useful export test is to put a fake secret in the trace and check that it never appears in the downloaded report.
@[WAQAS AHMAD] Agreed on the allowlist. I'd change one thing about the canary test so it covers the paths you named. Instead of writing a fake secret into the trace afterwards, give the test user's session a known marker value, say a bearer token of canary-run-1234, so the app itself carries it through requests, headers and storage. Then search the shared report for that string.
A secret planted by hand only proves the exporter strips the spot where you put it. One that flows through the app catches the header or internal URL nobody thought to list.
Please log in to add a comment.
To avoid confusion, include the exact error message, HTTP status, and duration of each retry. Keep sensitive input values and full request bodies private, and verify the exported screenshot is masked before sharing. This gives teammates enough evidence to identify whether the failure is a timeout or validation issue.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
He is actively involved in building and promoting EstateAI, an AI-powered real estate marketing platform designed to help property professionals create better listing visuals and streamline their marketing workflows. Show less
More From WAQAS AHMAD
Related Jobs
- Senior SharePoint DeveloperTiag · Full time · Chambersburg, PA
- Sharepoint DeveloperAleknagik Technology · Full time · Crane, MO
- Senior SharePoint DeveloperTiag · Full time · Chambersburg, PA
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!