feat(provenance): publish each provenance bundle to Kubo, best effort
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- backend, distributed-systems
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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 aStorageReference. - 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.
- Vorherrschende Sprache
- Python
- Sterne
- 2
- Forks
- 4
- Ø Merge
- 6 Std. 14 Min.
- Gemergte PRs (30 T.)
- 18
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
QMeshPy/distributed-quantum#53 ·
Maintainer antworten meist innerhalb von 1 Tag
-
chain-integration enhancement payments research-spike tier-2
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
QMeshPy/distributed-quantum#78 ·
Maintainer antworten meist innerhalb von 1 Tag
-
chain-integration enhancement payments research-spike tier-2
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 66/100
QMeshPy/distributed-quantum#77 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue kubo storage tier-1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 42/100
QMeshPy/distributed-quantum#75 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement kubo storage tier-2
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
QMeshPy/distributed-quantum#74 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in QMeshPy/distributed-quantum
Ähnliche Issues
-
type-bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
push_gh-pages fails on master branch on forksEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offengood first issue infrastructure
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation priority: high
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
a-lex-s/mealie-telegram-bot#54 ·
Maintainer antworten meist innerhalb von 1 Tag