Skip to content

docs(open_feature): address review feedback on coding guide#5989

Merged
Strech merged 7 commits into
masterfrom
tony.hsu/open-feature-agents-guide-followup
Jul 5, 2026
Merged

docs(open_feature): address review feedback on coding guide#5989
Strech merged 7 commits into
masterfrom
tony.hsu/open-feature-agents-guide-followup

Conversation

@TonyCTHsu

@TonyCTHsu TonyCTHsu commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?
Addresses outstanding review feedback on the OpenFeature coding guide from #5968, and sharpens the guide's own PR-related rules (test coverage requirement, clearer size/description boundaries). Also fixes the gemspec/release-spec exclusion so nested AGENTS.md/CLAUDE.md files don't ship in the packaged gem.

Motivation:
#5968 already merged with approvals, but reviewers left actionable feedback afterward that this PR resolves without having blocked that merge. The gemspec fix addresses an automated review comment: the nested guide files introduced here would otherwise ship in the gem.

Change log entry
None.

Additional Notes:
CLAUDE.md is committed (not a per-contributor symlink) so it works out of the box after clone, with AGENTS.md as the single source of truth via Claude Code's @path import syntax.

How to test the change?
Documentation only for the guide changes. For the gemspec/spec changes: bundle exec rspec spec/datadog/release_gem_spec.rb and ruby -e "puts Gem::Specification.load('datadog.gemspec').files.grep(/CLAUDE|AGENTS/)" (expect empty output).

…n, root pointer

Addresses review feedback from #5968: fix blank line after guard clause
(Strech), add Zeitwerk file-structure conventions section (Strech), link
the nested guide from the root AGENTS.md for tools that only walk down
from repo root (leoromanovsky), and trim the guide toward ~200 lines with
a must-follow checklist up front and examples moved lower (leoromanovsky).
@TonyCTHsu TonyCTHsu added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Jul 3, 2026
@TonyCTHsu TonyCTHsu requested review from a team as code owners July 3, 2026 07:37
@TonyCTHsu TonyCTHsu requested review from sameerank and typotter July 3, 2026 07:37

@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: 1b629cfa32

ℹ️ 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 datadog.gemspec Outdated
TonyCTHsu added 2 commits July 3, 2026 09:49
The open_feature guide's Tool note tells Claude Code users to symlink
AGENTS.md to CLAUDE.md in that directory; the gemspec filter only
excluded AGENTS.md, so that symlink would ship in the gem.
A symlink is fragile (relative target resolves from the link's own
directory, not the caller's cwd) and requires a manual per-contributor
step. A committed one-line `@AGENTS.md` import works out of the box
after clone and keeps a single source of truth.
@datadog-official

datadog-official Bot commented Jul 3, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 90.03% (+0.01%)

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

TonyCTHsu added 4 commits July 3, 2026 10:08
The Types section never stated the file-pairing requirement, and the
Style section had no corresponding "Must follow" bullet.
Splits the combined size/description bullet into two with clear
boundaries, links every Must-follow item to its detail section for
consistency, and adds an explicit test-coverage requirement backed by
a new Tests entry under Pull requests.
Backs the new Must-follow bullet with detail on when a change is
customer-observable provider behavior (Yes.) versus internal (None.).
@TonyCTHsu TonyCTHsu added this to the 2.37.0 milestone Jul 3, 2026
@TonyCTHsu TonyCTHsu enabled auto-merge July 3, 2026 15:25
@Strech Strech disabled auto-merge July 5, 2026 10:08
@Strech Strech merged commit 27692d5 into master Jul 5, 2026
591 of 592 checks passed
@Strech Strech deleted the tony.hsu/open-feature-agents-guide-followup branch July 5, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants