Skip to content

deploy: github_deploy lists attestation lines for crates_deploy and maven_deploy artifacts (part of #7434) - #13089

Merged
TrapsterDK merged 1 commit into
mainfrom
issue-7434-attestations
Nov 17, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
issue-7434-attestations

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #7434.

  • github_deploy(registry_deploys = [...], attach = True): takes crates_deploy / maven_deploy targets (new DxRegistryArtifactsInfo provider forwarded by dx_deployment).
  • The deploy tool appends a ## Attestations section to the release body with one gh attestation verify <file> -R $GITHUB_REPOSITORY line per .crate (version from the manifest) and per maven file; a live run fails without GITHUB_REPOSITORY. The dry run prints the section.
  • attach = True uploads the maven files as release assets, so the release workflow attests them.
  • Fixture //deploy/private:github_attested + analysis test github_attestation; Rust tests for the section, config parsing and a fixture dry-run release body with one line per registry artifact.

Remaining:

  • attach for .crate: no pinned .crate is built at analysis time (crates_deploy packages via cargo publish), so crate lines verify only once a hermetic .crate build is attached.

Tests: //deploy/private:dx_deploy_tools_test, github_attestation, github_unit, crates_config_content, maven_unit pass locally. dx check --affected generate fails in untouched deploy/private/release/tests (pre-existing); format and lint on //deploy/private:all clean for touched files. Nested-Bazel/consumer tests not run.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K

…aven_deploy artifacts (part of #7434)

github_deploy(registry_deploys = [...]) appends a "## Attestations" section to
the release body with one gh attestation verify line per .crate and per
maven_deploy file; attach = True uploads the maven files as release assets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
@TrapsterDK
TrapsterDK force-pushed the issue-7434-attestations branch from cc708bb to 848bb59 Compare November 17, 2026 17:05
@TrapsterDK
TrapsterDK merged commit b16f774 into main Nov 17, 2026
@TrapsterDK
TrapsterDK deleted the issue-7434-attestations branch November 17, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant