Skip to content

RUM-14903: Add basic AI dev tooling#3243

Merged
aleksandr-gringauz merged 2 commits into
developfrom
aleksandr-gringauz/RUM-14903/add-basic-ai-tooling
Mar 9, 2026
Merged

RUM-14903: Add basic AI dev tooling#3243
aleksandr-gringauz merged 2 commits into
developfrom
aleksandr-gringauz/RUM-14903/add-basic-ai-tooling

Conversation

@aleksandr-gringauz

@aleksandr-gringauz aleksandr-gringauz commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Adding some basic files for AI assisted development.

  1. AGENTS.md + CLAUDE.md. Some concise information about how to build and work with the project. This file was produced during a discussion with Claude where I asked it to write this file and only include those things that it finds useful to be there so that these things can help it work better next time. I don't have any way to measure if this content will actually help or not.
  2. Introduced .mcp.json file that is understood by both Claude and Cursor.
  3. Added datadog mcp. Both the core tool set and some other internal tool sets. Very useful to investigate internal telemetry logs and errors. Requires extra sign in.
  4. Added mobile mcp. It can interact with the apps on your phone or emulator. Useful for example when testing some code changes in the sample app using Cursor or Claude. It can launch the app and click on things automatically.
  5. Added settings.json file for claude that contains some permission settings for this project.

@aleksandr-gringauz
aleksandr-gringauz requested review from a team as code owners March 6, 2026 16:55
@aleksandr-gringauz
aleksandr-gringauz marked this pull request as draft March 6, 2026 16:56
@aleksandr-gringauz
aleksandr-gringauz force-pushed the aleksandr-gringauz/RUM-14903/add-basic-ai-tooling branch from 6aae9b9 to df939aa Compare March 6, 2026 17:12
@datadog-datadog-prod-us1-2

This comment has been minimized.

@codecov-commenter

codecov-commenter commented Mar 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.40%. Comparing base (f793454) to head (f6112a4).
⚠️ Report is 6 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3243   +/-   ##
========================================
  Coverage    71.40%   71.40%           
========================================
  Files          938      938           
  Lines        34667    34667           
  Branches      5874     5874           
========================================
  Hits         24752    24752           
- Misses        8265     8277   +12     
+ Partials      1650     1638   -12     

see 40 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aleksandr-gringauz
aleksandr-gringauz force-pushed the aleksandr-gringauz/RUM-14903/add-basic-ai-tooling branch from df939aa to 8982b65 Compare March 7, 2026 11:16
@aleksandr-gringauz
aleksandr-gringauz force-pushed the aleksandr-gringauz/RUM-14903/add-basic-ai-tooling branch from 8982b65 to b3da09a Compare March 7, 2026 11:28
Comment thread .claude/settings.json
Comment on lines +5 to +17
"Bash(ls:*)",
"Bash(find:*)",
"Bash(rg:*)",
"Bash(xargs rg:*)",
"Bash(grep:*)",
"Bash(sed:*)",
"Bash(awk:*)",
"Bash(cat:*)",
"Bash(git fetch:*)",
"Bash(git status:*)",
"Bash(git log:*)",
"Bash(git diff:*)",
"Bash(git show:*)",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These commands don't do anything dangerous, most of them just read things, so I think it is safe to allow Claude to execute them without explicitly asking for permission.

Comment thread .claude/settings.json
Comment on lines +18 to +19
"Bash(ktlint:*)",
"Bash(./gradlew *)"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These are android specific commands that are used to build code.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would say this one is less safer than others:

  • it can be against what you commented above - it can write, modify and delete stuff such as compiling, cleaning ,etc.. (which is ok-ish though)
  • it basically allows all kinds of gradle task that we don't know if they are safe or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, you are correct. I should have been more explicit about it. Executing a random gradle command can definitely delete and edit things. In my comment I was referring to the Bash commands.

However I still think that including ./gradlew here is fine in the context of Android SDK development.

Comment thread .claude/settings.json
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": [

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I decided not to include:

  1. Any permissions related to writing.
  2. Permissions from datadog mcp and mobile mcp.

Datadog MCP for example has some tools that change things. Some people might want to better control what tools Claude executes and explicitly grant permissions.

We can change it at any time.

@aleksandr-gringauz
aleksandr-gringauz marked this pull request as ready for review March 7, 2026 11:35

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3da09aacf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .mcp.json
ambushwork
ambushwork previously approved these changes Mar 9, 2026
Comment thread .claude/settings.json
Comment on lines +18 to +19
"Bash(ktlint:*)",
"Bash(./gradlew *)"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would say this one is less safer than others:

  • it can be against what you commented above - it can write, modify and delete stuff such as compiling, cleaning ,etc.. (which is ok-ish though)
  • it basically allows all kinds of gradle task that we don't know if they are safe or not.

Comment thread AGENTS.md
hamorillo
hamorillo previously approved these changes Mar 9, 2026

@hamorillo hamorillo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀 LGTM! Left some minor question/suggestion.

Comment thread AGENTS.md

@mariusc83 mariusc83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice PR, could we have something also in there about how to run the end-to-end tests and the integration tests ?

@aleksandr-gringauz
aleksandr-gringauz dismissed stale reviews from hamorillo and ambushwork via f6112a4 March 9, 2026 11:59
@aleksandr-gringauz

aleksandr-gringauz commented Mar 9, 2026

Copy link
Copy Markdown
Contributor Author

Nice PR, could we have something also in there about how to run the end-to-end tests and the integration tests ?

Nice PR, could we have something also in there about how to run the end-to-end tests and the integration tests ?

done. But only for integration tests. E2E are run on synthetics.

@aleksandr-gringauz
aleksandr-gringauz merged commit 0e4b00a into develop Mar 9, 2026
26 checks passed
@aleksandr-gringauz
aleksandr-gringauz deleted the aleksandr-gringauz/RUM-14903/add-basic-ai-tooling branch March 9, 2026 16:30
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.

5 participants