Trace: verify Pi control-plane attestation at push

未關閉
#3,718 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
go

研究方向

Start by reading the Pi support baseline in #3704 and the existing attestation-at-push matrix and smoke-test entry points. Set up the authorized disposable control-plane workflow with pinned Pi, CLI, and model versions, then trace one commit through upload and signature verification. Done means the signed attestation matches the Pi run, rejected credentials cause no upload, push failure behavior matches both modes, and only this matrix cell is updated after live assertions pass.

由索引模型根據 Issue 內容生成。

描述

component/CLI component/controlplane trace-provider

Problem

Pi's attestation-at-push matrix cell is Unknown because the default local E2E suite writes unsigned local evidence and does not exercise a control-plane upload.

Scope

Add an opt-in, isolated Pi control-plane smoke that verifies a signed session attestation for a traced push. This issue covers only upload and cryptographic attestation; the other Pi notification cells are tracked separately.

Acceptance criteria

  • Provision an authorized disposable control-plane workflow; pin Pi, CLI, and model versions without using the local-only matrix runner.
  • Make one Pi-traced commit and push it; retrieve and cryptographically verify the signed attestation.
  • Match session ID, commit SHA, transcript, model, token usage, and attribution to the Pi run.
  • Rejected credentials produce no upload. --require-trace blocks a failed push while default mode remains fail-open.
  • Use event/state synchronization instead of fixed sleeps. Update only the attestation-at-push Pi matrix cell after the live assertions pass.

Non-goals

  • Pi welcome notification (#3722).
  • Credentials warning in Pi UI (#3723).
  • Session URL after push (#3724), which depends on a successful upload here.
  • Granting permission to a production Chainloop project or bypassing Pi project trust.

Baseline Pi support #3704. The original combined verification issue was narrowed to this one cell as part of the issue-first tracking pass.

主要語言
Go
星號
582
分支
61
平均合併
12 小時 47 分鐘
30 天內合併 PR
137

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

chainloop-dev/chainloop 的其他 Issue

查看 chainloop-dev/chainloop 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。