Skip to content

fix(auth): add teams_manage scope and SearchFlakyTests unstable op#155

Merged
platinummonkey merged 1 commit intodatadog-labs:mainfrom
srosenthal-dd:fix/teams-manage-and-flaky-tests
Mar 4, 2026
Merged

fix(auth): add teams_manage scope and SearchFlakyTests unstable op#155
platinummonkey merged 1 commit intodatadog-labs:mainfrom
srosenthal-dd:fix/teams-manage-and-flaky-tests

Conversation

@srosenthal-dd
Copy link
Contributor

Summary

Remaining changes from PR #144 (by @wzoom) that weren't included in PR #153.

Changes

  • src/auth/types.rs — Add teams_manage OAuth scope for team create/update/delete operations (70 scopes total)
  • src/client.rs — Enable v2.search_flaky_tests as an unstable operation (65 total)

Context

PR #153 expanded OAuth coverage to 69 scopes but didn't include these two items from #144:

  • teams_manage — needed for on-call teams create/update/delete
  • v2.search_flaky_tests — needed for cicd flaky-tests search

Testing

  • cargo test — 342 passed
  • cargo clippy -- -D warnings — clean
  • cargo fmt --check — clean

Closes #144


🤖 Generated with Claude Code

Remaining changes from PR datadog-labs#144 that weren't covered by PR datadog-labs#153:
- Add teams_manage OAuth scope for team create/update/delete operations
- Enable v2.search_flaky_tests as an unstable operation

Co-Authored-By: Stephen Rosenthal <stephen.rosenthal@datadoghq.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@platinummonkey platinummonkey merged commit f0fb757 into datadog-labs:main Mar 4, 2026
6 checks passed
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