Skip to content

refactor(api): rename attestation mode to TEE variant#808

Merged
kvinwang merged 1 commit into
masterfrom
codex/tee-variant-api
Jul 22, 2026
Merged

refactor(api): rename attestation mode to TEE variant#808
kvinwang merged 1 commit into
masterfrom
codex/tee-variant-api

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Summary

  • rename KMS Auth API attestationMode to teeVariant
  • rename Onboard.GetAttestationInfo.attestation_mode to tee_variant while preserving protobuf field number 4
  • rename verifier details.attestation_mode and policy boot info to tee_variant / teeVariant
  • update the onboarding UI, auth-simple schema/tests, runbooks, and API documentation

Compatibility

This intentionally changes the JSON/source API names. The protobuf field number remains 4, so protobuf binary wire compatibility is preserved for GetAttestationInfo.

Validation

  • cargo check --workspace
  • cargo test -p dstack-kms -p dstack-verifier -p dstack-attest
  • strict Clippy for the affected Rust crates

bun run check was not run because Bun is not installed in the development environment.

Stack

Stacked on #806; merge that PR first.

Copilot AI review requested due to automatic review settings July 22, 2026 01:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Base automatically changed from codex/external-attestation-root-ca to master July 22, 2026 04:00
@kvinwang
kvinwang force-pushed the codex/tee-variant-api branch from 4ade4cd to 73281c3 Compare July 22, 2026 04:02
@kvinwang
kvinwang force-pushed the codex/tee-variant-api branch from 73281c3 to 27cc12d Compare July 22, 2026 04:08
@kvinwang
kvinwang merged commit 15b3fd3 into master Jul 22, 2026
15 checks passed
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.

2 participants