Skip to content

Ruby: Enable OTel Thread Context test - #8643

Open
y9v wants to merge 1 commit into
mainfrom
yury.lebedev/ruby-enable-context-sharing-test
Open

y9v wants to merge 1 commit into
mainfrom
yury.lebedev/ruby-enable-context-sharing-test

Conversation

@y9v

@y9v y9v commented Nov 23, 2026

Copy link
Copy Markdown
Member

Motivation

Ruby tracer supports OTel Thread Context since v2.47.0.

Changes

Enable the OTel Thread Context test and add an endpoint for it (on Rails 8.0 weblog).

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Tests, manifest, weblog are modified -> you'll need a review from system-tests-reviewers: ask to one of youre co-worker familiar with the tested feature.
    • Framework is modified, or non obvious usage of it -> get a review from system-tests-core (slack)

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

@y9v y9v self-assigned this Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/ruby.yml                                                      @DataDog/system-tests-reviewers
utils/build/docker/ruby/rails80/app/controllers/system_test_controller.rb  @DataDog/system-tests-reviewers
utils/build/docker/ruby/rails80/config/routes.rb                        @DataDog/system-tests-reviewers

@y9v
y9v marked this pull request as ready for review November 23, 2026 12:41
@y9v
y9v requested a review from a team as a code owner November 23, 2026 12:41
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T12:43:50.426892Z 7e726ca Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 7e726ca591

ℹ️ 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 manifests/ruby.yml
tests/cws/test_thread_context_sharing.py::Test_ThreadContextSharing: missing_feature (missing /security/thread_context_sharing endpoint on weblog)
tests/cws/test_thread_context_sharing.py::Test_ThreadContextSharing:
- weblog_declaration:
"*": irrelevant (only tested in one framework)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Mark missing Ruby endpoints as incomplete test applications

For Ruby weblogs other than rails80, the limitation is a missing /security/thread_context_sharing endpoint, not an inapplicable tracer feature: searching the committed Ruby weblog tree finds the endpoint only in rails80. The wildcard now reports those incomplete applications as irrelevant, obscuring the actual coverage gap. Per META-003 and META-006, retain the single-framework activation but use incomplete_test_app (missing /security/thread_context_sharing endpoint) for the wildcard.

AGENTS.md reference: AGENTS.md:L48-L48

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
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.

1 participant