Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cerebrum_cloud_push-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cerebrum_cloud_push-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for cerebrum_cloud_push-0.1.0.tar.gz
Algorithm Hash digest
SHA256 20c6a62f2085485c6755feec4e149926d2f4b5e77e170a7ed4be82afde6fbcc0
MD5 02cab05abe41408ec62068421f294f67
BLAKE2b-256 0f8786d15e683be87538314d86b1ea18ac9a7e5798aa24a0d5ccaed823a7d19a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cerebrum_cloud_push-0.1.0.tar.gz:

Publisher: publish-cloud-push.yml on islandhopper81/cerebrum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cerebrum_cloud_push-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cerebrum_cloud_push-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05979b31e2a5a16b1434e875b593acae22daee9ace7abfe5e92ffb09047012c4
MD5 74a02ada58fd6ccbe66ea273d8eddfa6
BLAKE2b-256 e5c8143dc39827cd4a880ed2389fa29e36b1b1df913a5f024751ed10cdd9a09e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page