Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(provenance): publish each provenance bundle to Kubo, best effort

Aperta
#67 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by reading the implementation of record_run_provenance, the Kubo client, and StorageReference; the issue does not name their files or tests. Trace how a completed run stores its canonical bundle and how failures are recorded, then run the backend tests with a failing Kubo mock. Done means successful uploads are retrievable by CID, while Kubo failures preserve the run result and mark the bundle unpublished.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement kubo storage tier-2

Summary

After a provenance bundle is recorded, add it to the platform node and store the CID as a StorageReference.

Estimated size: M

Motivation

Gives bundles a content-addressed home that anyone can verify against the bundle hash.

Proposal

  • After record_run_provenance, add the canonical bundle JSON through the Kubo client and append a StorageReference.
  • Best effort: a Kubo failure is logged and flagged on the run; it never fails the job or discards the result.
  • The CID covers the uploaded JSON bytes, not the canonical commitment, so verification must parse the bundle and compare bundle_hash.

Acceptance criteria

  • A completed run has a bundle retrievable by its CID.
  • With Kubo down, the run still completes and the bundle is marked unpublished.
  • A test proves the job result is preserved when publishing fails.

Dependencies

  • #61
  • #4 and the provenance PRs (#34 to #37) merged first.

Testing plan

  • Backend tests with a failing Kubo mock.

Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.

Lingua principale
Python
Stelle
2
Fork
4
Merge medio
5h 19m
PR unite (30g)
11

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QMeshPy/distributed-quantum

Tutte le issue di QMeshPy/distributed-quantum

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.