Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coordinator: enable returning seed to user #604

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

burgerdev
Copy link
Contributor

@burgerdev burgerdev commented Jun 18, 2024

This PR consolidates Authority.setManifest (authority) and Authority.SetManifest (userapi) after the refactoring in #583. This is more or less a move of the function body from one file to another, except that the generated seed could now be returned to the user (for that to work, however, bae8e7f needs to change the Manifest definition first).

I tried to ensure that all test cases removed from authority_test.go are reflected in userapi_test.go, and it turned out we already covered most of it there.

@burgerdev burgerdev added the no changelog PRs not listed in the release notes label Jun 18, 2024
@burgerdev burgerdev force-pushed the burgerdev/move-userapi branch from a7335ce to cf571cd Compare June 19, 2024 06:14
Base automatically changed from burgerdev/move-userapi to main June 19, 2024 06:23
@burgerdev burgerdev force-pushed the burgerdev/seed-to-user branch from 7d7610a to 9ea2a06 Compare June 19, 2024 11:16
@burgerdev burgerdev changed the title coordinator: move setManifest into SetManifest coordinator: return seed to user Jun 19, 2024
@burgerdev burgerdev force-pushed the burgerdev/seed-to-user branch from 9ea2a06 to cbdf93f Compare June 19, 2024 11:26
@burgerdev burgerdev changed the title coordinator: return seed to user coordinator: enable returning seed to user Jun 19, 2024
@burgerdev burgerdev marked this pull request as ready for review June 19, 2024 11:59
@burgerdev burgerdev requested a review from katexochen as a code owner June 19, 2024 11:59
Copy link
Member

@katexochen katexochen left a comment

Choose a reason for hiding this comment

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

Really hard to evaluate to overall picture with all the open todos. We should do a final review after we have everything merged.

coordinator/internal/authority/userapi.go Outdated Show resolved Hide resolved
@katexochen katexochen self-assigned this Jun 20, 2024
@burgerdev burgerdev force-pushed the burgerdev/seed-to-user branch from cbdf93f to 4e562fc Compare June 20, 2024 12:24
@burgerdev burgerdev merged commit 8c88a24 into main Jun 20, 2024
8 checks passed
@burgerdev burgerdev deleted the burgerdev/seed-to-user branch June 20, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants