Skip to content

feat(ci): Warn instead of fail when values are orphaned#136

Merged
kenzoengineer merged 1 commit into
mainfrom
kenjiang/di-1997-remove-deletion-protection
Jun 8, 2026
Merged

feat(ci): Warn instead of fail when values are orphaned#136
kenzoengineer merged 1 commit into
mainfrom
kenjiang/di-1997-remove-deletion-protection

Conversation

@kenzoengineer
Copy link
Copy Markdown
Member

The current workflow for the new sentry-options when deleting an option involves:

  1. Remove its usage in code (.get())
  2. Remove the value in sentry-options-automator (values.yaml)
  3. Remove its definition in the schema (in the service repo)

This is a 3 step process that requires 3 separate PRs and is annoying for product engineers. By going back to how the old system works, this becomes:

  1. Remove its usage and definition in code
  2. Have the agent clean up its value in sentry-options-automator

This brings it down to 1 PR, much easier to digest.

We don't lose much safety because the only thing we were guarding against were stale values in the automator repo. We already have workaround for this today and see no problems, so I see no reason why we need to build extra guardrails.

stuff changed

  • Made it so the workflow only WARNS insted of FAILS CI
  • Updated the docs a tiny bit

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 5, 2026

DI-1997

@kenzoengineer kenzoengineer requested a review from joshuarli June 5, 2026 23:41
Comment thread .github/workflows/validate-schema.yml
@kenzoengineer kenzoengineer merged commit f448038 into main Jun 8, 2026
27 checks passed
@kenzoengineer kenzoengineer deleted the kenjiang/di-1997-remove-deletion-protection branch June 8, 2026 17:42
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