chore(deps): upgrade datadog-api-client to master HEAD 2026-05-29#539
Merged
Conversation
Bumps the SDK pin from v0.30.0 (aa0c8416) to the latest master commit (d4954b11) to pick up all changes through 2026-05-29. Breaking changes handled: - Remove deprecated incident teams endpoints (SDK #1572): removes pup incidents teams command and 5 unstable ops (167 → 162) Co-Authored-By: Claude <noreply@anthropic.com>
Wrap three new SDK endpoints introduced in datadog-api-client-rust PR #1655 (available at rev d4954b11 picked up by chore/upgrade-dd-sdk-to-master): - `pup llm-obs datasets batch-update` — batch insert/update/delete records via LLMObsDatasetBatchUpdateRequest / batch_update_llm_obs_dataset - `pup llm-obs datasets clone` — clone a dataset into a new dataset via LLMObsDatasetCloneRequest / clone_llm_obs_dataset - `pup llm-obs datasets restore` — restore a dataset to a previous version via LLMObsDatasetRestoreVersionRequest / restore_llm_obs_dataset_version Changes: - src/commands/llm_obs.rs: add datasets_batch_update, datasets_clone, datasets_restore functions; add 6 tests (happy-path + error for each) - src/main.rs: add BatchUpdate/Clone/Restore variants to LlmObsDatasetsActions and dispatch arms - src/client.rs: add 3 new unstable op IDs; update count assertion 162 → 165 - docs/COMMANDS.md: update llm-obs datasets command listing Co-Authored-By: Claude <noreply@anthropic.com> https://claude.ai/code/session_01MaHfvEkY66q99gwcPZi4Xc
…es search Exposes new SDK filter params from PRs #1568 and #1480: - --state: OPEN, ACKNOWLEDGED, RESOLVED, IGNORED, EXCLUDED - --team <UUID>: filter by team UUID assignee - --assignee <UUID>: filter by user UUID assignee Co-Authored-By: Claude <noreply@anthropic.com>
restore_llm_obs_dataset_version returns no body; binding its unit result tripped clippy::let_unit_value (-D warnings) and broke the Check/Test and Windows cross-compile jobs. Follow the delete pattern: call, then print a confirmation. Co-Authored-By: Claude <noreply@anthropic.com>
The batch-update/clone/restore tests built request JSON with stale field names (type "dataset_*", missing required id, wrong attribute keys), so util::read_json_file failed before the API call and the happy-path asserts panicked. Align bodies with the real SDK models: - data.id required; data.type is "datasets" - batch-update attrs use insert_records/delete_records - restore attr is dataset_version (not version) - batch-update response data is an array (LLMObsDatasetRecordsMutationResponse) Co-Authored-By: Claude <noreply@anthropic.com>
- pup cost oci-configs list: wraps ListCostOCIConfigs (SDK #1540) - pup cost anomalies list: wraps ListCostAnomalies (SDK #1588) Registers v2.list_cost_anomalies as an unstable op and adds the two API-key-only endpoints to the OAuth exclusion table. Co-Authored-By: Claude <noreply@anthropic.com>
- pup security findings mute: wraps MuteSecurityFindings (stable, SDK #1519/#1660) - pup security rules bulk-convert: wraps BulkConvertExistingSecurityMonitoringRules (#1675) Co-Authored-By: Claude <noreply@anthropic.com>
Wraps the Synthetics downtime endpoints (SDK #1518): - pup synthetics downtime list [--filters] - pup synthetics downtime create --file - pup synthetics downtime delete <id> Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
New pup annotations domain wrapping the Annotations API v2 (SDK #1631): list, get-page, create, update, delete. Registers the 5 annotation operations as unstable ops (162 -> 167). Co-Authored-By: Claude <noreply@anthropic.com>
- pup metrics tags list --window-seconds: lookback window param (SDK #1593) - pup metrics query-timeseries --file: v2 timeseries formula query, supporting cross_org_uuids per-query for cross-organisation reads (SDK #1564) Co-Authored-By: Claude <noreply@anthropic.com>
Annotations attach to a page (dashboard:<id> or notebook:<id>), so expose the actions under both `pup dashboards annotations` and `pup notebooks annotations` via a shared run_annotations dispatch, instead of a top-level `pup annotations` domain. Removing the top-level variant also fixes the alphabetical-order check in test_commands.rs. Co-Authored-By: Claude <noreply@anthropic.com>
The new `pup security findings mute` command calls mute_security_findings, which the Datadog API gates behind the security_monitoring_findings_write authorization scope. default_scopes() only requested security_monitoring_findings_read, so OAuth2 users would get a 403 on mute while API/app-key users (with full app-key permissions) succeeded. Add security_monitoring_findings_write to default_scopes() so `pup auth login` requests it. Left out of read_only_scopes() since it is a write scope. Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts: # src/client.rs
# Conflicts: # src/client.rs
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
Bumps the
datadog-api-clientRust SDK pin from v0.30.0 (aa0c8416) to the latest master commit (d4954b11, 2026-05-29), picking up all SDK changes through that date including v0.31.0 and ~25 unreleased commits on top.Changes
Cargo.toml:130-132— updated comment andrevtod4954b117c5451c0a8932dd0ad0db450fcb0989cCargo.lock— updateddatadog-api-cliententry from0.30.0/ old rev to0.31.0/ new revsrc/commands/incidents.rs— removedapi_incident_teamsimport andteams_list/get/create/update/deletefunctions + test (SDK PR #1572 removed theapi_incident_teamsmodule)src/main.rs— removedIncidentTeamActionsenum,Teamsvariant inIncidentActions, and the dispatch armsrc/client.rs— removed 5 incident-team entries fromUNSTABLE_OPS; updatedtest_unstable_ops_countassertion from 167 → 162Breaking changes handled
api_incident_teamsmodule removedpup incidents teamssubcommand and 5 unstable opsTesting
test_unstable_ops_countupdated to assert 162 (was 167)test_incident_teams_list(tested deleted code)🤖 Generated with Claude Code
Generated by Claude Code