Repository navigation
fix(controller): create a missing signing key - #112
Merged
Merged
Conversation
Contributor
Author
|
Standards review: changes requested. 1 violation.
The task, its comment and the Specs link (specs#708) otherwise pass. Note: it must merge right after osapi#1708, as its description says. |
osapi#1708 makes secret update of a key that is not there a 404, and adds secret create. The vault task creates a key that the vault does not hold, and updates a key with a different value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
retr0h
force-pushed
the
fix/secret-create-missing-key
branch
from
November 28, 2026 01:25
2ce8b25 to
6701b74
Compare
Contributor
Author
|
Standards review: approved. The title is now 45 characters; the task, its comment and the Specs link passed my earlier review. |
Contributor
Author
|
Code review: approved Checked: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends: osapi-io/osapi#1708
Specs: osapi-io/specs#708
osapi#1708 (for osapi#1666) makes
osapi client secret updateof a key that is not there a 404, and addsosapi client secret create. The controller role's vault task wrote each signing key withupdate, also when the vault did not hold it. After #1708 that first write fails.The task now runs
createwhenrevealfails (the vault does not hold the key) andupdatewhen the vault holds a different value. A create of a key with a different value is 409, so it cannot be used for both.Order: merge right after osapi#1708. Before it,
secret createdoes not exist. After it, without this, a deploy after a teardown fails at the first write.Checks:
just test(ansible-lint production profile, 0 failures; packer fmt).Not run on the lab yet: it runs after osapi#1708 merges, with
just bump controller. A first write after a teardown needsjust deploy; I will not run a teardown without the owner.🤖 Generated with Claude Code