Skip to content

Support latest dev env update#270

Open
ofek wants to merge 1 commit intomainfrom
ofek/dev-env-updates
Open

Support latest dev env update#270
ofek wants to merge 1 commit intomainfrom
ofek/dev-env-updates

Conversation

@ofek
Copy link
Copy Markdown
Contributor

@ofek ofek commented May 1, 2026

This makes the Linux developer environments only support versions of the image after DataDog/datadog-agent-buildimages#1089.

Release strategy

Rather than introduce temporary backward compatibility hacks in both the image and our tooling we will release both in lockstep.

  1. Merge this
  2. Create a release PR updating the CHANGELOG.md and merge that
  3. Merge the image update
  4. Wait for CI to publish the images and then cut a release here

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented May 1, 2026

🎯 Code Coverage (details)
Patch Coverage: 96.00%
Overall Coverage: 71.11% (-0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 8f0ed26 | Docs | Datadog PR Page | Give us feedback!

@ofek ofek marked this pull request as ready for review May 1, 2026 07:11
@ofek ofek requested a review from a team as a code owner May 1, 2026 07:11
Copy link
Copy Markdown

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

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: 30d6fe8b20

ℹ️ 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 src/dda/env/dev/types/linux_container.py
Comment thread src/dda/env/dev/types/linux_container.py
@ofek ofek force-pushed the ofek/dev-env-updates branch from 30d6fe8 to 8f0ed26 Compare May 4, 2026 13:47
Copy link
Copy Markdown
Contributor

@Ishirui Ishirui left a comment

Choose a reason for hiding this comment

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

🚀🚀🚀

Comment on lines +402 to +403
# Root cache directory
Mount(type="volume", path="/var/cache/dd", source=self.get_volume_name("cache")),
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.

IIUC, we're now using a single volume for all caches rather than one volume per cache type - can you explain why this is ?

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.

This is for better discoverability and cache management. Rather than separate volumes, there is one hierarchical tree with permissions that are applied recursively. It makes everything easier!

return []

return ["-v", f"{global_shared_dir / 'shell' / 'starship.toml'}:/root/.shared/shell/starship.toml"]
return ["-v", f"{global_shared_dir / 'shell' / 'starship.toml'}:/.shared/shell/starship.toml"]
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.

Why not /home/dd/.shared/... ?

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.

This is used by our tooling at startup and ideally shouldn't be seen by users.

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