Skip to content

Validate non-empty tlds in refresh DNS action#3114

Merged
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:fix-refresh-dns-tlds-validation
Jun 30, 2026
Merged

Validate non-empty tlds in refresh DNS action#3114
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:fix-refresh-dns-tlds-validation

Conversation

@CydeWeys

@CydeWeys CydeWeys commented Jun 29, 2026

Copy link
Copy Markdown
Member

Add validation to RefreshDnsForAllDomainsAction to ensure the tlds parameter is not empty when invoked. Previously, invoking the action without specifying tlds would result in a no-op that logged an empty list and exited without error. This change makes missing tlds an explicit error, throwing an IllegalArgumentException so users running the command via nomulus curl receive clear feedback that the parameter is required.


This change is Reviewable

@CydeWeys CydeWeys requested a review from jicelhay June 29, 2026 17:57
@CydeWeys CydeWeys enabled auto-merge June 29, 2026 17:58
Add validation to RefreshDnsForAllDomainsAction to ensure the tlds parameter is not empty when invoked. Previously, invoking the action without specifying tlds would result in a no-op that logged an empty list and exited without error. This change makes missing tlds an explicit error, throwing an IllegalArgumentException so users running the command via nomulus curl receive clear feedback that the parameter is required.
@CydeWeys CydeWeys force-pushed the fix-refresh-dns-tlds-validation branch from 85c3443 to 9c36647 Compare June 30, 2026 15:30
@CydeWeys CydeWeys requested a review from ptkach June 30, 2026 15:30

@ptkach ptkach left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@ptkach reviewed 2 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jicelhay).

@CydeWeys CydeWeys added this pull request to the merge queue Jun 30, 2026
Merged via the queue into google:master with commit 4aeba6e Jun 30, 2026
16 checks passed
@CydeWeys CydeWeys deleted the fix-refresh-dns-tlds-validation branch June 30, 2026 18:50
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