Skip to content

Conversation

@zawadzkidiana
Copy link
Contributor

Added validation in the domain handler to reject UpdateDomain requests when the domain status is DEPRECATED.

Why?

Deprecated domains should not be modified. Previously, UpdateDomain would accept requests for deprecated domains, which could lead to:

  • Unintended configuration changes to domains that are no longer in use
  • Confusion about domain lifecycle state
  • Potential issues during domain cleanup operations

How did you test it?

  • Added unit test TestUpdateDomain_DeprecatedDomain_ReturnsError to verify deprecated domains cannot be updated
  • Existing domain handler tests continue to pass
  • All 4626 tests in common/domain package pass

Potential risks

Low risk. This change only affects deprecated domains, which are not actively processing workflows. The change is defensive and prevents unintended modifications.

Normal domain operations (registered, active domains) are completely unaffected.

Release notes

  • Domain handler now rejects UpdateDomain requests for deprecated domains with a clear error message

@zawadzkidiana zawadzkidiana reopened this Nov 11, 2025
@zawadzkidiana zawadzkidiana force-pushed the fix/domain-handler-reject-deprecated branch from 3ed70f6 to f67ba93 Compare November 13, 2025 00:28
Copy link
Member

@timl3136 timl3136 left a comment

Choose a reason for hiding this comment

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

Why are we updating idl pointers here? the change in idl folder seems to be not related to your change

@zawadzkidiana
Copy link
Contributor Author

Hi Tim, you're right; I'll update this diff to only include the relevant files!

Signed-off-by: Diana Zawadzki <dzawa@live.de>
@zawadzkidiana zawadzkidiana force-pushed the fix/domain-handler-reject-deprecated branch from f67ba93 to 3866bf6 Compare December 15, 2025 17:11
@zawadzkidiana
Copy link
Contributor Author

Actually, I forgot: we implemented the fix herE already: #7427. I think this PR is unnecessary. Will double check and close.

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