Skip to content

Conversation

@amortemousque
Copy link
Collaborator

@amortemousque amortemousque commented Jan 30, 2026

Motivation

Extend the source code context feature to support manual views and duration vitals. This PR adds support for manually triggered views (startView()) and duration vitals (startDurationVital()/addDurationVital()).

Changes

  1. Add handlingStack to vital and view domain context
  2. Capture handling stack in startView() and `startDurationVital()``
  3. Add e2e test in microfrontend.scenario.ts

Test instructions

yarn test:e2e -g "manual views should have service and version from source code context|duration vitals should have service and version from source code context"

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@amortemousque amortemousque requested a review from a team as a code owner January 30, 2026 14:15
Copy link

@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: 557014b2a1

ℹ️ 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".

@amortemousque amortemousque force-pushed the aymeric/source-code-context-vital-view branch from 557014b to 817fd47 Compare January 30, 2026 15:59
@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Jan 30, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 167.98 KiB 168.26 KiB +288 B +0.17%
Rum Profiler 4.32 KiB 4.32 KiB 0 B 0.00%
Rum Recorder 24.54 KiB 24.54 KiB 0 B 0.00%
Logs 56.25 KiB 56.25 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 124.88 KiB 125.14 KiB +268 B +0.21%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance

Pending...

🧠 Memory Performance

Pending...

🔗 RealWorld

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jan 30, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: cdc1bdc | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@amortemousque amortemousque force-pushed the aymeric/source-code-context-vital-view branch from 817fd47 to cdc1bdc Compare January 30, 2026 16:10
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