Push Cerebrum mutation-testing run results to Cerebrum Cloud
Project description
cerebrum-cloud-push
Pushes a Cerebrum mutation-testing run's local artifacts to Cerebrum Cloud — the hosted dashboard that trends mutation score, surviving bugs, and coverage over time.
This package is the ingest client only. It has no runtime dependencies, does not import
cerebrum, and does not require any access to the cerebrum-cloud repo (which is private) —
it just reads the .cerebrum/ files a cerebrum run already writes and POSTs them to your
project's ingest endpoint.
Install
pip install cerebrum-cloud-push
Usage
Set the two required environment variables (from your Cerebrum Cloud project's Settings page):
export CEREBRUM_CLOUD_URL="https://<your-project-ref>.supabase.co"
export CEREBRUM_CLOUD_TOKEN="<per-project ingest token>"
Then, after a cerebrum run:
cerebrum-cloud-push # pushes the newest run in ./.cerebrum
cerebrum-cloud-push --run-id <id> # push a specific run
cerebrum-cloud-push --all # backfill every run in history.sqlite
cerebrum-cloud-push --cerebrum-dir path/to/.cerebrum
Or wire it directly into cerebrum.yaml so it runs automatically after every sweep:
after_run: cerebrum-cloud-push
CEREBRUM_CLOUD_URL accepts either the project's base URL or the full
.../functions/v1/ingest-run URL.
Compatibility note
The JSON payload this pushes to ingest-run is a contract between two independently
released artifacts — this package and the deployed Edge Function/DB schema. Coverage columns
(covered_lines, instrumented_lines, coverage_pct) are omitted rather than erroring when
pushing a run recorded by an older cerebrum engine that predates coverage persistence.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cerebrum_cloud_push-0.1.0.tar.gz.
File metadata
- Download URL: cerebrum_cloud_push-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20c6a62f2085485c6755feec4e149926d2f4b5e77e170a7ed4be82afde6fbcc0
|
|
| MD5 |
02cab05abe41408ec62068421f294f67
|
|
| BLAKE2b-256 |
0f8786d15e683be87538314d86b1ea18ac9a7e5798aa24a0d5ccaed823a7d19a
|
Provenance
The following attestation bundles were made for cerebrum_cloud_push-0.1.0.tar.gz:
Publisher:
publish-cloud-push.yml on islandhopper81/cerebrum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cerebrum_cloud_push-0.1.0.tar.gz -
Subject digest:
20c6a62f2085485c6755feec4e149926d2f4b5e77e170a7ed4be82afde6fbcc0 - Sigstore transparency entry: 2139464317
- Sigstore integration time:
-
Permalink:
islandhopper81/cerebrum@f6895fab53f1052a9f843ec8c6443365b42ce0f0 -
Branch / Tag:
refs/tags/cloud-push-v0.1.0 - Owner: https://github.com/islandhopper81
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cloud-push.yml@f6895fab53f1052a9f843ec8c6443365b42ce0f0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cerebrum_cloud_push-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cerebrum_cloud_push-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05979b31e2a5a16b1434e875b593acae22daee9ace7abfe5e92ffb09047012c4
|
|
| MD5 |
74a02ada58fd6ccbe66ea273d8eddfa6
|
|
| BLAKE2b-256 |
e5c8143dc39827cd4a880ed2389fa29e36b1b1df913a5f024751ed10cdd9a09e
|
Provenance
The following attestation bundles were made for cerebrum_cloud_push-0.1.0-py3-none-any.whl:
Publisher:
publish-cloud-push.yml on islandhopper81/cerebrum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cerebrum_cloud_push-0.1.0-py3-none-any.whl -
Subject digest:
05979b31e2a5a16b1434e875b593acae22daee9ace7abfe5e92ffb09047012c4 - Sigstore transparency entry: 2139464381
- Sigstore integration time:
-
Permalink:
islandhopper81/cerebrum@f6895fab53f1052a9f843ec8c6443365b42ce0f0 -
Branch / Tag:
refs/tags/cloud-push-v0.1.0 - Owner: https://github.com/islandhopper81
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cloud-push.yml@f6895fab53f1052a9f843ec8c6443365b42ce0f0 -
Trigger Event:
push
-
Statement type: