Skip to content

Use standalone ratsd-token modules - #105

Merged
THS-on merged 2 commits into
mainfrom
ratsd-toekn
Oct 21, 2026
Merged

THS-on merged 2 commits into
mainfrom
ratsd-toekn

Conversation

@cowbon

@cowbon cowbon commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

RATSD currently imports its bundled legacy and v2 token libraries through local
module replacements. Switch the API and its tests to github.com/veraison/ratsd-token
and github.com/veraison/ratsd-token/v2, pinning both modules to standalone commit
93500f814d56, which matches the existing implementations.

Remove the duplicate in-repository modules and local replacements, record the
standalone module checksums, and document the external dependencies in the README.

Validation:

  • go test -mod=readonly ./api
  • go test -mod=readonly -race ./...
  • go build -mod=readonly ./...
  • git diff --check

Switch legacy and v2 token imports to github.com/veraison/ratsd-token and pin both modules to commit 93500f814d56. Remove the duplicate local modules and replacements, refresh checksums, and document the standalone dependencies.

Signed-off-by: Ian Chin Wang <ian.chin.wang@oracle.com>
@cowbon
cowbon requested a review from a team October 20, 2026 17:45
@cowbon
cowbon requested a review from a team as a code owner October 20, 2026 17:45
Comment thread README.md Outdated

@yogeshbdeshpande yogeshbdeshpande 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.

Left one minor comment, but LGTM!

Signed-off-by: Ian Chin Wang <ian.chin.wang@oracle.com>

Co-authored-by: Yogesh Deshpande <yogesh.deshpande@arm.com>
@cowbon

cowbon commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

Left one minor comment, but LGTM!

Thanks @yogeshbdeshpande for pointing out to need to explicitly say they are "attestation" tokens. As veraison/ratsd-token#1 contains the code factored out from with this PR, it might be worth to review it together as well.

@THS-on THS-on left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for factoring this out!

@THS-on
THS-on merged commit d9c59da into main Oct 21, 2026
2 checks passed
@cowbon
cowbon deleted the ratsd-toekn branch October 21, 2026 12:30
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.

3 participants