Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Share a CI run

Share a recording of a CI run with a colleague or an agent: one link to every test, with its screenshots, videos, traces and other files

A Shared Run is a public link to the recording of a CI run: every test, its attempts, errors, screenshots, videos, traces and other files. Send it to a colleague or give it to an agent instead of a summary or a screenshot. They do not need a Currents account, and they open the files themselves to investigate further.

From the dashboard

  1. Open the run.

  2. Click Share, then Share whole run.

  3. Pick how long the link lasts: 1, 3 or 7 days.

  4. Click Create link, then copy it or click Open page.

From an agent

Your agent needs the Currents MCP server, with permission to read results and to create share links. See Connect your agent. Then ask the agent to share a run, and name the run by its pull request or its run ID:

  • "Create a Currents share link for the latest CI run of pull request #42."

  • "Create a Currents share link for run 652399ec733d0ddc."

The run ID is in the run's URL in the dashboard, after /run/. The agent gets two links: the page for people, and its Markdown version for agents.

From the CLI

Run currents run share with the run ID and an API key with write access. It prints the link and its Markdown version. The same command shares one spec file or one test of the run.

CURRENTS_API_KEY=<api-key> npx --package @currents/cmd@2 currents run share <run-id>

What people see

  • The project, start time, status counts, and the git branch, commit and pull request

  • Each spec file and test with its status, and a link to the test in the dashboard

  • For each attempt: its error, and links to its screenshots, videos, traces and other files

  • For each failed or flaky test, a link to its full failure context

A Shared Run page: the run status counts, the branch and commit, the run attachments, and the Markdown link for agents at the bottom

The page shows the run as it was when you created the link. It lists up to 2,000 tests, and leaves out passed tests first.

What an agent sees

Add .md to the link to get the same run as Markdown. Give this link to an agent. It needs no Currents connection to read it.

The Markdown has a link to every file of every attempt, and the agent can open each one:

  • Screenshots and videos

  • Attachments your tests add, such as an error context or an API response

  • The trace of each attempt, through a trace API link (labeled "explore trace")

  • The full failure context of each failed or flaky test: steps, stdout, environment and files

The Markdown version of a Shared Run: the run ID, project and status counts, the branch and commit, then the failed test SAVE10 takes 10% off the total with links to its full context, screenshot, video, error context and trace, and the error: expected $206.55, received $183.60

The trace API lets the agent read the trace in small steps: first a summary of the actions, then only the page, frame or network request it needs. See Explore a trace.

In this recording, Claude Code gets the Markdown link of a Shared Run. It reads the run, opens the trace summary of the failed test, then reads the page text and the screen at the failure:

Claude Code fetches a Shared Run Markdown link with curl, then the trace digest, the page text and the frame at the failure of the test SAVE10 takes 10% off the total, and answers that the app takes the 10% discount off twice: the total is $183.60 instead of $206.55

See Share links for who can open the link and how to turn share links off.

Last updated

Was this helpful?