# CI Handoff Report (`immemorial_sarinda/ci-handoff-report`) Actor

Turn authorized, non-confidential CTRF test results and approved labels into one self-contained HTML CI handoff report with a manifest and run-bound delivery receipt. $0.10 per completed report. Includes a local Python extractor.

- **URL**: https://apify.com/immemorial_sarinda/ci-handoff-report.md
- **Developed by:** [Picknotes](https://apify.com/immemorial_sarinda) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 full reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CI Handoff Report

Create a self-contained HTML handoff report from authorized, non-confidential CTRF test results and approved labels. Each successful delivery is one default-dataset item containing the report, manifest, run ID, delivery key and receipt.

### Price

$0.10 per completed full report ($100 per 1,000 reports). The sole charged event is the full-report dataset item; there is no Actor-start event. Platform usage costs are included in this offer. Receipt accounting describes the expected event and does not prove settled payment or revenue.

### Input

For the synthetic demo, select `useDemo=true` and leave own-data fields absent. For your data, select `useDemo=false`, set `authorizedNonConfidentialData=true`, and supply `ctrfJson` as literal JSON text. `approvedLabelsJson` is optional. Use only data you are authorized to submit. Do not paste secrets, personal information or confidential records: Apify stores input before execution. Unknown fields and unsupported input shapes are rejected.

The Actor summarizes supplied results; it does not run your tests, establish test coverage, certify release readiness or verify the truth of the source data.

### Download your report

Export the raw default dataset as JSON with all fields. Disable cleaning and do not select, omit, flatten or unwind fields. The export must contain exactly one item, or be that single raw item.

[Download CI report extractor 0.2.3](https://api.apify.com/v2/key-value-stores/QaIK8bNVEgH17qfgo/records/ci-Minimal-Public-Extractor-0.2.3.zip?signature=1MEfveldwGdWWqXAckjw8\&attachment=true).

ZIP SHA-256: `84e2c8bfb2e39239b935f69cdfdcd555cef1cf9519e6e73353301deaf47e833c` (7,575 bytes). Unpack all four files and read README.md and TERMS.md. This standalone helper uses Python's standard library; no Actor engine or adapter is needed.

```sh
python3 -B extract_report.py dataset.json new-output-directory
```

Use trusted local directories and a new destination whose parent exists. Symlink paths and overwrites are refused. The helper requires supported POSIX directory-relative, no-follow file operations; Windows is unsupported. See the helper README for tested environments and limitations. Success creates `REPORT.html` with the exact declared UTF-8 bytes. Open it only if you trust its source.

Hashes and receipts establish internal consistency, not sender authenticity, HTML semantics or settled billing. They do not reprocess the original CTRF inputs. Purchaser use and private modification, including authorized client deliverables, are governed by the included TERMS.md; source redistribution and resale are not granted.

### Delivery and failures

The report is inside the dataset item, not a separate key-value-store report file. If a run fails or its result is uncertain, inspect its dataset before retrying: delivery or charging may already have occurred. Do not automatically rerun or repost uncertain deliveries.

The demo and an independent fictional own-data fixture both completed on the deployed containment-corrected build, each with one report item. Their downloaded exports passed the corrected extractor. This is evidence for those fixtures, not a guarantee for every input. Runtime defaults are 512 MB, 120 seconds, with Standby and restart-on-error disabled. The frozen delivery protocol identifier remains `0.2-preparation-unverified` for compatibility.

# Actor input Schema

## `useDemo` (type: `boolean`):

Run bundled synthetic input; own-data fields must be absent.

## `authorizedNonConfidentialData` (type: `boolean`):

Set true only for your authorized nonpersonal, nonconfidential own data. Never include secrets or person-linked coordinates.

## `ctrfJson` (type: `string`):

Own mode only; paste literal text, never a URL. Runtime enforces UTF-8 byte, structure and aggregate limits. Leave absent in demo.

## `approvedLabelsJson` (type: `string`):

Own mode only; paste literal text, never a URL. Runtime enforces UTF-8 byte, structure and aggregate limits. Leave absent in demo.

## Actor input object example

```json
{
  "useDemo": true,
  "authorizedNonConfidentialData": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "useDemo": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("immemorial_sarinda/ci-handoff-report").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "useDemo": True }

# Run the Actor and wait for it to finish
run = client.actor("immemorial_sarinda/ci-handoff-report").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "useDemo": true
}' |
apify call immemorial_sarinda/ci-handoff-report --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,immemorial_sarinda/ci-handoff-report"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/P3AtLd7aEsZfoRs2o/builds/tnkocWTlGbkFcIm5s/openapi.json
