feat!: restructure CLI to ddog with domain-first commands and fix release workflow - #4
Merged
Merged
Conversation
Configures release-please to use RELEASE_PLEASE_TOKEN instead of the default GITHUB_TOKEN. This allows PRs created by release-please to trigger CI workflows, which was previously blocked by GitHub's security policy that prevents GITHUB_TOKEN from triggering workflows on bot-created PRs.
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.
Summary
This PR restructures the CLI from
dd-searchtoddogwith a domain-first command pattern and fixes the release-please workflow to properly trigger CI checks on automated PRs.Breaking Changes
Command structure has changed to domain-first pattern. All commands now require both a domain and action verb:
dd-search logs "<query>"→ddog logs search "<query>"dd-search spans "<query>"→ddog spans search "<query>"dd-search metrics "<query>"→ddog metrics query "<query>"dd-search list-metrics→ddog metrics listChanges
Features
cli.rsinto modular structure (cli/{args,logs,metrics,shared,spans}.rs)dd-searchtoddogthroughout codebaseBug Fixes
RELEASE_PLEASE_TOKENinstead ofGITHUB_TOKENto properly trigger CI checks on automated release PRsDocumentation
Impact
dd-search-*toddog-*Testing