Skip to content

feat: add destroy lifecyclestate - #330

Merged
jithinkunjachan merged 4 commits into
mainfrom
feat/add-destroy
Dec 3, 2026
Merged

jithinkunjachan merged 4 commits into
mainfrom
feat/add-destroy

Conversation

@jithinkunjachan

@jithinkunjachan jithinkunjachan commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Add Destroy admin keys endpoint

Note: Rotate states will be added later

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99d55408-89d2-4a47-93ac-61e09e56f3ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@jithinkunjachan jithinkunjachan changed the title Feat/add destroy feat: add destroy lifecyclestate Dec 1, 2026
@jithinkunjachan jithinkunjachan self-assigned this Dec 1, 2026
@jithinkunjachan
jithinkunjachan marked this pull request as ready for review December 1, 2026 14:10
Comment thread integration/setup_test.go
return string(state) == r.GetKey().GetLifeCycleState() &&
string(status) == r.GetKey().GetKeyProcessingState().GetStatus()
},
time.Second*10,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Increasing time out as it sometimes fails in country level tests

Comment thread internal/orchestrator/handler.go Resolved
Comment on lines +351 to +353
model.KeyProcessingCompleted,
model.KeyProcessingPending,
model.KeyProcessingFailed,

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.

I think it would make sense to put these into a helper function

model.AllProcessingStates() reasoning whenever we add a filter it will be covered here

@jithinkunjachan
jithinkunjachan merged commit ebc1d3a into main Dec 3, 2026
9 checks passed
@jithinkunjachan
jithinkunjachan deleted the feat/add-destroy branch December 3, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants